<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="x-apple-disable-message-reformatting">
    <title>Welcome Email</title>
    <style>
      @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

      :root {
        --primary: #ff6b35;
        --primary-dark: #cc552b;
        --dark: #1a1a1a;
      }

      body {
        margin: 0;
        padding: 0;
        background: #f8f9fa;
        font-family: "Inter", sans-serif;
      }

      .email-container {
        max-width: 640px;
        margin: 20px auto;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      }

      .hero-header {
        background: linear-gradient(
          135deg,
          var(--primary-dark) 0%,
          var(--primary) 100%
        );
        padding: 40px 30px;
        text-align: center;
        position: relative;
      }

      .header-content {
        position: relative;
        z-index: 2;
      }

      .logo {
        width: 160px;
        margin-bottom: 30px;
      }

      .geometric-pattern {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.1;
        top: 0;
        left: 0;
        background-image: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="50" height="50" x="25" y="25" fill="%23ffffff"/></svg>');
      }

      .main-content {
        padding: 40px 30px;
      }

      .section-title {
        color: var(--dark);
        font-size: 24px;
        margin-bottom: 25px;
        position: relative;
        padding-left: 20px;
      }

      .section-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 24px;
        background: var(--primary);
        border-radius: 3px;
      }

      .feature-card {
        background: #fff5f2;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
      }

      .feature-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        background: var(--primary);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .cta-button {
        display: inline-block;
        background: var(--primary);
        color: white !important;
        padding: 14px 32px;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 600;
        transition: transform 0.2s;
        margin: 25px 0;
      }

      .cta-button:hover {
        transform: translateY(-2px);
      }

      .footer {
        background: var(--dark);
        color: white;
        padding: 30px;
        text-align: center;
      }

      .social-link {
        margin: 0 8px;
        transition: opacity 0.2s;
      }

      .social-link:hover {
        opacity: 0.8;
      }

      @media (max-width: 640px) {
        .email-container {
          margin: 0;
          border-radius: 0;
        }

        .feature-card {
          flex-direction: column;
          text-align: center;
        }

        .feature-icon {
          margin: 0 0 15px 0;
        }
      }
    </style>
  </head>
  <body>
    <div class="email-container">
      <div class="hero-header">
        <div class="geometric-pattern"></div>
        <div class="header-content">
          <!-- <img src="[LOGO_URL]" class="logo" alt="G.E.A.S" /> -->
          <h1 style="color: white; margin: 0; font-size: 28px">G.E.A.S</h1>
          <h1 style="color: white; margin: 0; font-size: 20px">
            Global Ecommerce Arbitrage Store
          </h1>
        </div>
      </div>

      <div class="main-content">
        @if(count($preActionLines) > 0) 
        @foreach($preActionLines as $line)
        <p>{{ $line }}</p>
        @endforeach 
        @endif 
        
        @if(count($action) > 0)
        <div style="text-align: center">
          <a href="{{ $action[1] }}" class="cta-button">{{ $action[0] }}</a>
        </div>
        @endif

        @if(count($postActionLines) > 0) 
        @foreach($postActionLines as $line)
        <p>{{ $line }}</p>
        @endforeach 
        @endif 
        
      </div>

      <div class="main-content">
        <h2 class="section-title">Updates</h2>

        <div class="feature-card">
          <div class="feature-icon">
            <div style="width: 24px; filter: brightness(0) invert(1)"></div>
          </div>
          <div>
            <h3 style="margin: 0 0 8px 0; color: var(--dark)">
              Vendor Application
            </h3>
            <p style="margin: 0; color: #666; line-height: 1.5">
              Apply to become a vendor and setup your store
            </p>
          </div>
        </div>

        <div class="feature-card">
          <div class="feature-icon">
            <div style="width: 24px; filter: brightness(0) invert(1)"></div>
          </div>
          <div>
            <h3 style="margin: 0 0 8px 0; color: var(--dark)">
              24/7 Technical Support
            </h3>
            <p style="margin: 0; color: #666; line-height: 1.5">
              Our expert team is always ready to assist your operations.
            </p>
          </div>
        </div>

        <div style="text-align: center">
          <a href="https://ge-as.support" class="cta-button"
            >View All Solutions</a
          >
        </div>
      </div>

      <div class="footer">
        <div style="margin-bottom: 20px">
          <a
            href="https://facebook.com/globalecommercearbitragestore"
            class="social-link"
          >
            <img
              src="https://s.magecdn.com/social/tc-facebook.svg"
              alt="Facebook"
              style="height: 24px"
            />
          </a>
          <a href="https://linkedin.com" class="social-link">
            <img
              src="https://s.magecdn.com/social/tc-linkedin.svg"
              alt="LinkedIn"
              style="height: 24px"
            />
          </a>
          <a href="https://x.com/C2C_STORE" class="social-link">
            <img
              src="https://s.magecdn.com/social/tc-x.svg"
              alt="Twitter"
              style="height: 24px"
            />
          </a>
        </div>

        <p style="margin: 8px 0; font-size: 14px; color: #999">
          G.E.A.S<br />
          G.E.A.S accommodates both novice and pro store owners. Generate
          massive sales on autopilot by leveraging on cutting-edge technology
          which merges AI and ecommerce.
        </p>

        <p style="font-size: 12px; color: #777">
          &copy, {{ date('Y') }} G.E.A.S. All rights reserved.<br />
          <a
            href="https://ge-as.support"
            style="color: var(--primary); text-decoration: none"
            >Unsubscribe</a
          >
          |
          <a
            href="https://ge-as.support/Privacy-policy"
            style="color: var(--primary); text-decoration: none"
            >Privacy Policy</a
          >
        </p>
      </div>
    </div>
  </body>
</html>
