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

    :root {
      --bg: #fbfbfd;
      --text: #0f172a;
      --text-muted: #475569;
      --text-light: #64748b;
      --border: rgba(0,0,0,0.08);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* ── NAVBAR ─────────────────────────────────────────────── */
    .navbar-wrap {
      position: sticky;
      top: 0;
      z-index: 50;
      padding: 1rem 2rem 0.5rem;
      pointer-events: none;
    }

    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1420px;
      height: 64px;
      margin: 0 auto;
      padding: 0 1.5rem;
      border-radius: 2rem;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.6);
      box-shadow: 0 4px 24px rgba(0,0,0,0.06);
      pointer-events: auto;
      transition: background 0.3s, box-shadow 0.3s;
    }

    .navbar.scrolled {
      background: rgba(255,255,255,0.6);
      backdrop-filter: blur(32px) saturate(180%);
      -webkit-backdrop-filter: blur(32px) saturate(180%);
      box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    }

    .navbar-nav {
      display: flex;
      flex-direction: row;
      gap: 2rem;
      font-size: 0.9375rem;
      font-weight: 600;
      color: #333;
      list-style: none;
    }
    .navbar-nav li { display: flex; align-items: center; }
    .navbar-nav li::before { display: none; }
    .navbar-nav a { text-decoration: none; color: inherit; transition: color 0.2s; }
    .navbar-nav a:hover { color: #000; }
    .navbar-nav a.active { color: #7c3aed; }

    .navbar-actions { display: flex; align-items: center; gap: 0.75rem; }

    .btn-login {
      font-size: 0.875rem;
      font-weight: 500;
      color: #333;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    .btn-login:hover { opacity: 0.6; }

    .btn-signup {
      display: inline-flex;
      align-items: center;
      white-space: nowrap;
      padding: 0.625rem 1.5rem;
      border-radius: 9999px;
      font-size: 0.875rem;
      font-weight: 500;
      color: #fff;
      text-decoration: none;
      background: linear-gradient(90deg, #4e58fe, #904bf5, #cc01ff, #4e58fe);
      background-size: 300% 100%;
      background-position: 0% 50%;
      transition: background-position 0.6s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .btn-signup:hover {
      background-position: 100% 50%;
      transform: scale(1.05);
      box-shadow: 0 8px 30px rgba(144,75,245,0.35);
    }

    /* ── AMBIENT ─────────────────────────────────────────────── */
    .ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
    .orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.18; }
    .orb-1 { width: 600px; height: 600px; top: -200px; left: -150px; background: radial-gradient(circle, #904bf5, transparent 70%); }
    .orb-2 { width: 400px; height: 400px; top: 100px; right: -100px; background: radial-gradient(circle, #4e58fe, transparent 70%); opacity: 0.12; }
    .orb-3 { width: 500px; height: 300px; bottom: 200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, #cc01ff, transparent 70%); opacity: 0.10; }

    /* ── GRADIENT TEXT ───────────────────────────────────────── */
    .gradient-text {
      background: linear-gradient(90deg, #4e58fe, #904bf5, #cc01ff);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* ── PAGE WRAPPER ────────────────────────────────────────── */
    .page-wrapper {
      position: relative;
      z-index: 1;
    }

    /* ── HERO ────────────────────────────────────────────────── */
    .pricing-hero {
      text-align: center;
      padding: 6rem 1.5rem 4rem;
    }

    .pricing-hero .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
      padding: 0.375rem 1rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: rgba(144,75,245,0.08);
      border: 1px solid rgba(144,75,245,0.2);
      color: #7c3aed;
    }

    .pricing-hero h1 {
      font-size: 56px;
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
      color: var(--text);
      margin-bottom: 1.25rem;
    }

    .pricing-hero p {
      font-size: 1.125rem;
      color: var(--text-muted);
      max-width: 580px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* ── PRICING SECTION ─────────────────────────────────────── */
    .pricing-section {
      position: relative;
      z-index: 1;
      padding: 2rem 1.5rem 7rem;
      overflow: hidden;
    }

    .pricing-glow {
      position: absolute;
      top: 0; left: 50%;
      transform: translateX(-50%);
      width: 800px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, #904bf5, transparent 70%);
      opacity: 0.08;
      filter: blur(120px);
      pointer-events: none;
    }

    .pricing-grid {
      max-width: 1280px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      align-items: stretch;
    }

    .pricing-billing-toggle { display: none; }
    .pricing-billing-toggle.is-visible { display: block; }

    #dynamic-plans { display: contents; }

    .pricing-card-outer {
      position: relative;
    }
    .pricing-card-outer::after {
      content: '';
      position: absolute;
      bottom: -40px; left: 5%; right: 5%;
      height: 80px;
      background: radial-gradient(ellipse at center, rgba(124,58,237,0.55) 0%, rgba(78,88,254,0.3) 40%, transparent 75%);
      opacity: 0;
      transition: opacity 0.5s ease;
      filter: blur(8px);
      z-index: 0;
      pointer-events: none;
    }
    .pricing-card-outer:hover::after { opacity: 1; }

    .pricing-card-border {
      position: relative;
      border-radius: 26px;
      padding: 2px;
      background: rgba(255,255,255,0.08);
      height: 100%;
      overflow: hidden;
    }
    .pricing-card-border::before {
      content: '';
      position: absolute;
      top: 50%; left: 50%;
      width: 250%; height: 250%;
      background: conic-gradient(from 0deg, #4e58fe, #904bf5, #cc01ff, #4e58fe);
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: opacity 0.5s ease;
    }
    .pricing-card-outer:hover .pricing-card-border::before {
      opacity: 1;
      animation: spinBorder 3s linear infinite;
    }
    @keyframes spinBorder {
      to { transform: translate(-50%, -50%) rotate(360deg); }
    }

    .pricing-card {
      position: relative;
      z-index: 1;
      background: rgba(11,11,12,1);
      border-radius: 24px;
      padding: 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      height: 100%;
      transition: transform 0.3s ease;
    }
    .pricing-card:hover { transform: translateY(-4px); }

    .pricing-icon {
      width: 44px; height: 44px;
      border-radius: 0.75rem;
      background: rgba(255,255,255,0.07);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.6);
    }

    .pricing-tier {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #6b7280;
    }

    .pricing-price {
      display: flex;
      align-items: flex-end;
      gap: 0.25rem;
    }
    .pricing-price-amount {
      font-size: 1.5rem;
      font-weight: 600;
      color: #fff;
    }
    .pricing-price-period { font-size: 1.125rem; color: #6b7280; margin-bottom: 0.5rem; }

    .pricing-divider { height: 1px; background: rgba(255,255,255,0.08); }

    .pricing-desc { font-size: 1rem; color: #9ca3af; line-height: 1.75; }

    .pricing-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      flex: 1;
    }
    .pricing-features li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.875rem;
      color: #9ca3af;
    }
    .pricing-features li::before { display: none; }

    .check-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px; height: 18px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .pricing-btn {
      display: inline-block;
      text-align: center;
      padding: 1rem 1.5rem;
      border-radius: 9999px;
      font-size: 0.875rem;
      font-weight: 600;
      color: #fff;
      text-decoration: none;
      margin-top: auto;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .pricing-btn-glass {
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255,255,255,0.35);
      box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.4);
      position: relative;
      overflow: hidden;
    }
    .pricing-btn-glass::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
      border-radius: inherit;
      pointer-events: none;
    }
    .pricing-btn-glass:hover { transform: scale(1.03); background: rgba(255,255,255,0.2); }

    .pricing-btn-gradient {
      background: linear-gradient(90deg, #4e58fe, #904bf5, #cc01ff, #4e58fe);
      background-size: 300% 100%;
      background-position: 0% 50%;
      transition: background-position 0.6s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .pricing-btn-gradient:hover {
      background-position: 100% 50%;
      transform: scale(1.02);
      box-shadow: 0 8px 30px rgba(144,75,245,0.45);
    }

    .pricing-card-pro {
      box-shadow: 0 16px 60px rgba(124,58,237,0.55), 0 4px 16px rgba(0,0,0,0.2);
    }

    /* ── SECURITY SECTION ────────────────────────────────────── */
    .security-section {
      position: relative;
      z-index: 1;
      padding: 5rem 1.5rem 6rem;
    }

    .security-header {
      text-align: center;
      margin-bottom: 3.5rem;
    }

    .security-header h2 {
      font-size: 40px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 1rem;
    }

    .security-header p {
      font-size: 1.125rem;
      color: var(--text-muted);
      max-width: 560px;
      margin: 0 auto;
      line-height: 1.7;
    }

    .security-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .security-card {
      background: #fff;
      border: 1px solid rgba(0,0,0,0.07);
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
      border-radius: 1.25rem;
      padding: 1.75rem;
      transition: box-shadow 0.25s ease, transform 0.25s ease;
    }
    .security-card:hover {
      box-shadow: 0 8px 32px rgba(124,58,237,0.10);
      transform: translateY(-2px);
    }

    .security-icon {
      width: 44px; height: 44px;
      border-radius: 0.875rem;
      background: linear-gradient(135deg, rgba(78,88,254,0.1), rgba(144,75,245,0.1));
      border: 1px solid rgba(124,58,237,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #7c3aed;
      margin-bottom: 1.125rem;
    }

    .security-card h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.625rem;
      border-left: none;
      padding-left: 0;
      margin-top: 0;
      letter-spacing: -0.01em;
    }

    .security-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 0;
    }

    /* ── FAQ SECTION ─────────────────────────────────────────── */
    .faq-section {
      position: relative;
      z-index: 1;
      padding: 5rem 1.5rem 7rem;
    }

    .faq-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .faq-header h2 {
      font-size: 40px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 0.75rem;
    }

    .faq-header p {
      font-size: 1.125rem;
      color: var(--text-muted);
    }

    .faq-list {
      max-width: 780px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .faq-item {
      background: #fff;
      border: 1px solid rgba(0,0,0,0.07);
      border-radius: 1rem;
      overflow: hidden;
      transition: box-shadow 0.2s ease;
    }
    .faq-item:hover { box-shadow: 0 4px 20px rgba(124,58,237,0.08); }
    .faq-item.open { box-shadow: 0 4px 24px rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.18); }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      width: 100%;
      padding: 1.25rem 1.5rem;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--text);
      transition: color 0.2s;
    }
    .faq-item.open .faq-question { color: #7c3aed; }

    .faq-chevron {
      flex-shrink: 0;
      width: 22px; height: 22px;
      border-radius: 50%;
      background: rgba(124,58,237,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease, background 0.2s;
    }
    .faq-item.open .faq-chevron {
      transform: rotate(180deg);
      background: rgba(124,58,237,0.15);
    }
    .faq-chevron svg { display: block; }

    .faq-answer {
      display: none;
      padding: 0 1.5rem 1.25rem;
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.75;
    }
    .faq-item.open .faq-answer { display: block; }

    /* ── FOOTER ──────────────────────────────────────────────── */
    footer {
      position: relative;
      z-index: 1;
      text-align: center;
      padding: 3rem 2rem;
      font-size: 0.8125rem;
      color: var(--text-light);
      border-top: 1px solid var(--border);
    }
    footer a { color: #7c3aed; font-weight: 500; text-decoration: none; }
    footer a:hover { text-decoration: underline; }

    /* ── RESPONSIVE ──────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .security-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 900px) {
      .navbar-nav { display: none; }
      .pricing-hero h1 { font-size: 36px; }
      .pricing-grid { grid-template-columns: 1fr; }
      .security-grid { grid-template-columns: 1fr; }
      .security-header h2 { font-size: 28px; }
      .faq-header h2 { font-size: 28px; }
    }

    @media (max-width: 480px) {
      .pricing-hero h1 { font-size: 28px; }
      .pricing-hero { padding: 4rem 1rem 2.5rem; }
    }
  
    /* ── RESPONSIVE NAVBAR ─────────────────────────────────── */
    @media (max-width: 960px) {
      .navbar-nav { gap: 1.25rem; }
    }

    @media (max-width: 860px) {
      .navbar-nav { gap: 0.875rem; font-size: 0.875rem; }
      .btn-signup { padding: 0.5rem 1.125rem; }
    }

    @media (max-width: 760px) {
      .navbar-nav { display: none; }
    }

    @media (max-width: 680px) {
      .navbar-wrap { padding: 0.75rem 0.75rem 0.4rem; }
      .navbar { padding: 0 1rem; border-radius: 1.5rem; height: 56px; }
      .navbar-logo svg, .navbar > a svg, nav.navbar a > svg { height: 26px; }
      .btn-login { font-size: 0.8rem; }
      .btn-signup { font-size: 0.8rem; padding: 0.5rem 0.875rem; }
    }
