@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/DM-Sans-Regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/DM-Sans-Medium.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/DM-Sans-SemiBold.woff2?v=1') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/DM-Sans-Bold.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Space-Mono-Regular.woff2') format('woff2');
}
:root {
    --bg-primary: #0C0B14;
    --bg-secondary: #13121D;
    --bg-card: #19182480;
    --bg-card-solid: #191824;
    --purple-primary: #AB9FF2;
    --purple-bright: #8B5CF6;
    --purple-glow: #7C3AED;
    --purple-deep: #6D28D9;
    --purple-dark: #4C1D95;
    --white: #FFFFFF;
    --black: #000000;
    --text-primary: #F5F3FF;
    --text-secondary: #A5A0C8;
    --text-muted: #6B6794;
    --border: #2A2740;
    --success: #34D399;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--purple-primary) var(--bg-primary);
  }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  .page { display: none; min-height: 100vh; }
  .page.active { display: block; }

  .ambient-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .ambient-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: orbFloat 20s ease-in-out infinite;
  }
  .ambient-bg .orb-1 {
    width: 600px; height: 600px;
    background: var(--purple-deep);
    top: -200px; left: -100px;
    animation-delay: 0s;
  }
  .ambient-bg .orb-2 {
    width: 500px; height: 500px;
    background: var(--purple-glow);
    top: 40%; right: -150px;
    animation-delay: -7s;
    opacity: 0.2;
  }
  .ambient-bg .orb-3 {
    width: 400px; height: 400px;
    background: #4338CA;
    bottom: -100px; left: 30%;
    animation-delay: -14s;
    opacity: 0.15;
  }
  @keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
  }

  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(12, 11, 20, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(171, 159, 242, 0.06);
    transition: all 0.3s;
  }
  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
  }
  .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-glow));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    overflow: hidden;
  }
  .logo-img {
    max-width: 100%;
  }
  .logo-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    letter-spacing: -0.3px;
  }
  .logo-text span { color: var(--purple-primary); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-links a:not(.btn-primary) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    transition: all 0.2s;
  }
  .nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
  
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-glow));
    color: white;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 32px rgba(139, 92, 246, 0.45);
  }
  .btn-ghost {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
  }
  .btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--purple-primary);
  }

  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
  }
  .mobile-toggle svg { display: block; }

  .hero {
    position: relative;
    z-index: 1;
    padding: 160px 24px 100px;
    text-align: center;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--purple-primary);
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease;
  }
  .hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .hero h1 {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease 0.1s both;
  }
  .hero h1 .gradient {
    background: linear-gradient(135deg, var(--purple-primary), #C4B5FD, var(--purple-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: fadeUp 0.8s ease 0.2s both;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.3s both;
  }
  .hero-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: center;
    margin-bottom: 12px;
    animation: fadeUp 0.8s ease 0.25s both;
  }
  .hero-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
  }
  .hero-price .period {
    color: var(--text-muted);
    font-size: 16px;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .phone-section {
    position: relative;
    z-index: 1;
    padding: 40px 24px 100px;
    display: flex;
    justify-content: center;
  }
  .phone-mockup {
    animation: phoneFloat 6s ease-in-out infinite;
  }
.phone-mockup img {
  width: 280px;
}
  @keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }

  .features {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .section-label {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--purple-primary);
    margin-bottom: 16px;
  }
  .section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 56px;
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s;
    backdrop-filter: blur(12px);
  }
  .feature-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }
  .feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }
  .feature-icon svg { width: 22px; height: 22px; color: var(--purple-primary); }
  .feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
  }
  .feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  .how-it-works {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
  }
  .steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .step {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    position: relative;
  }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 72px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--purple-primary), transparent);
  }
  .step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.12);
    border: 2px solid var(--purple-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--purple-primary);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }
  .step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
  }
  .step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  .pricing {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
  }
  .pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
  }
  .pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
  }
  .pricing-card .tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
  }
  .pricing-card .price {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 4px;
  }
  .pricing-card .price-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
  }
  .pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
  }
  .pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .pricing-features li:last-child { border: none; }
  .pricing-features li svg {
    width: 18px; height: 18px;
    color: var(--success);
    flex-shrink: 0;
  }
  .pricing-card .btn { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }

  .disclaimer {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 40px;
  }
  .disclaimer-box {
    background: rgba(234, 179, 8, 0.06);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
  }
  .disclaimer-box p {
    font-size: 13px;
    color: #D4A843;
    line-height: 1.6;
  }
  .disclaimer-box strong { color: #EAB308; }

  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-copy {
    font-size: 13px;
    color: var(--text-muted);
  }
  .footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--purple-primary); }
  .footer-links a svg { width: 16px; height: 16px; }

  .login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
  }
  .login-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 36px;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
  }
  .login-card .logo {
    justify-content: center;
    margin-bottom: 36px;
  }
  .login-card h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
  }
  .login-card .subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 36px;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
  }
  .form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
  }
  .form-group input::placeholder {
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
  }
  .form-group input:focus {
    border-color: var(--purple-bright);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  }
  .login-card .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; margin-top: 8px; }
  .login-back {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .login-back:hover { color: var(--purple-primary); }
  .login-error {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #F87171;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    margin-top: 16px;
    text-align: center;
  }
  .login-success {
    display: none;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: var(--success);
    font-size: 13px;
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    margin-top: 16px;
    text-align: center;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12, 11, 20, 0.95);
    backdrop-filter: blur(24px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 16px 40px;
    border-radius: var(--radius-xs);
    transition: all 0.2s;
  }
  .mobile-menu a:hover { background: rgba(255,255,255,0.05); }
  .mobile-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
  }

.platform-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0 0;
  }
  .platform-divider::before,
  .platform-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }
  .platform-divider span {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    white-space: nowrap;
  }

  @media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 680px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .features-grid { grid-template-columns: 1fr; }
    .hero { padding: 130px 20px 60px; }
    .phone-mockup img { width: 240px; }
    .pricing-card { padding: 36px 24px; }
    .login-card { padding: 36px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
  }
