/* styles.css */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}
 
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
 
@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/Work_Sans/static/WorkSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

/* NEW BANNER */
  .hiai-hero h1, .hiai-hero h2, .hiai-hero h3 {
      font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    }
 
      .hiai-navigation{
          z-index: 10;
      }

      .hiai-hero *{
         margin: 0;
      box-sizing: border-box;
      }
    /* Hero Section */
    .hiai-hero {
        overflow-x: hidden;
        position: relative;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        padding: 120px 24px 30px; /* 80px clears the overlaid nav (.eskra-nav--overlay) + the original 40px */
        background: linear-gradient(135deg, hsl(210 95% 94%) 0%, hsl(200 85% 96%) 50%, var(--bg) 100%);
        background-size: 200% 200%;
        animation: hiai-gradient-shift 15s ease-in-out infinite;
    }

    @keyframes hiai-gradient-shift {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    /* Gradient fade at bottom of hero */
    .hiai-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 5;
    }
    
    /* Blue glow in the top-left corner, behind the floating nav bar. Static on purpose: the base
       gradient above slides across a 200% background, which would let this corner drift back to white.
       (This used to be a white fade that blended the hero into the old nav strip; the hero now starts
       at the top of the page, so the fade was washing the corner out.) */
    .hiai-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 55% 65% at 0% 0%, hsl(210 100% 70% / 0.65) 0%, hsl(210 100% 80% / 0.38) 42%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    }

    /* Background Glow Effects */
    .hiai-glow-orb {
      position: absolute;
      border-radius: var(--radius-full);
      filter: blur(100px);
      pointer-events: none;
      will-change: transform;
    }

    .hiai-glow-orb-1 {
      width: 500px;
      height: 500px;
      background: hsl(210 100% 70% / 0.5);
      top: -100px;
      right: 20%;
      --orb-dx: 120px;
      --orb-dy: 70px;
      animation: hiai-orb-drift 16s ease-in-out infinite;
    }

    .hiai-glow-orb-2 {
      width: 400px;
      height: 400px;
      background: hsl(220 90% 75% / 0.45);
      bottom: 10%;
      left: 10%;
      --orb-dx: 90px;
      --orb-dy: -60px;
      animation: hiai-orb-drift 16s ease-in-out infinite;
      animation-delay: -8s; /* half a cycle behind orb 1, so the two always alternate */
    }

    /* Gentle breathing drift. The first and last keyframes are identical, so the loop has no seam:
       the orb eases out to the peak at 50% and eases back to exactly where it started.
       Each orb sets its own direction with --orb-dx / --orb-dy. */
    @keyframes hiai-orb-drift {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50%      { transform: translate(var(--orb-dx), var(--orb-dy)) scale(1.2); }
    }

    @media (prefers-reduced-motion: reduce) {
      .hiai-glow-orb { animation: none; }
    }

    /* Phones (the nav switches to its hamburger layout at the same 760px): less top padding
       (80px nav clearance + 20px) and a softer blue at the top, where the glow fills more of the screen. */
    @media (max-width: 760px) {
      .hiai-hero { padding-top: 100px; }
      .hiai-hero::before {
        background: radial-gradient(ellipse 55% 65% at 0% 0%, hsl(210 100% 70% / 0.3) 0%, hsl(210 100% 80% / 0.17) 42%, transparent 100%);
      }
      .hiai-glow-orb-1 { background: hsl(210 100% 70% / 0.2); }
    }

    /* Container */
    .hiai-container {
      max-width: 1200px;
      margin: 0 auto auto;
      width: 100%;
      position: relative;
      z-index: 10;
    }

    .hiai-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-8);
      align-items: center;
    }

    @media (max-width: 968px) {
      .hiai-grid {
        grid-template-columns: 1fr;
        gap: var(--space-7);
        text-align: center;
        max-width: 550px;
        margin: auto;
      }
      .hiai-hero{
        height: auto;
        overflow-y: hidden;
      }
    }

    /* Left Column */
    .hiai-content {
      max-width: 540px;
    }

    @media (max-width: 968px) {
      .hiai-content {
        margin: 0 auto;
      }
    }
      
    /* Title */
    .hiai-title {
      font-size: clamp(2.5rem, 5vw, 3.75rem);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: var(--space-5);
      animation: hiai-fade-up 0.6s ease-out backwards;
      animation-delay: 0.2s;
      display: flex;
      flex-direction: column;
      gap: var(--space-1);
    }

    .hiai-title .hiai-title-main {
      display: block;
      color: var(--text);
      font-weight: 700;
    }

    .hiai-title .hiai-title-accent {
      color: var(--accent);
    }

    .hiai-title span {
      color: var(--accent);
    }

    /* Subtitle */
    .hiai-subtitle {
      font-size: 1.125rem;
      line-height: 1.7;
      color: var(--text-muted);
      margin-bottom: var(--space-6);
      animation: hiai-fade-up 0.6s ease-out backwards;
      animation-delay: 0.3s;
    }

    /* CTA Group */
    .hiai-cta-group {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-4);
      margin-bottom: var(--space-6);
      animation: hiai-fade-up 0.6s ease-out backwards;
      animation-delay: 0.4s;
    }

    @media (max-width: 968px) {
      .hiai-cta-group {
        justify-content: center;
      }
    }

    .hiai-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2);
      padding: 14px 24px;
      font-size: 15px;
      font-weight: 600;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
      border: none;
    }

    .hiai-btn-primary {
      background: var(--accent);
      color: white;
      box-shadow: 0 4px 14px hsl(210 100% 45% / 0.35);
    }

    .hiai-btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px hsl(210 100% 45% / 0.45);
    }

    .hiai-btn-primary svg {
      transition: transform 0.2s ease;
    }

    .hiai-btn-primary:hover svg {
      transform: translateX(4px);
    }

    .hiai-btn-ghost {
      background: transparent;
      color: var(--text-muted);
      padding: 14px 24px;
    }

    .hiai-btn-ghost:hover {
      color: var(--text);
    }

    /* Email Integration logos */
    .hiai-email-integrations {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      margin-bottom: 40px;
      animation: hiai-fade-up 0.6s ease-out backwards;
      animation-delay: 0.45s;
    }

    @media (max-width: 968px) {
      .hiai-email-integrations {
        justify-content: center;
      }
    }

    .hiai-email-integrations-text {
      font-size: 0.813rem;
      color: hsl(240 5% 55%);
      font-weight: 500;
    }

    .hiai-email-integration-logos {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .hiai-email-integration-logo {
      height: 18px;
      opacity: 0.75;
      transition: opacity 0.2s ease;
    }

    .hiai-email-integration-logo:hover {
      opacity: 1;
    }

    /* Stats */
    .hiai-stats {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      display: flex;
      gap: var(--space-6);
      padding-top: 32px;
      border-top: 1px solid var(--border);
      animation: hiai-fade-up 0.6s ease-out backwards;
      animation-delay: 0.5s;
    }

    @media (max-width: 968px) {
      .hiai-stats {
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      .hiai-stats {
        gap: 20px;
      }
    }

    .hiai-stat {
      text-align: left;
    }


    @media (max-width: 968px) {
      .hiai-stat {
        text-align: center;
      }
    }

    .hiai-stat-value {
      font-family: 'Instrument Sans', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text);
    }

    .hiai-stat-label {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    .hiai-stat-divider {
      width: 1px;
      height: 40px;
      background: var(--border);
      align-self: center;
    }

    @media (max-width: 480px) {
      .hiai-stat-divider {
        display: none;
      }
    }

    /* Right Column - Demo */
    .hiai-demo {
      position: relative;
      animation: hiai-fade-in 0.8s ease-out backwards;
      animation-delay: 0.3s;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    /* Decorative blurs */
    .hiai-demo-glow-1 {
      position: absolute;
      top: -32px;
      right: -32px;
      width: 256px;
      height: 256px;
      background: hsl(210 100% 50% / 0.1);
      border-radius: var(--radius-full);
      filter: blur(64px);
      pointer-events: none;
    }

    .hiai-demo-glow-2 {
      position: absolute;
      bottom: -32px;
      left: -32px;
      width: 192px;
      height: 192px;
      background: hsl(220 50% 50% / 0.05);
      border-radius: var(--radius-full);
      filter: blur(64px);
      pointer-events: none;
    }

    /* Email Cards */
    .hiai-email-card {
      background: white;
      border-radius: var(--radius-lg);
      border: 1px solid hsl(210 20% 92%);
      box-shadow: 0 4px 20px -4px hsl(240 10% 10% / 0.08);
      overflow: hidden;
    }

    .hiai-reply-card {
      position: relative;
      z-index: 10;
      max-width: 420px;
    }

    /* Incoming email - floating on RIGHT side now */
    .hiai-incoming-card {
      position: absolute;
      top: -24px;
      right: -24px;
      width: 240px;
      padding: 14px;
      transform: rotate(3deg);
      opacity: 0.9;
      z-index: 15;
      animation: hiai-float 6s ease-in-out infinite;
      box-shadow: 0 8px 28px -4px hsl(240 10% 10% / 0.12);
    }

    @media (max-width: 968px) {
      .hiai-incoming-card {
        width: 200px;
        padding: var(--space-3);
        right: -16px;
        top: -20px;
      }
      
      .hiai-demo {
        padding-right: 20px;
      }
    }

    @keyframes hiai-float {
      0%, 100% { transform: rotate(3deg) translateY(0); }
      50% { transform: rotate(3deg) translateY(-10px); }
    }

    .hiai-incoming-header {
      display: flex;
      align-items: center;
      gap: var(--space-2);
      margin-bottom: 10px;
    }

    .hiai-incoming-avatar {
      width: 28px;
      height: 28px;
      border-radius: var(--radius-full);
      background: hsl(220 35% 15%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 600;
      color: white;
    }

    .hiai-incoming-meta {
      flex: 1;
    }

    .hiai-incoming-name {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
    }

    .hiai-incoming-time {
      font-size: 11px;
      color: var(--text-muted);
    }

    .hiai-incoming-text {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Reply email card */
    .hiai-email-header {
      padding: 12px 16px;
      border-bottom: 1px solid hsl(210 20% 95%);
      background: hsl(210 20% 98% / 0.5);
    }

    .hiai-email-header-row {
      display: flex;
      align-items: center;
      gap: var(--space-3);
    }

    .hiai-avatar {
      width: 32px;
      height: 32px;
      border-radius: var(--radius-full);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 600;
    }

    .hiai-avatar-primary {
      background: hsl(210 100% 50% / 0.1);
      color: var(--accent);
    }

    .hiai-email-meta {
      flex: 1;
      min-width: 0;
    }

    .hiai-email-subject {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .hiai-email-to {
      font-size: 12px;
      color: var(--text-muted);
    }

    .hiai-email-body {
      padding: var(--space-4);
      font-size: 14px;
      line-height: 1.2;
      color: hsl(240 10% 25%);
      min-height: 200px;
    }

    .hiai-cursor {
      display: inline-block;
      width: 2px;
      height: 16px;
      background: var(--accent);
      margin-left: 2px;
      animation: hiai-blink 1s step-end infinite;
      vertical-align: text-bottom;
    }

    @keyframes hiai-blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    .hiai-ai-indicator {
      padding: 10px 16px;
      background: hsl(210 100% 50% / 0.05);
      border-top: 1px solid hsl(210 100% 50% / 0.1);
      display: flex;
      align-items: center;
      gap: var(--space-2);
    }

    .hiai-ai-dot {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: var(--radius-full);
      animation: hiai-pulse 2s ease-in-out infinite;
    }

    @keyframes hiai-pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.2); }
    }

    .hiai-ai-text {
      font-size: 12px;
      font-weight: 500;
      color: var(--accent);
    }


    /* Animations */
    @keyframes hiai-fade-up {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes hiai-fade-in {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

.hiai-body {
    font-family: "Be Vietnam Pro", sans-serif;
}

.hiai-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

.font-stick { font-family: 'Stick', sans-serif; }
.font-potta { font-family: 'Potta One', cursive; }
.font-shippori { font-family: 'Shippori Mincho', serif; }
.font-kaisei { font-family: 'Kaisei Tokumin', serif; }
.hiai-navigation a{
    text-decoration: none;
    color: #000;
    -webkit-user-drag: none;
}

.hiai-navigation h1 {
    font-size: 40px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}
.hiai-navigation span {
    font-size: 40px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}
.hiai-nav-logo {
    font-size: 40px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: #000;
}
.hiai-navigation-link {
    text-decoration: none;
    font-size: 20px;
}

.hiai-navigation-link:first-child {
    position: absolute;
    left: 14px;
}

.hiai-navigation-link:last-child {
    position: absolute;
    right: 14px;
}

/* ---- Eskra nav: floating white bar (partials/nav.blade.php) ----
   The wrapper keeps the old nav's 80px footprint so no page layout shifts; the bar floats inside it.
   Sticky (homepage) stays below the auth modal (z-index 1000). Pointer events pass through the
   transparent gutter so it never blocks clicks on the page underneath. */
.eskra-nav {
    display: flow-root; /* keep the bar's top margin inside the wrapper so it never pushes the page down */
    position: relative;
    z-index: 100;
    flex-shrink: 0; /* some pages make <body> a flex column; never let the 80px footprint shrink */
    height: 80px;
    pointer-events: none;
    font-family: var(--font-sans);
    color: var(--text);
}
.eskra-nav--sticky {
    position: sticky;
    top: 0;
    z-index: 999;
}
/* Homepage: the hero slides up behind the bar so its gradient and glow orbs reach the top of the page.
   Cancels the wrapper's 80px footprint; .hiai-hero adds the same 80px back as padding. */
.eskra-nav--overlay {
    margin-bottom: -80px;
}
.eskra-nav a {
    color: inherit;
    text-decoration: none;
}
.eskra-nav a:focus-visible,
.eskra-nav button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius-md);
}
.eskra-nav__bar {
    pointer-events: auto;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 28px;
    width: calc(100% - 32px);
    max-width: 1240px;
    height: 60px;
    margin: 12px auto 0;
    padding: 0 10px 0 22px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 32px hsl(215 40% 30% / 0.10);
}
.eskra-nav--minimal .eskra-nav__bar {
    justify-content: center;
    padding: 0 22px;
}
.eskra-nav .eskra-nav__logo {
    display: block;
    line-height: 0;
}
/* The logo never shows a focus ring (same for the footer logo below). */
.eskra-nav .eskra-nav__logo:focus,
.eskra-nav .eskra-nav__logo:focus-visible,
.footer-column .footer-logo:focus,
.footer-column .footer-logo:focus-visible {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.eskra-nav__logo svg {
    display: block;
    width: auto;
    height: 24px;
}
.eskra-nav__links {
    display: flex;
    gap: 2px;
}
.eskra-nav .eskra-nav__links a {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}
.eskra-nav .eskra-nav__links a:hover,
.eskra-nav .eskra-nav__links a[aria-current="page"] {
    color: var(--text);
    background: var(--surface);
}
.eskra-nav__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.eskra-nav .eskra-nav__login {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    transition: background 0.2s;
}
.eskra-nav .eskra-nav__login:hover {
    background: var(--surface);
}
/* Signed-in "Dashboard" link: same look as Login, plus a small arrow that nudges on hover */
.eskra-nav .eskra-nav__dashboard {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}
.eskra-nav .eskra-nav__dashboard svg {
    transition: transform 0.2s;
}
.eskra-nav .eskra-nav__dashboard:hover svg {
    transform: translateX(2px);
}
.eskra-nav .eskra-nav__join {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: var(--bg);
    font-size: 14px;
    font-weight: 500;
    transition: box-shadow 0.2s, transform 0.2s;
}
.eskra-nav .eskra-nav__join:hover {
    box-shadow: 0 6px 18px hsl(210 100% 45% / 0.40);
    transform: translateY(-1px);
}
.eskra-nav__menu {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--bg);
    cursor: pointer;
}
.eskra-nav__menu span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.2s, top 0.2s;
}
.eskra-nav__menu span:first-child { top: 15px; }
.eskra-nav__menu span:last-child { top: 23px; }
.eskra-nav.is-open .eskra-nav__menu span:first-child { top: 19px; transform: rotate(45deg); }
.eskra-nav.is-open .eskra-nav__menu span:last-child { top: 19px; transform: rotate(-45deg); }
.eskra-nav__panel {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 6px 16px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 30px hsl(215 40% 20% / 0.12);
}
.eskra-nav .eskra-nav__panel a {
    padding: 13px 4px;
    border-bottom: 1px solid hsl(220 13% 94%);
    font-size: 16px;
    font-weight: 500;
}
.eskra-nav .eskra-nav__panel a:last-child { border-bottom: 0; }
.eskra-nav .eskra-nav__panel a[aria-current="page"] { color: var(--accent); }
@media (max-width: 760px) {
    .eskra-nav__bar {
        width: calc(100% - 20px);
        height: 56px;
        margin-top: 10px;
        gap: 10px;
        padding: 0 8px 0 16px;
    }
    .eskra-nav--minimal .eskra-nav__bar { padding: 0 16px; }
    .eskra-nav__links,
    .eskra-nav .eskra-nav__login { display: none; }
    .eskra-nav__menu { display: block; }
    .eskra-nav .eskra-nav__join { height: 38px; padding: 0 15px; font-size: 13.5px; }
    .eskra-nav.is-open .eskra-nav__panel { display: flex; }
}

/* ---- Page glow (opt-in: <body class="page-glow">) ----
   Soft blue edge glow, fixed to the viewport so it frames the page as you scroll and fades to clean
   white in the middle where the content sits. Same blues as the homepage hero. A continuous halo
   (the inset shadow) does most of the work; the faint corner tints add depth. Inspired by the
   Google Lens overlay, kept a touch softer (edges ~94% lightness vs Lens 92%, corners ~91%).
   The halo is deliberately wide (300px): a tighter one ends in a visible rounded-rectangle outline
   where it reaches white. Sits at z-index -1, so any full-width section with an opaque background
   will hide it: give such sections a translucent background instead. Used by the free tools pages.
   Strength is one knob, --page-glow (1 = full, the free-tools hub page). The individual tool pages use
   .page-glow--soft (0.65) so the glow stays out of the way of their forms. */
body.page-glow { --page-glow: 1; }
body.page-glow--soft { --page-glow: 0.65; }
body.page-glow::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    box-shadow: inset 0 0 min(300px, 34vw) 0 hsl(214 100% 78% / calc(0.54 * var(--page-glow)));
    background:
        radial-gradient(ellipse 40% 46% at 0% 0%, hsl(210 100% 72% / calc(0.11 * var(--page-glow))), transparent 72%),
        radial-gradient(ellipse 36% 44% at 100% 4%, hsl(200 95% 78% / calc(0.08 * var(--page-glow))), transparent 72%),
        radial-gradient(ellipse 42% 48% at 0% 100%, hsl(222 90% 74% / calc(0.10 * var(--page-glow))), transparent 72%),
        radial-gradient(ellipse 38% 42% at 100% 100%, hsl(214 100% 80% / calc(0.07 * var(--page-glow))), transparent 72%);
}

.hiai-main-container {
    text-align: center;
    overflow: hidden;

}

.hiai-main-header {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30vh;
}

/* FONTS */
.font-vietnam {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 2.6em;
    letter-spacing: normal;
    font-weight: normal;
}

.font-playwrite {
    font-family: "Playwrite ES", cursive;
    font-size: 2.5em;
    letter-spacing: normal;
    font-weight: normal;
}

.font-silkscreen {
    font-family: Silkscreen, sans-serif;
    font-size: 2.82em;
    letter-spacing: -8px;
    font-weight: 400;
}

.font-bebas {
    font-family: Bebas Neue, sans-serif;
    font-size: 2.7em;
    letter-spacing: 7px;
    font-weight: normal;
}

.font-rubik {
    font-family: 'Rubik', sans-serif;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-fira {
    font-family: 'Fira Sans', sans-serif;
}

.font-russo {
    font-family: 'Russo One', sans-serif;
}

.font-noto { font-family: 'Noto Sans Devanagari', sans-serif; }
.font-khand { font-family: 'Khand', sans-serif; }
.font-hind { font-family: 'Hind', sans-serif; }
.font-tiro { font-family: 'Tiro Devanagari Hindi', serif; }


html:lang(ja) .hiai-main-header {
    font-size: 1.8em; /* instead of 1.5em */
}

.hiai-dynamic-heading {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin: 0;
    height: 85px;
}

.hiai-dynamic-heading::after {
    content: '|';
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 1em !important;
    opacity: 1;
    animation: hiai-blink 1s infinite;
    font-weight: 200;
    margin-left: 5px;
}

.hiai-dynamic-heading-ar {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.hiai-dynamic-heading-ar::before {
    content: '|';
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-size: 1em !important;
    opacity: 1;
    animation: hiai-blink 1s infinite;
    font-weight: 200;
    margin-left: 5px;
}


.pause-animation::after {
    animation: none !important;
}

.hiai-hidden {
    display: none;
}

@keyframes hiai-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Bubbles Section */
/* ==========================================================================
   Global Container & Common Styles
   ========================================================================== */
.hiai-bubbles {
    display: grid;
    grid-template-columns: 42.5% 15% 42.5%;
    margin-bottom: 50px;
    align-items: center;
}

.hiai-bubbles span {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 300px;
    width: 100%;
}

/* ==========================================================================
   Gemini Bubble Styles
   ========================================================================== */
.hiai-gemini {
    height: 40vw;
    width: 40vw;
    max-height: 400px;
    max-width: 400px;
    background: linear-gradient(to right, #b76990, #497fe4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    text-align: center;
    border-radius: var(--radius-full);
    position: relative;
    overflow: visible;
    border: 11px solid var(--bg);
    margin-left: auto;
}

.hiai-gemini::before {
    content: '';
    position: absolute;
    height: 46vw;
    width: 46vw;
    max-height: 450px;
    max-width: 450px;
    border-radius: var(--radius-full);
    z-index: -1;
    background: linear-gradient(to right, #b76990, #497fe4);
    background-origin: border-box;
    background-clip: content-box;
}

.hiai-gemini::after {
    content: '';
    position: absolute;
    height: 42vw;
    width: 42vw;
    max-height: 420px;
    max-width: 420px;
    border-radius: var(--radius-full);
    z-index: -1;
    border: 20px dashed var(--bg);
    animation: hiai-rotate-borderz 100s linear infinite;
}

.hiai-gemini-spark {
    height: 50px;
}

.hiai-gemini h3 {
    letter-spacing: 2px;
    margin: 0;
    font-weight: 500;
    font-size: 2em;
}

.hiai-gemini ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    font-weight: 400;
    font-size: 1.2em;
}

/* ==========================================================================
   GPT Bubble Styles
   ========================================================================== */
.hiai-gpt {
    height: 40vw;
    width: 40vw;
    max-height: 400px;
    max-width: 400px;
    background-color: rgba(16, 163, 127, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    text-align: center;
    border-radius: var(--radius-full);
    position: relative;
    overflow: visible;
    margin-right: auto;
}

.hiai-gpt::before {
    content: '';
    position: absolute;
    height: 42vw;
    width: 42vw;
    max-height: 440px;
    max-width: 440px;
    border-radius: var(--radius-full);
    border: 10px solid transparent;
    background-size: 100% 100%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
    background-repeat: no-repeat;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(30deg, rgba(16, 163, 127, 1) 36%, white 30%),
        linear-gradient(120deg, rgba(16, 163, 127, 1) 36%, white 30%),
        linear-gradient(300deg, rgba(16, 163, 127, 1) 36%, white 30%),
        linear-gradient(210deg, rgba(16, 163, 127, 1) 36%, white 30%);
    background-position: center center, left top, right top, left bottom, right bottom;
    background-origin: content-box, border-box, border-box, border-box, border-box;
    background-clip: content-box, border-box, border-box, border-box, border-box;
    z-index: -1;
    animation: hiai-rotate-border 50s linear infinite;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes hiai-rotate-borderz {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes hiai-rotate-border {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Adjustments for screens below 625px */

@media (max-width: 625px) {
    .hiai-gemini {
        border-width: 13px;
    }
    .hiai-gemini::after {
        height: 44vw;
        width: 44vw;
        border: 18px dashed var(--bg);
    }
    .hiai-gemini::before {
        height: 49vw;
        width: 49vw;
    }
    .hiai-bubbles h3 {
        font-size: 1.5em !important;
    }
    .hiai-bubbles li {
        font-size: 12px;
    }
    .hiai-bubbles span {
        font-size: 10px;
        letter-spacing: 1px;
    }
}
.hiai-gpt-logo {
    height: 50px;
}



.hiai-gpt h3 {
    letter-spacing: 2px;
    margin: 0;
    font-weight: 500;
    font-size: 2em;
}

.hiai-gpt ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    font-weight: 400;
    font-size: 1.2em;
}


/* ===== FONT FACES (Used by footers) ===== */
@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat/static/Montserrat-Thin.ttf) format('truetype');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat/static/Montserrat-ExtraLight.ttf) format('truetype');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat/static/Montserrat-Light.ttf) format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat/static/Montserrat-Regular.ttf) format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat/static/Montserrat-SemiBold.ttf) format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url(../fonts/Work_Sans/static/WorkSans-Regular.ttf) format('truetype');
    font-weight: 400;
    font-display: swap;
}


/* ===== FULL FOOTER STYLES ===== */
footer {
    background-color: var(--bg);
    padding: 0 0 30px;
    position: relative;
}
footer::before {
    content: '';
    height: 100px;
    background-image: linear-gradient(rgba(245, 247, 250, 0), rgba(245, 247, 250, 1) 100%);
    width: 100%;
    position: absolute;
    top: -100px;
    left: 0;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    padding-top: 30px;
    font-family: Montserrat, sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

/* English footer: 6-column layout — desktop only */
@media (min-width: 1025px) {
    .footer-grid.has-compare {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    }
    .col-legal-lang { display: none; }
}
@media (max-width: 1024px) {
    .col-legal-desktop,
    .col-language-desktop { display: none !important; }
    .col-legal-lang { display: flex; flex-direction: column; gap: 24px; }
}

.footer-column .footer-logo {
    font-size: 26px;
    font-weight: 400;
    color: var(--text);
    font-family: var(--font-sans);
    text-decoration: none;
    display: block;
    /* 20px mark: its centre sits on the centre of the first heading line (22.4px line box) beside it */
    margin-top: 1px;
}
/* The footer logo is the shared SVG lockup (partials/eskra-logo.blade.php, currentColor). */
.footer-column .footer-logo svg {
    display: block;
    width: auto;
    height: 20px;
}
.footer-column .footer-logo:hover {
    color: var(--text); /* a logo shouldn't recolour like the text links around it */
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #424245;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #0066cc;
}

.footer-column.col-language {
    display: flex;
    flex-direction: column;
}

.footer-column.col-language h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.popup-footer-content .language-selector::after{
    display: none;
}
.language-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: auto;
    cursor: pointer;
    user-select: none;
}

.language-selector svg {
    width: 14px;
    height: 14px;
    color: #86868b;
        pointer-events: none;
}

.language-selector select {
    appearance: none;
    background: transparent;
    border: none;
    padding-right: 18px;
    font-size: 12px;
    color: #424245;
    cursor: pointer;
    font-family: inherit;
}

.language-selector select:hover {
    color: #0066cc;
}

.language-selector select:focus {
    outline: none;
}

.language-selector::after {
    content: "▼";
    position: absolute;
    right: 0;
    font-size: 7px;
    color: #86868b;
    pointer-events: none;
}

.footer-column .status-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: #6e6e73;
    font-size: 12px;
    transition: color 0.2s;
    margin-top: 2px; /* first line lines up with the headings beside it, like the logo */
}

.footer-column .status-link:hover {
    color: #0066cc;
    border-color: #0066cc;
}

.footer-column .status-link:hover .status-dot {
    background-color: #0066cc;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #34c759;
    border-radius: var(--radius-full);
    transition: background-color 0.2s;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: 12px;
    color: #86868b;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    font-size: 12px;
    color: #424245;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #0066cc;
}

.social-icon {
    width: 16px;
    height: 16px;
    color: #424245;
    transition: color 0.2s;
}

.footer-links a:hover .social-icon {
    color: #0066cc;
}


/* ===== POPUP FOOTER STYLES ===== */
.popup-footer-wrapper {
    display: none;
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
}
.popup-footer-wrapper.show{
    display: inherit;
}
.popup-footer-content p:first-child{
    margin-bottom: 0px;
}

.popup-footer-content p:last-child{
    margin-top: 0px;
}

.popup-footer-content a {
    color: var(--text);
    text-decoration: none;
}

.popup-lang-selector {
  position: relative;
  display: inline-block;
  margin: 8px auto;
}

.popup-lang-display {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  text-transform: uppercase;
}

.popup-footer-links {
  display: inline;
}

.popup-footer-links a:not(:first-child)::before {
  content: " | ";
  color: #666;
}

.popup-footer-links a {
  font-size: 0.7em;
  color: #666;
  text-decoration: none;
}

.popup-footer-links a:last-child {
  padding-bottom: 5px;
}

.popup-footer-copyright p{
    font-size: 0.65em;
    color: #666;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.popup-globe-icon {
  width: 14px;
  height: 14px;
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" %3F><svg fill="%23000000" width="800px" height="800px" viewBox="0 0 52 52" data-name="Layer 1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"><path d="M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.popup-lang-dropdown {
  position: absolute;
  display: none;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 100px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 100;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: var(--space-2);
  overflow: hidden;
}

.popup-lang-dropdown::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: white;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.popup-lang-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.popup-lang-option {
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.popup-lang-option:hover {
  background-color: var(--surface);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}
#langMenu {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    margin-top: 5px;
}

#langMenu.show {
    display: block;
}

.popup-lang-option {
    padding: 10px 15px;
    cursor: pointer;
}

.popup-lang-option:hover {
    background: var(--surface);
}

#langDisplay {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablet - Full Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px 30px;
    }

    .col-logo { grid-column: 1; grid-row: 1; }
    .col-tools { grid-column: 2; grid-row: 1; }
    .col-support { grid-column: 3; grid-row: 1; }
    .col-legal { grid-column: 2; grid-row: 2; }
    .col-language { grid-column: 3; grid-row: 2; }

    /* English: staircase — legal+language share one cell in col 3 row 2 */
    .footer-grid.has-compare .col-compare   { grid-column: 2; grid-row: 2; }
    .footer-grid.has-compare .col-legal-lang { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; gap: 24px; }
}

/* Mobile - Full Footer */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }

    .footer-container {
        padding: 0 30px;
        padding-top: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        justify-items: center;
    }

    .col-logo {
        grid-column: 1 / -1;
    }

    .col-tools { grid-column: 1; grid-row: 2; }
    .col-support { grid-column: 2; grid-row: 2; }
    .col-legal { grid-column: 1; grid-row: 3; }
    .col-language { grid-column: 2; grid-row: 3; }

    /* English: stays 2-col, compare row 3 col 1, legal+language stacked in row 3 col 2 */
    .footer-grid.has-compare .col-compare   { grid-column: 1; grid-row: 3; }
    .footer-grid.has-compare .col-legal-lang { grid-column: 2; grid-row: 3; display: flex; flex-direction: column; gap: 24px; align-items: center; }

    .footer-column {
        max-width: 220px;
    }

    .footer-column.col-language {
        align-items: center;
    }

    .status-link {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Small Mobile - Full Footer */
@media (max-width: 600px) {
    footer {
        padding: 40px 0 20px;
    }
    .footer-column li {
        margin-bottom: var(--space-2);
    }

    .footer-container {
        padding: 0 20px;
        padding-top: 20px;
    }

    .footer-column .footer-logo {
        font-size: 24px;
    }
    .footer-column .footer-logo svg {
        height: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .col-logo { grid-column: 1; grid-row: 1; }
    .col-tools { grid-column: 1; grid-row: 2; }
    .col-support { grid-column: 1; grid-row: 3; }
    .col-legal { grid-column: 1; grid-row: 4; }
    .col-language { grid-column: 1; grid-row: 5; }

    /* English: insert compare between support and legal+language */
    .footer-grid.has-compare .col-compare   { grid-column: 1; grid-row: 4; }
    .footer-grid.has-compare .col-legal-lang { grid-column: 1; grid-row: 5; display: flex; flex-direction: column; gap: 24px; }

    .footer-column {
        max-width: 100%;
    }

    .footer-column.col-language {
        align-items: center;
    }

    .status-link {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* Mobile - Popup Footer */
@media (max-width: 600px) {
    .popup-footer-content {
        gap: 10px;
    }

    .popup-footer-links {
        gap: var(--space-1);
    }

    .popup-footer-links a {
        font-size: 11px;
        padding: 0 6px;
    }
}

/* Modal and Form Styles */
.hiai-button {
    margin: 10px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.hiai-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.hiai-modal-content {
    position: relative;
    background-color: var(--bg);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid transparent;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.hiai-modal-content h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.hiai-secure-message {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0cab00;
    font-size: 14px;
    line-height: 18px;
    margin-top: 10px;
    font-weight: 400;
}

.hiai-secure-icon {
    margin-right: 6px;
}

.hiai-modal-close {
    color: #aaa;
    float: right;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 10px;
}

.hiai-modal-close:hover,
.hiai-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.hiai-input-label {
    text-align: left;
    font-weight: 500;
    width: 90%;
    margin: 50px auto 10px auto;
}

.hiai-email-input {
    height: 30px;
    width: 80%;
    font-size: 15px;
    padding: 10px 10px 10px 20px;
}

.hiai-continue-button {
    height: 50px;
    width: 90%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto auto auto;
    border: 1px solid var(--bg);
    background-color: #497fe4;
    color: var(--bg);
}

.hiai-divider {
    flex-direction: row;
    color: #aaa;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    font-weight: 200;
    margin-top: 20px;
    margin-bottom: 20px;
}

.hiai-divider::after,
.hiai-divider::before {
    content: "";
    display: block;
    width: 4rem;
    border-top: 1px solid var(--border);
    transform: scaleY(.5);
}

.hiai-divider::after {
    margin-left: 1rem;
}

.hiai-divider::before {
    margin-right: 1rem;
}

.hiai-quick-options button {
    height: 40px;
    display: flex;
    align-items: center;
    margin: 10px auto auto auto;
    width: 65%;
    font-size: 0.9em;
    letter-spacing: 1px;
    background-color: var(--bg);
    border: 1px solid #ccc;
    border-radius: var(--radius-pill);
}

.hiai-quick-options .hiai-arrow-down {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

.hiai-quick-options .hiai-hidden {
    display: none;
}

.hiai-quick-options img {
    height: 25px;
    margin-right: 10px;
}

.hiai-trouble-signin {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.8em;
}

.hiai-terms {
    font-size: 0.7em;
    color: #333;
}

/* NEW PRIVACY SECTION */
        .privacy-section {
			line-height: 1.6;
            max-width: 1250px;
            margin: 0 auto;
            padding: 4rem 2rem;
            padding-bottom: 0;
            margin-bottom: 4em;
        }
		 .privacy-section * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .privacy-header {
          text-align: center;
          margin-bottom: 3rem;
          filter: blur(8px);   
          opacity: 0.2;        
          will-change: filter, opacity;
        }


        .privacy-header h2 {
            font-size: clamp(2rem, 4vw, 3.5rem);
            font-weight: 600;
            padding-bottom: 1rem;
            letter-spacing: -0.025em;
            background: linear-gradient(135deg, var(--text) 0%, #515154 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            width: fit-content;
            max-width: 700px;
            line-height: 1;
            margin-left: auto;
            margin-right: auto;
        }

        @keyframes blurFadeIn {
            to {
                --blur-amount: 0;
                opacity: 1;
            }
        }
        
        .privacy-header p {
            font-size: 1.125rem;
            color: #86868b;
            max-width: 500px;
            margin: 0 auto;
            font-weight: 400;
        }

        .features-container {
            position: relative;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .feature-card {
            background-color: var(--bg);
            border: 1px solid transparent;
            border-radius: var(--radius-md);
            cursor: pointer;
            padding: 2rem;
            transition: all 0.3s ease;
            text-align: center;
        }

        .feature-card.connected {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border-color: #bae6fd;
        }

        .feature-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            letter-spacing: -0.01em;
            background: linear-gradient(135deg, var(--text) 0%, #515154 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .feature-card p {
            color: #86868b;
            font-size: 0.95rem;
            margin-bottom: 1.25rem;
            line-height: 1.5;
        }

        .feature-points {
            list-style: none;
            text-align: left;
            width: fit-content;
            margin: 0 auto;
        }

        .feature-points li {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            font-size: 0.9rem;
            color: #515154;
            margin-bottom: 0.75rem;
            margin-left: -14px;
        }

        .feature-points li svg {
            width: 16px;
            height: 16px;
            color: #34c759;
            margin-top: 0.1rem;
            flex-shrink: 0;
        }

        .trust-banner {
            background-color: var(--surface);
            background-image: linear-gradient(var(--bg), var(--surface) 20%);
            border-radius: 0;        /* Change from 18px to 0 */
            margin: 0;               /* Add this */

            padding: 2rem 2rem 5rem 2rem;
            text-align: center;
            z-index: 2;
            position: relative;
        }

        .trust-banner h3 {
            font-size: 2.2rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.5rem;
            letter-spacing: -0.01em;
        }

        .trust-banner p {
            color: #86868b;
            margin-bottom: 1.5rem;
            font-size: 1rem;
        }

        .compliance-tags {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .compliance-tag {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 0.5rem 1rem;
            border-radius: var(--radius-pill);
            font-size: 0.875rem;
            color: var(--text);
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .compliance-tag:hover {
            border-color: #d2d2d7;
            transform: translateY(-1px);
        }

        .compliance-tag svg {
            width: 14px;
            height: 14px;
            color: var(--accent);
        }

        .dots-container {
            display: none;
            justify-content: center;
            margin-top: 1.5rem;
            gap: 0.5rem;
        }

        .features-dot {
            width: 8px;
            height: 8px;
            border-radius: var(--radius-full);
            background: #d2d2d7;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .features-dot.active {
            background: var(--accent);
            transform: scale(1.2);
        }

        .pricing-section {
            width: 100%;
            margin: 0;
            padding: 2rem 1.5rem;
            box-sizing: border-box;
            margin-left: calc(50% - 50vw);
        }

        .pricing-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .pricing-header h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 600;
            letter-spacing: -0.025em;
            color: var(--text);
            margin-bottom: 1rem;
        }

        .pricing-header p {
            font-size: 1.25rem;
            color: #86868b;
            font-weight: 400;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .pricing-card {
			display: flex;
            box-sizing: border-box;
			flex-direction: column;
            background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 2rem;
            position: relative;
			transition: border-color 0.3s ease, border-width 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
        }

        .pricing-card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.12);
        }
		.hiaipro{
			font-family: var(--font-sans);
			position: absolute;
			top: 20px;
			left: 20px;
			font-size: 1.2rem;
            line-height: 1.65;
			border: 1px solid #ccc;
			border-radius: var(--radius-pill);
			width: 32px;
			height: 32px;
			text-align: center;
		}
		.hiaipro::after{
			content: 'ai';
			position: absolute;
			transform: translateX(10px);
		}
		/* Eskra badge (homepage pricing cards): bird icon in the circle, no text. */
		.hiaipro.hiaipro--eskra svg{
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
		}
		.hiaipro.hiaipro--eskra::after{
			content: none;
		}
        .selected-card {
            border-color: var(--accent);
            border-width: 2px;
        }

        .savings-badge {
            position: absolute;
            top: -16px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
            color: white;
            padding: 0.2rem 1rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.2rem;
            box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
        }

        .savings-icon {
            width: 16px;
            height: 16px;
        }

        .card-header {
            text-align: center;
            margin-bottom: 0rem;
        }

        .plan-name {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0;
        }

        .savings-text {
            color: var(--accent);
            font-weight: 600;
            font-size: 0.875rem;
            margin-top: 5px;
        }

        .price-section {
            text-align: center;
            margin-bottom: 2rem;
        }

        .price-display {
            display: flex;
            align-items: baseline;
            justify-content: center;
            position: relative;
        }

        .price-amount {
            font-size: 3rem;
            font-weight: 700;
            letter-spacing: -0.03em;
            color: var(--text);
        }
        .price-sale{
            color: var(--accent);
        }
        .price-period {
            font-size: 1.125rem;
            color: #86868b;
            margin-left: 0.25rem;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            position: relative;
            line-height: 1;
        }
        
        .price-old {
                position: absolute;
                bottom: 100%;
                left: 0;
                text-decoration: line-through;
                font-size: 0.875rem;
                color: #86868b;
                white-space: nowrap;
        }
		.pricing-dots-container {
			display: none;
			justify-content: center;
			margin-bottom: 2rem;
			gap: 0.5rem;
		}

		.pricing-dot {
			width: 8px;
			height: 8px;
			border-radius: var(--radius-full);
			background: #d2d2d7;
			cursor: pointer;
			transition: all 0.3s ease;
		}

		.pricing-dot.active {
			background: var(--accent);
			transform: scale(1.2);
		}
        .price-note {
            color: #86868b;
            font-size: 0.875rem;
        }

        .features-list {
            margin-bottom: 2rem;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            font-size: 0.875rem;
            color: var(--text);
        }
        .feature-item.disabled{
            opacity: 0.3;
        }
        .feature-icon {
            width: 20px;
            height: 20px;
            border-radius: var(--radius-full);
            background: #d1fae5;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .feature-icon svg {
            width: 12px;
            height: 12px;
            color: var(--success);
            stroke-width: 3;
        }

        .premium-feature .feature-icon {
            background: rgba(0, 122, 255, 0.1);
        }

        .premium-feature .feature-icon svg {
            color: var(--accent);
        }

        .premium-feature {
            color: var(--accent);
            font-weight: 500;
        }

        .cta-button {
            position: relative;
            margin-top: auto;
            width: 100%;
            cursor: pointer;
            border-radius: .7rem;
            border-width: 0px;
            padding: .75rem 1.25rem;
            font-size: .875rem;
            line-height: 1.25rem;
            font-weight: 600;
            transition-property: all;
            transition-timing-function: cubic-bezier(.4,0,.2,1);
            transition-duration: .2s;
            animation-duration: .2s;
            font-family: 'Montserrat', sans-serif;
            letter-spacing:  -0.2px;
        }

        .cta-button.primary {
            --tw-text-opacity: 1;
            color: rgb(255 255 255 / var(--tw-text-opacity, 1));
            background: var(--gradient-primary);
            box-shadow: var(--shadow-badge);
        }
        #early-access.primary-button::before {
            content: attr(data-discount);
            position: absolute;
            top: 0;
            left: 50%;
            transform: translate(-50%, -50%);
            background: var(--bg);
            color: var(--accent-hover);
            font-size: 0.55rem;
            height: 17px;
            line-height: 17px;
            font-weight: 500;
            padding: 0rem 0.65rem 0rem 0.65rem;
            border-radius: var(--radius-pill);
            border: 0.5px solid var(--accent-hover);
            letter-spacing: 0.025rem;
            display: none;
        }
        
        .cta-button.secondary {
            background: hsl(var(--secondary));
            color: hsl(var(--text-primary));
        }

        .secondary-button {
            background: white;
            color: var(--accent);
            border: 1.5px solid var(--accent);
        }

        .secondary-button:hover {
            background: var(--accent);
            color: white;
            box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
        }

        .promo-callout {
            position: relative;
            overflow: hidden;
            border: 1px dashed rgba(0, 122, 255, 0.4);
            border-radius: var(--radius-md);
            padding: 10px 14px;
            text-align: center;
            background: var(--bg);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateY(-22px);
            min-width: 60%;
            max-width: 600px;
            margin: auto;
        }

        .promo-callout::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
            transition: left 0.5s ease;
        }

        .promo-callout:hover::before {
            left: 100%;
        }

        .promo-callout:hover {
            border-color: var(--accent);
        }

        .promo-highlight {
            position: relative;
            color: var(--accent);
            font-weight: 600;
            font-size: 13px;
        }

        .promo-text {
            position: relative;
            color: rgba(0, 122, 255, 0.7);
            font-size: 12px;
            font-weight: 500;
        }

        .primary-button {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
            color: white;
            box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
        }

        .primary-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
        }

        .trust-indicators {
            text-align: center;
            margin-top: 3rem;
        }

        .trust-indicators p {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
            color: #86868b;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }


/* Trust Banner - Clean & Modern */
.ai-trust-section {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 18px 32px;
  background: var(--bg);

  border-radius: var(--radius-md);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ai-trust-section *,
.ai-trust-section *::before,
.ai-trust-section *::after {
  box-sizing: border-box;
}

/* Header */
.ai-banner-head {
  text-align: center;
  margin-bottom: 40px;
}

.ai-banner-head h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
    font-family: 'Montserrat', sans-serif;
}

.ai-banner-head .ai-lead-text {
  margin: 0;
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Features Grid */
.ai-features-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 32px 0;
  counter-reset: feature-counter;
}

.ai-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 10px;
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  counter-increment: feature-counter;
}

.ai-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) and (max-width: 1100px) {
  .ai-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ai-feature-card:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 14px);
  }
}

.ai-feature-card::before {
  content: counter(feature-counter);
  grid-row: 1 / 2;
  grid-column: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  background: var(--surface);
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
}

.ai-feature-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  align-self: center;
font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.ai-feature-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
}

/* CTA Section */
.ai-cta-section {
  text-align: center;
  margin-top: 36px;
  padding-top: 32px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ai-cta-section .ai-small-text {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: #888888;
}

.ai-primary-btn {
  display: inline-block;
  padding: 12px 28px;
  margin: 0 8px 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--bg);
  background: #333333;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
max-width: 320px;
}

.ai-primary-btn:hover {
  background: #1a1a1a;
}

.ai-cta-link {
  display: inline-block;
  margin: 0 8px 12px;
  font-size: 1rem;
  color: #333333;
  text-decoration: none;
  border-bottom: 1px solid #cccccc;
  transition: border-color 0.2s ease;
}

.ai-cta-link:hover {
  border-bottom-color: #333333;
}

/* Typography refinements */
.ai-trust-section strong {
  font-weight: 600;
  color: #1a1a1a;
}

.ai-trust-section em {
  font-style: italic;
  color: #444444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ai-trust-section {
    padding: 32px 20px;
  }
  
  .ai-banner-head h2 {
    font-size: 1.5rem;
  }
  
  .ai-features-grid {
    grid-template-columns: 1fr;
  }
}

        @media (max-width: 1060px) {
            .privacy-section {
                padding: 2rem 1rem;
                padding-bottom: 0;
            }
            .privacy-header{
                margin-bottom: 2em;
            }
            
            .privacy-section .features-container {
                overflow: hidden;
                width: 100%;
                padding: 20px 0;
                margin-bottom: 0;
            }
            .privacy-section .feature-points li {
                justify-content: flex-start;
                margin-left: 0;
            }
            .privacy-section .features-grid {
                display: flex;
                width: 300%;
                gap: 0;
                transition: transform 0.3s ease-in-out;
            }
            
            .privacy-section .feature-card {
                width: 30%;
                margin: 0 1.75%;
                padding: 1.5rem;
                flex-shrink: 0;
            }

            .dots-container {
                display: flex;
            }

            .compliance-tags {
                gap: 0.5rem;
            }

            .compliance-tag {
                font-size: 0.8rem;
                padding: 0.4rem 0.8rem;
            }
        }

		@media (min-width: 800px) {
			.pricing-grid {
				transition: none !important;
			}
		}
        @media (max-width: 800px) {
            .privacy-section {
                padding: 1.5rem 0.75rem;
                padding-bottom: 0;
            }
            .promo-callout{
                transform: translateY(-12px);
            }
            
            .feature-card {
                padding: 1.25rem;
            }
            
            .trust-banner {
                padding: 1.5rem 1.5rem 3rem 1.5rem;
            }

            .pricing-section {
                padding: 2rem 0;
            }
            .pricing-card {
                padding: 1.5rem;
            }

            .price-amount {
                font-size: 2.5rem;
            }

			.pricing-section {
				overflow: hidden;
			}

			.pricing-grid {
				display: flex;
				width: 200%;
				max-width: none;
				transform: translateX(-50%);
				gap: 0;
				transition: transform 0.3s ease-in-out;
			}
			.features-list{
				width: fit-content;
				margin: auto;
		
			}
			.feature-item{
			      margin-left: calc(-20.4px - 0.75rem);
				  justify-content: center;
			}
			.price-section{
				margin-bottom: 1rem;
			}
			.pricing-card {
				width: 45%;
				margin: 0 2.5%;
				flex-shrink: 0;
			}
			.pricing-header{
				margin-bottom: 2rem;
			}
			.pricing-dots-container {
				display: flex;
			}
        }

@media(max-width: 1000px){
    .font-vietnam {
       font-family: "Be Vietnam Pro", sans-serif;
       font-size: 2.08em;
       letter-spacing: normal;
       font-weight: normal;
    }
    .font-playwrite {
       font-family: "Playwrite ES", cursive;
       font-size: 2em;
       letter-spacing: normal; 
       font-weight: normal;
    }
    .font-silkscreen {
       font-family: Silkscreen, sans-serif;
       font-size: 2.256em;
       letter-spacing: -6.4px;
       font-weight: 400;
    }
    .font-bebas {
       font-family: Bebas Neue, sans-serif;
       font-size: 2.16em;
       letter-spacing: 5.6px;
       font-weight: normal;
    }
}

@media(max-width: 750px){
    .font-vietnam {
       font-family: "Be Vietnam Pro", sans-serif;
       font-size: 1.664em;
       letter-spacing: normal;
       font-weight: normal;
    }
    .font-playwrite {
       font-family: "Playwrite ES", cursive;
       font-size: 1.6em;
       letter-spacing: normal; 
       font-weight: normal;
    }
    .font-silkscreen {
       font-family: Silkscreen, sans-serif;
       font-size: 1.8048em;
       letter-spacing: -5.12px;
       font-weight: 400;
    }
    .font-bebas {
       font-family: Bebas Neue, sans-serif;
       font-size: 1.728em;
       letter-spacing: 4.48px;
       font-weight: normal;
    }
}

@media(max-width: 600px){
    .font-vietnam {
       font-family: "Be Vietnam Pro", sans-serif;
       font-size: 1.331em;
       letter-spacing: normal;
       font-weight: normal;
    }
    .font-playwrite {
       font-family: "Playwrite ES", cursive;
       font-size: 1.28em;
       letter-spacing: normal; 
       font-weight: normal;
    }
    .font-silkscreen {
       font-family: Silkscreen, sans-serif;
       font-size: 1.444em;
       letter-spacing: -4.096px;
       font-weight: 400;
    }
    .font-bebas {
       font-family: Bebas Neue, sans-serif;
       font-size: 1.382em;
       letter-spacing: 3.584px;
       font-weight: normal;
    }
}
@media (max-width: 600px) {
    .hiai-bubbles {
        /* Adjust the grid columns for small screens without stacking */
    grid-template-columns: 45% 10% 45%;
        gap: 10px;
        text-align: center;
    }
    .hiai-gemini,
    .hiai-gpt {
        /* Scale the bubble sizes proportionally */
        width: 40vw;
        height: 40vw;
        max-width: 40vw;
        max-height: 40vw;
        margin: 0;
    }
    .hiai-gpt-logo {
        height: 45px;
    }
    .googleg {
        display: none;
    }
}

/* Hide list on very small screens */
@media (max-width: 500px) {
    .hiai-bubbles{
        gap: 5px;
    }
    .hiai-bubbles ul {
        display: none;
    }
    .hiai-gemini-spark {
        height: 40px;
    }
    .hiai-gemini{
    border: 8px solid var(--bg);
    }
    .hiai-gemini::after {
        height: 42vw;
        width: 42vw;
        border: 18px dashed var(--bg);
    }
    .hiai-gemini::before {
        height: 49vw;
        width: 49vw;
    }
    .hiai-bubbles h3{
        font-size: 1.2em !important;
        letter-spacing:  0.5px;
    }
    .hiai-gpt h3{
        letter-spacing: 0.5px !important;
    }
}
@media (min-width: 1600px) {
    .hiai-gemini {
        border: 22px solid var(--bg);
    }

    .hiai-gemini::before {
        max-height: 490px;
        max-width: 490px;
    }

    .hiai-gemini::after {
        content: '';
        position: absolute;
        height: 42vw;
        width: 42vw;
        max-height: 440px;
        max-width: 440px;
        border-radius: var(--radius-full);
        z-index: -1;
        border: 26px dashed var(--bg);
        animation: hiai-rotate-borderz 100s linear infinite;
    }
    
    .hiai-gpt {
        height: 40vw;
        width: 40vw;
        max-height: 400px;
        max-width: 400px;
        background-color: rgba(16, 163, 127, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--bg);
        text-align: center;
        border-radius: var(--radius-full);
        position: relative;
        overflow: visible;
        margin-right: auto;
    }

    .hiai-gpt::before {
        content: '';
        position: absolute;
        height: 42vw;
        width: 42vw;
        max-height: 460px;
        max-width: 460px;
        border-radius: var(--radius-full);
        border: 16px solid transparent;
    }
}
/* Desktop only - connecting lines */
@media (min-width: 1061px) {
    /* Raise outer cards */
    .privacy-section .feature-card:first-child,
    .privacy-section .feature-card:last-child {
        transform: translateY(-30px);
    }
    .privacy-header h2{
        position: relative;
        cursor: pointer;
    }
    
    /* Left curved line */
    .privacy-header h2::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 48px;
        width: 120px;
        height: 140px;
        transform: translateX(-100%);
        border-top: 2px dashed #d2d2d7;
        border-left: 2px dashed #d2d2d7;
        border-top-left-radius: 14000px;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.8s ease-out;
    }
    
    /* Right curved line */
    .privacy-header h2::after {
        content: '';
        position: absolute;
        right: -20px;
        top: 48px;
        width: 120px;
        height: 140px;
        transform: translateX(100%);
        border-top: 2px dashed #d2d2d7;
        border-right: 2px dashed #d2d2d7;
        border-top-right-radius: 14000px;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.8s ease-out;
    }
    
    /* Middle straight line */
    .privacy-header::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -5px;
        width: 2px;
        height: 65px;
        border-left: 2px dashed #d2d2d7;
        transform: translateX(-50%) translateY(100%);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.6s ease-out;
    }

    /* Active states when fully clear */
    .privacy-header.is-clear h2::before,
    .privacy-header.is-clear h2::after,
    .privacy-header.is-clear h2 ~ .privacy-header::after,
    .privacy-header.is-clear::after {
        clip-path: inset(0 0 0 0);
    }
}

@media (max-width: 1051px) {
    
    /* Middle straight line */
.privacy-header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, 
        #d2d2d7 50%, 
        transparent 50%
    );
    background-size: 2px 8px;
    background-repeat: repeat-y;
    transform: translateX(-50%) translateY(100%);
    animation: dashMove 0.5s linear infinite;
}

@keyframes dashMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 0 8px;
    }
}

}
