:root {
    --purple: #5E2F92;
    --purple-mid: #7B3DB5;
    --purple-light: #9B5FD4;
    --purple-pale: #F3ECFD;
    --purple-glow: rgba(94, 47, 146, 0.15);
    --black: #0A0A0F;
    --gray-900: #111118;
    --gray-800: #1C1C27;
    --gray-600: #3A3A50;
    --gray-400: #8888A8;
    --gray-200: #DDDDF0;
    --white: #FAFAFA;
    --cream: #F7F4FF;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
  }

  /* ═══ NOISE TEXTURE ═══ */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
  }

  /* ═══ NAV ═══ */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(94, 47, 146, 0.12);
  }
.nav-logo {
  height: 45px;   /* controls logo size */
  width: auto;    /* keeps aspect ratio */
}
.nav-logo-white {
  height: 50px;   /* controls logo size */
  width: auto;    /* keeps aspect ratio */
}



/* icons */
.bi {
  font-size: 24px;
  color: white;
}


  .nav-logo span { color: var(--purple-light); font-style: italic; }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }

  .nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s;
  }

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

  .nav-cta {
    background: var(--purple);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(155, 95, 212, 0.3);
    transition: all 0.2s;
    cursor: pointer;
  }

  .nav-cta:hover {
    background: var(--purple-mid);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(94, 47, 146, 0.4);
  }

  /* ═══ HERO ═══ */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 47, 146, 0.35) 0%, rgba(94, 47, 146, 0.08) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
  }

  .hero-orb-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 61, 181, 0.2) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite reverse;
  }

  @keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(94, 47, 146, 0.15);
    border: 1px solid rgba(94, 47, 146, 0.35);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    color: var(--purple-light);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease forwards;
  }

  .hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-light);
    animation: blink 2s ease-in-out infinite;
  }

  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

  h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(52px, 8vw, 96px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-bottom: 28px;
    animation: fadeInUp 0.7s ease 0.1s both;
  }

  h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--purple-light), #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-400);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 48px;
    font-weight: 300;
    animation: fadeInUp 0.7s ease 0.2s both;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 0.7s ease 0.3s both;
  }

  .btn-primary {
    background: var(--purple);
    color: white;
    padding: 16px 36px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(155, 95, 212, 0.4);
    transition: all 0.25s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .btn-primary:hover {
    background: var(--purple-mid);
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(94, 47, 146, 0.5);
  }

  .btn-secondary {
    color: var(--gray-400);
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .btn-secondary:hover { color: var(--white); }

  .hero-visual {
    margin-top: 80px;
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 0.8s ease 0.4s both;
  }

  .browser-frame {
    background: var(--gray-800);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 80px rgba(94, 47, 146, 0.15);
  }

  .browser-bar {
    background: var(--gray-900);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .browser-dots { display: flex; gap: 7px; }
  .dot { width: 12px; height: 12px; border-radius: 50%; }
  .dot-r { background: #FF5F57; }
  .dot-y { background: #FEBC2E; }
  .dot-g { background: #28C840; }

  .browser-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 12px;
    color: var(--gray-400);
    font-family: 'DM Mono', monospace;
  }

  .browser-content {
    background: linear-gradient(160deg, #0F0A1A 0%, #0A0A0F 100%);
    padding: 32px;
    min-height: 280px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }

  .mock-card {
    background: rgba(94, 47, 146, 0.08);
    border: 1px solid rgba(94, 47, 146, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: shimmer 3s ease-in-out infinite;
  }

  .mock-card:nth-child(2) { animation-delay: 0.5s; }
  .mock-card:nth-child(3) { animation-delay: 1s; }

  @keyframes shimmer {
    0%, 100% { border-color: rgba(94, 47, 146, 0.2); }
    50% { border-color: rgba(94, 47, 146, 0.45); }
  }

  .mock-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }

  .mock-line { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; }
  .mock-line.short { width: 60%; }
  .mock-line.medium { width: 80%; }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ═══ SECTION SHARED ═══ */
  section { padding: 100px 48px; position: relative; }

  .section-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--purple-light);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
  }

  .section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }

  .section-body {
    font-size: 17px;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 540px;
    font-weight: 300;
  }

  /* ═══ PROBLEM ═══ */
  .problem {
    background: var(--gray-900);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .problem-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .pain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .pain-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s, transform 0.5s;
  }

  .pain-item.visible { opacity: 1; transform: translateX(0); }

  .pain-number {
    font-family: 'Instrument Serif', serif;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    min-width: 44px;
    font-style: italic;
  }

  .pain-text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
  }

  .pain-text p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.5;
    font-weight: 300;
  }

  /* ═══ SOLUTION / FEATURES ═══ */
  .features {
    max-width: 1100px;
    margin: 0 auto;
  }

  .features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 64px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
  }

  .feat-card {
    background: var(--gray-900);
    padding: 40px;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
  }

  .feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 47, 146, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .feat-card:hover { background: #141421; }
  .feat-card:hover::before { opacity: 1; }

  .feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(94, 47, 146, 0.15);
    border: 1px solid rgba(94, 47, 146, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
  }

  .feat-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }

  .feat-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
    font-weight: 300;
  }

  /* ═══ STATS ═══ */
  .stats {
    background: linear-gradient(135deg, rgba(94, 47, 146, 0.12), rgba(94, 47, 146, 0.04));
    border-top: 1px solid rgba(94, 47, 146, 0.15);
    border-bottom: 1px solid rgba(94, 47, 146, 0.15);
  }

  .stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
  }

  .stat-block {
    padding: 48px 32px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.05);
  }

  .stat-block:last-child { border-right: none; }

  .stat-num {
    font-family: 'Instrument Serif', serif;
    font-size: 56px;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }

  .stat-num span {
    background: linear-gradient(135deg, var(--purple-light), #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .stat-label {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 400;
    line-height: 1.4;
  }

  /* ═══ PRICING ═══ */
  .pricing {
    max-width: 1100px;
    margin: 0 auto;
  }

  .pricing-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
  }

  .price-card {
    background: var(--gray-900);
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s;
    position: relative;
  }

  .price-card:hover {
    border-color: rgba(94, 47, 146, 0.4);
    transform: translateY(-4px);
  }

  .price-card.featured {
    background: linear-gradient(160deg, rgba(94, 47, 146, 0.2), rgba(94, 47, 146, 0.05));
    border-color: rgba(94, 47, 146, 0.5);
    transform: scale(1.03);
  }

  .price-card.featured:hover { transform: scale(1.03) translateY(-4px); }

  .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
  }

  .plan-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 12px;
  }

  .price-amount {
    font-family: 'Instrument Serif', serif;
    font-size: 42px;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
  }

  .price-currency {
    font-size: 16px;
    color: var(--gray-400);
    font-family: 'DM Sans', sans-serif;
  }

  .price-period { font-size: 13px; color: var(--gray-400); margin-bottom: 24px; }

  .price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

  .price-features li {
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .price-features li::before {
    content: '✓';
    color: var(--purple-light);
    font-weight: 700;
    flex-shrink: 0;
  }

  .price-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(94, 47, 146, 0.4);
    background: transparent;
    color: var(--purple-light);
    transition: all 0.2s;
    text-align: center;
  }

  .price-btn:hover {
    background: rgba(94, 47, 146, 0.15);
  }

  .price-btn.featured-btn {
    background: var(--purple);
    color: white;
    border-color: transparent;
  }

  .price-btn.featured-btn:hover {
    background: var(--purple-mid);
    box-shadow: 0 8px 24px rgba(94, 47, 146, 0.4);
  }

  /* ═══ CTA / DEMO ═══ */
  .cta-section {
    text-align: center;
    padding: 140px 48px;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 47, 146, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .cta-section .section-title { font-size: clamp(40px, 6vw, 72px); max-width: 720px; margin: 0 auto 20px; }
  .cta-section .section-body { margin: 0 auto 48px; text-align: center; }

  /* ═══ DEMO MODAL ═══ */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .modal-overlay.open { display: flex; }

  .modal {
    background: var(--gray-900);
    border: 1px solid rgba(94, 47, 146, 0.3);
    border-radius: 20px;
    padding: 48px;
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: modalIn 0.3s ease;
    box-shadow: 0 40px 120px rgba(0,0,0,0.8), 0 0 60px rgba(94, 47, 146, 0.2);
  }

  @keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  .modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.07);
    border: none;
    border-radius: 50%;
    color: var(--gray-400);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .modal-close:hover { background: rgba(255,255,255,0.12); }

  .modal-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
  }

  .modal h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 28px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }

  .modal p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.6;
  }

  .form-group { margin-bottom: 16px; }

  .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 6px;
  }

  .form-group input, .form-group select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--white);
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
  }

  .form-group input:focus, .form-group select:focus {
    border-color: rgba(94, 47, 146, 0.6);
    background: rgba(94, 47, 146, 0.05);
  }

  .form-group select option { background: #1C1C27; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--purple);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
  }

  .submit-btn:hover {
    background: var(--purple-mid);
    box-shadow: 0 12px 40px rgba(94, 47, 146, 0.5);
    transform: translateY(-1px);
  }

  .success-msg {
    display: none;
    text-align: center;
    padding: 32px 0;
  }

  .success-msg.show { display: block; }

  .success-checkmark {
    font-size: 52px;
    margin-bottom: 16px;
    display: block;
  }

  .success-msg h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 26px;
    margin-bottom: 8px;
  }

  .success-msg p { color: var(--gray-400); font-size: 14px; }

  /* ═══ FOOTER ═══ */
  footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    font-family: 'Instrument Serif', serif;
    font-size: 20px;
    color: var(--white);
  }

  .footer-logo span { color: var(--purple-light); font-style: italic; }

  footer p {
    font-size: 13px;
    color: var(--gray-600);
  }

  /* ═══ SCROLL ANIMATIONS ═══ */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ═══ DIVIDER ═══ */
  .divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin: 0;
  }


  /* Responsive */
  @media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    section { padding: 72px 24px; }
    .problem-inner, .features-header { grid-template-columns: 1fr; gap: 48px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .browser-content { grid-template-columns: 1fr; }
    footer { flex-direction: column; gap: 16px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .modal { padding: 32px 24px; }
      .pricing-grid {
    grid-template-columns: 1fr !important;
  }
  }