* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0b1c2d;
    --text: #e8edf2;
    --accent: #f4c430;
    --muted: #9fb0c2;
  }

  /* Light mode */
  body.light {
    --bg: #f5f9ff;
    --text: #0b1c2d;
    --accent: #f4c430;
    --muted: #5f6f85;
  }


  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
  }

  code, pre, .monospace {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Fira Code', monospace;
  }

  /* Logo */
  .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}


  .brand img {
    height: 32px;
    width: auto;
  }

  .brand span {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
    opacity: 0.9;
  }

  .container {
    flex: 1;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  /* Fluid background animation */
  .container::before,
  .container::after {
    content: "";
    position: absolute;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
  }

  .container::before {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(160, 120, 10, 0.8) 0%, transparent 70%);
    top: 0;
    left: 0;
    animation: morph1 10s ease-in-out infinite;
  }

  .container::after {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(140, 100, 5, 0.7) 0%, transparent 70%);
    bottom: 0;
    right: 0;
    animation: morph2 8s ease-in-out infinite;
  }

  body.light .container::before {
    opacity: 0.4;
  }

  body.light .container::after {
    opacity: 0.35;
  }

  .container > * {
    position: relative;
    z-index: 1;
  }

  @keyframes morph1 {
    0%, 100% {
      border-radius: 95% 5% 5% 95% / 80% 5% 95% 20%;
      transform: translate(-20%, -20%) scale(1) rotate(0deg) skew(0deg);
    }
    12% {
      border-radius: 5% 95% 90% 10% / 20% 90% 5% 95%;
      transform: translate(15%, -5%) scale(1.1) rotate(8deg) skew(5deg);
    }
    25% {
      border-radius: 95% 15% 70% 90% / 5% 70% 95% 10%;
      transform: translate(50%, 5%) scale(0.9) rotate(-5deg) skew(-8deg);
    }
    37% {
      border-radius: 10% 90% 95% 5% / 95% 10% 20% 90%;
      transform: translate(75%, 40%) scale(1.15) rotate(12deg) skew(3deg);
    }
    50% {
      border-radius: 90% 5% 10% 95% / 15% 95% 85% 5%;
      transform: translate(60%, 70%) scale(0.95) rotate(-8deg) skew(-5deg);
    }
    62% {
      border-radius: 5% 85% 95% 15% / 90% 5% 10% 95%;
      transform: translate(25%, 50%) scale(1.1) rotate(6deg) skew(7deg);
    }
    75% {
      border-radius: 95% 10% 5% 90% / 5% 85% 95% 15%;
      transform: translate(-5%, 25%) scale(1) rotate(-10deg) skew(-3deg);
    }
    87% {
      border-radius: 15% 95% 85% 5% / 95% 15% 5% 85%;
      transform: translate(-15%, 0%) scale(1.05) rotate(5deg) skew(4deg);
    }
  }

  @keyframes morph2 {
    0%, 100% {
      border-radius: 10% 90% 95% 5% / 70% 10% 90% 80%;
      transform: translate(20%, 20%) scale(1) rotate(0deg) skew(0deg);
    }
    12% {
      border-radius: 95% 5% 20% 90% / 10% 95% 60% 5%;
      transform: translate(-10%, 35%) scale(1.15) rotate(-10deg) skew(-6deg);
    }
    25% {
      border-radius: 5% 80% 95% 15% / 90% 5% 80% 95%;
      transform: translate(-45%, 20%) scale(0.9) rotate(7deg) skew(8deg);
    }
    37% {
      border-radius: 90% 20% 5% 95% / 5% 90% 95% 10%;
      transform: translate(-70%, -20%) scale(1.1) rotate(-12deg) skew(-4deg);
    }
    50% {
      border-radius: 15% 95% 80% 5% / 95% 20% 5% 85%;
      transform: translate(-50%, -55%) scale(1) rotate(8deg) skew(5deg);
    }
    62% {
      border-radius: 95% 5% 15% 85% / 10% 85% 95% 15%;
      transform: translate(-20%, -40%) scale(1.2) rotate(-6deg) skew(-7deg);
    }
    75% {
      border-radius: 5% 90% 95% 10% / 85% 5% 15% 95%;
      transform: translate(5%, -15%) scale(0.95) rotate(10deg) skew(3deg);
    }
    87% {
      border-radius: 85% 15% 5% 95% / 5% 95% 90% 10%;
      transform: translate(15%, 5%) scale(1.05) rotate(-5deg) skew(-5deg);
    }
  }

  .logo {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-flex;
    justify-content: center;
  }

  /* Typing animation */
  .logo-typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent);
    width: fit-content;
    max-width: 0;
    animation: typing 2s steps(16, end) forwards, blink-caret 0.75s step-end infinite;
  }

  @keyframes typing {
    from { max-width: 0; }
    to { max-width: 100vw; }
  }

  @keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent); }
  }

  /* Hide caret after animation */
  .logo-typing.done {
    border-color: transparent;
    animation: none;
    max-width: none;
  }

  /* No animation state */
  .logo-typing.no-animate {
    animation: none;
    max-width: none;
    border-right: none;
  }

  .subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 2rem auto;
  }

  .tagline {
    font-size: 1rem;
    color: var(--text);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
  }

  /* Footer */
  footer {
    padding: 1.5rem 2rem;
    text-align: center;
  }

  .emails {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .email:hover {
    color: var(--accent);
  }

  .email svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  @media (max-width: 600px) {
    .emails {
      gap: 1rem;
    }
  }

  /* Theme toggle button */
.theme-toggle {
  /* position: absolute;
  top: 24px;
  right: 28px; */
  background: transparent;
  border: 1px solid var(--muted);
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}



.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Navigation */
/* .nav {
position: absolute;
top: 24px;
left: 28px;
right: 28px;
display: flex;
align-items: center;
justify-content: space-between;
} */

.nav-links {
display: flex;
gap: 1.75rem;
}

.nav-links a {
color: var(--muted);
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: color 0.2s ease;
}

.nav-links a:hover {
color: var(--accent);
}


/* Navigation */
.nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 28px;
background: rgba(11, 28, 45, 0.8);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
position: sticky;
top: 0;
z-index: 100;
}

body.light .nav {
background: rgba(245, 249, 255, 0.85);
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Left, center, right zones */
.nav-left,
.nav-center,
.nav-right {
flex: 1;
display: flex;
align-items: center;
}

/* Brand stays left */
.nav-left {
justify-content: flex-start;
}

/* Center links */
.nav-center {
justify-content: center;
gap: 2rem;
}

/* Theme toggle stays right */
.nav-right {
justify-content: flex-end;
}

/* Nav links */
.nav-center a {
color: var(--muted);
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: color 0.2s ease;
}

.nav-center a:hover {
color: var(--accent);
}

/* Navbar button (e.g. LinkedIn) */
.nav-button {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    margin-right: 0.75rem;
  
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
  
    color: var(--text);
    border: 1px solid var(--muted);
    border-radius: 8px;
    background: transparent;
  
    transition: all 0.2s ease;
  }
  
  .nav-button:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  

/* Brand (same as before) */
.brand {
display: flex;
align-items: center;
gap: 0.6rem;
}

.brand img {
height: 32px;
}

.brand-link {
    text-decoration: none;
    color: inherit;
  }

  .brand-link:hover {
    opacity: 1;
  }

  .brand-link .brand img {
    transition: filter 0.3s ease, transform 0.3s ease;
  }

  .brand-link:hover .brand img {
    filter: drop-shadow(0 0 8px rgba(244, 196, 48, 0.8)) drop-shadow(0 0 16px rgba(244, 196, 48, 0.4));
    transform: scale(1.05);
  }



/* ABOUT */

/* About page layout */

.about-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
  }
  
  .about-content {
    max-width: 1100px;
    width: 100%;
    display: flex;
    gap: 4rem;
    align-items: center;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
  }
  
  .about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 1.2rem;
  }
  
  .about-text strong {
    color: var(--text);
    font-weight: 600;
  }
  
  .about-image {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    opacity: 0.9;
  }
  
  /* Mobile */
  @media (max-width: 900px) {
    .about-content {
      flex-direction: column;
      gap: 2.5rem;
      text-align: center;
    }
  
    .about-image img {
      max-width: 320px;
    }
  }

  /* DEMO */

  /* Demo page layout */

.demo-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .demo-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem;
  }
  
  .demo-video {
    width: 100%;
    max-width: 900px;
    margin-bottom: 2.5rem;
  }
  
  .demo-video video {
    width: 100%;
    border-radius: 14px;
    background: #000;
  }
  
  .demo-text {
    max-width: 680px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
  }
  
  /* Mobile tweaks */
  @media (max-width: 600px) {
    .demo-container {
      padding: 3rem 1.5rem;
    }
  }
  
  
  
  /* how it works */

.how-container {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
  }

  .how-section h1,
  .how-section h2 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    text-align: center;
  }

  .how-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  }

  /* Embedded how-section in about page */
  .how-section-embedded {
    margin-top: 4rem;
    width: 100%;
    max-width: 1100px;
  }

  .how-section-embedded h2 {
    text-align: left;
  }

  /* Security standalone page */
  .security-container {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
  }

  .security-section h1 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-align: left;
  }

  .security-section .security-intro {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 3rem;
  }

  /* Timeline Steps */
  .how-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }

  .how-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem;
    margin-left: 0;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: default;
  }

  /* Timeline connector line between circles */
  .how-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(1.5rem + 24px - 1px);
    top: calc(1.5rem + 48px);
    width: 2px;
    height: calc(100% - 48px);
    background: var(--accent);
    opacity: 0.4;
    z-index: 0;
  }

  .how-step:hover {
    background: rgba(244, 196, 48, 0.06);
    transform: translateX(8px);
  }

  body.light .how-step:hover {
    background: rgba(244, 196, 48, 0.1);
  }

  /* Step number circle */
  .how-step::before {
    content: attr(data-step);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
  }

  .how-step:hover::before {
    background: var(--accent);
    color: var(--bg);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(244, 196, 48, 0.4);
  }

  .how-step-content {
    flex: 1;
    padding-top: 0.5rem;
  }

  .how-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
    transition: color 0.3s ease;
  }

  .how-step:hover h3 {
    color: var(--accent);
  }

  .how-step p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
  }

  /* Security Section */
  .security-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .security-card {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.light .security-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .security-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 196, 48, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  }

  body.light .security-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  .security-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 196, 48, 0.1);
    border-radius: 10px;
  }

  .security-card-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .security-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
  }

  .security-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
  }

  /* Legacy security-points fallback */
  .security-points p {
    color: var(--muted);
    margin-bottom: 1.5rem;
  }

  .security-points ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.75rem;
  }

  .security-points li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--muted);
  }

  .security-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
  }

  /* Mobile */
  @media (max-width: 800px) {
    .how-step {
      gap: 1.5rem;
      padding: 1.25rem 1rem;
    }

    .how-step::before {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }

    .how-step:not(:last-child)::after {
      left: calc(1rem + 20px - 1px);
      top: calc(1.25rem + 40px);
      height: calc(100% - 40px);
    }

    .how-step:hover {
      transform: translateX(4px);
    }

    .security-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /*  DEMO */

  /* Demo page CTA */

.demo-cta {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
  
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
  
    color: #0b1c2d;
    background: var(--accent);
    border: 1px solid var(--accent);
  
    transition: all 0.2s ease;
  }
  
  .demo-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
  }

  .demo-screenshot {
    margin-top: 3rem;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
  }

  .demo-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.25);
  }
  

  /* WAITLIST */
/* =========================
   SLEEK WAITLIST FORM
   ========================= */

  .waitlist {
    margin-top: 2.5rem;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Remove the outer box and shadow */
  .waitlist [class*="cl-card"],
  .waitlist [class*="cl-rootBox"] {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Row setup with gap between elements */
  .waitlist [class*="cl-form"] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: auto !important;
  }

  /* Hide the label */
  .waitlist [class*="cl-formFieldLabel"] {
    display: none !important;
  }

  /* Input wrapper */
  .waitlist [class*="cl-formFieldInputWrapper"] {
    width: 320px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
  }

  .waitlist [class*="cl-formField"] {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* The Email Input - separate rounded rectangle */
  .waitlist input,
  .waitlist input[type="email"] {
    width: 320px !important;
    min-width: 320px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
  }

  .waitlist input:focus,
  .waitlist input[type="email"]:focus {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
  }

  /* Placeholder text */
  .waitlist input::placeholder,
  .waitlist input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    text-align: center !important;
  }

  /* Light Mode input */
  body.light .waitlist input,
  body.light .waitlist input[type="email"] {
    background-color: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #0b1c2d !important;
  }

  body.light .waitlist input:focus,
  body.light .waitlist input[type="email"]:focus {
    background-color: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
  }

  body.light .waitlist input::placeholder,
  body.light .waitlist input[type="email"]::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
  }

  /* The Join Button - separate rounded rectangle, bright color */
  .waitlist button,
  .waitlist [class*="cl-formButtonPrimary"],
  .waitlist [class*="cl-button"] {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 28px !important;
    background-color: #ffd54f !important;
    color: #1a1a1a !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em !important;
    line-height: 48px !important;
    border: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .waitlist button:hover,
  .waitlist [class*="cl-formButtonPrimary"]:hover,
  .waitlist [class*="cl-button"]:hover {
    background-color: #ffeb80 !important;
    transform: translateY(-1px) !important;
  }

  /* Mobile responsive */
  @media (max-width: 500px) {
    .waitlist [class*="cl-form"] {
      flex-direction: column !important;
      gap: 12px !important;
      width: 100% !important;
      padding: 0 1rem !important;
    }

    .waitlist [class*="cl-formFieldInputWrapper"],
    .waitlist input,
    .waitlist input[type="email"] {
      width: 100% !important;
      min-width: unset !important;
      max-width: 300px !important;
    }

    .waitlist button,
    .waitlist [class*="cl-formButtonPrimary"],
    .waitlist [class*="cl-button"] {
      width: 100% !important;
      max-width: 300px !important;
    }
  }
  /*  updates */

  /* =========================
   REVISED ABOUT PAGE LAYOUT
   ========================= */

.about-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  background: var(--bg);
}

.about-content {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  text-align: left;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h1 {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image,
.about-video {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img,
.about-video video {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}

/* Mobile Tweaks */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .about-image img {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .about-container {
    padding: 2rem 1.5rem;
  }

  .about-text h1 {
    font-size: 2rem;
  }
}

/* =========================
   COMPREHENSIVE MOBILE STYLES
   ========================= */

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-left,
  .nav-right {
    flex: 0 0 auto;
  }

  .nav-center {
    flex: 1 0 100%;
    order: 3;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 8px;
  }

  .nav-center a {
    font-size: 0.85rem;
  }

  .nav-button {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    margin-right: 0.5rem;
  }

  .brand img {
    height: 26px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .theme-toggle {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* Mobile Landing Page */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
  }

  .logo {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: 0.75rem;
  }

  .divider {
    margin: 1.5rem auto;
    width: 60px;
  }

  .tagline {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .waitlist {
    margin-top: 2rem;
  }
}

/* Mobile About Page */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .about-image,
  .about-video {
    width: 100%;
    max-width: 500px;
  }

  .about-image img,
  .about-video video {
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  .how-section-embedded {
    margin-top: 3rem;
  }

  .how-section-embedded h2 {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .about-container {
    padding: 2rem 1.25rem;
  }

  .about-text h1 {
    font-size: 1.75rem;
    text-align: center;
  }

  .about-text p {
    font-size: 0.95rem;
    text-align: center;
  }

  .about-image img,
  .about-video video {
    max-height: 250px;
  }

  .how-section-embedded {
    margin-top: 2.5rem;
  }
}

/* Mobile Security Page */
@media (max-width: 768px) {
  .security-container {
    padding: 2.5rem 1.5rem;
  }

  .security-section h1 {
    font-size: 1.75rem;
  }

  .security-intro {
    font-size: 1rem;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .security-card {
    padding: 1.25rem;
  }

  .security-card h4 {
    font-size: 0.95rem;
  }

  .security-card p {
    font-size: 0.85rem;
  }
}

/* Mobile Demo Page */
@media (max-width: 600px) {
  .demo-container {
    padding: 2rem 1.25rem;
  }

  .demo-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .demo-video {
    margin-bottom: 1.5rem;
  }

  .demo-text {
    font-size: 0.95rem;
  }

  .demo-cta {
    margin-top: 1.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Mobile Footer */
@media (max-width: 500px) {
  footer {
    padding: 1.25rem 1rem;
  }

  .emails {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .email {
    font-size: 0.85rem;
  }
}

/* Mobile How It Works Timeline */
@media (max-width: 600px) {
  .how-section h1,
  .how-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .how-step {
    gap: 1rem;
    padding: 1rem 0.5rem;
  }

  .how-step::before {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .how-step:not(:last-child)::after {
    left: calc(0.5rem + 18px - 1px);
    top: calc(1rem + 36px);
    height: calc(100% - 36px);
  }

  .how-step h3 {
    font-size: 1rem;
  }

  .how-step p {
    font-size: 0.9rem;
  }

  .how-step:hover {
    transform: translateX(2px);
  }
}