    /* =====================================================
   GLASS DESIGN TOKENS (SYNC WITH INDEX)
===================================================== */
:root {
  --bg-main: linear-gradient(to bottom right, hsl(148, 41%, 87%));
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.5);

  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;

  --accent: #6c47ff;
  --accent-soft: rgba(108, 71, 255, 0.15);

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 26px 60px rgba(0, 0, 0, 0.18);
}


    /* GLOBAL RESET */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
  font-family: "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
}

    /* NAVIGATION BAR */
    .top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 1200px;
  margin: 18px auto;
  padding: 1.4rem 2.8rem;

  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-soft);
}



    .logo {
  height: 44px;       /* 🔽 reduced */
  max-width: 160px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo {
    height: 38px;
  }
}



    .nav-links {
  display: flex;
  align-items: center;
  list-style: none;

  gap: 14px;                 /* 🔑 consistent spacing */
}


    .nav-links li a {
    text-decoration: none;
    font-weight: 600;
    color: #1f2937;

    padding: 8px 18px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);

    transition: all 0.25s ease;
}


    .nav-links li a:hover {
        background-color: rgba(108, 71, 255, 0.1);
        border-color: hsl(148, 41%, 87%);
        color: #6c47ff;
        transform: translateY(-2px);
    }

    .nav-links li a:active {
        transform: translateY(0);
    }

    .top-nav {
  position: relative;      /* 🔑 creates control */
  z-index: 100000;         /* 🔥 ABOVE cards */
}


    /* PROFILE AVATAR */
    .profile-avatar {
        width: 60px;
        height: 60px;
        border-radius: 80%;
        overflow: hidden;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.4);
        background-color: #0debff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* HERO SECTIONS */
    .hero-section {
        display: flex;
        background: var(--glass-bg);
        backdrop-filter: blur(18px);
        justify-content: space-between;
        align-items: center;
        padding: 4rem 10%;
        min-height: 70vh;
        transition: all 0.4s ease-in-out;
        flex-wrap: wrap;
         border: 1px solid var(--glass-border);
          border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
    }

    .hero-left {
        max-width: 50%;
    }

    .alt-section {
    display: none;
    flex-direction: column;
    align-items: center;

    padding: 2.8rem 8%;
    min-height: auto;

    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);

    transition: all 0.4s ease-in-out;
    background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}



    .alt-section .hero-left {
        max-width: 100%;
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 3.5rem;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 1.5rem;
    }

    .hero-left p {
        font-size: 1.2rem;
        color: #353030;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .build-btn {
        background-color: #ff7096;
        color: rgb(255, 255, 255);
        font-weight: 600;
        font-size: 1rem;
        padding: 0.9rem 2rem;
        border: none;
        border-radius: 40px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(255, 112, 150, 0.4);
        position: relative;
        overflow: hidden;
    }

    .build-btn:hover {
        background-color: #e95780;
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(255, 112, 150, 0.6);
    }

    .build-btn:active {
        transform: translateY(-1px);
    }

    .build-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .build-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .hero-right {
        max-width: 50%;
    }

    .flicko-img {
        width: 420px;
        max-width: 90vw;
        animation: float 4s ease-in-out infinite;
    }

    @keyframes float {
        0% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0); }
    }

    /* EXTENSIONS PAGE STYLES */
    .extensions-title {
        font-family: 'Orbitron', monospace;
        font-size: 4rem;
        font-weight: 900;
        background: linear-gradient(135deg, #6c47ff, #da7bff, #ff7096);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        margin-bottom: 1rem;
        text-shadow: 0 0 30px rgba(108, 71, 255, 0.3);
    }

    .extensions-subtitle {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1.4rem;
        color: #555;
        text-align: center;
        margin-bottom: 3rem;
        font-weight: 500;
    }

    /* HORIZONTAL EXTENSIONS GRID */
    .extensions-grid-horizontal {
        display: flex;
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        justify-content: center;
        align-items: stretch;
    }

    .extension-card {
        position: relative;
        width: 320px;
        height: 500px;
        border-radius: 20px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        animation: cardFloat 6s ease-in-out infinite;
        background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(14px);

    }

    .extension-card:nth-child(1) { animation-delay: 0s; }
    .extension-card:nth-child(2) { animation-delay: 2s; }
    .extension-card:nth-child(3) { animation-delay: 4s; }

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(1.5deg);
  }
}



    .extension-card:hover {
        transform: translateY(-15px) scale(1.03) rotateX(3deg);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    }

    /* 🔑 License Popup Styling */
    .license-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    }

    .license-popup.hidden {
    display: none;
    }

    .license-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(1.5px);
    }

    .license-popup-box {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2;
    width: 90%;
    max-width: 400px;
    animation: popupFadeIn 0.3s ease;
    }

    #activation-status-popup .license-popup-box {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #e5e7eb;
    box-shadow: 0 0 40px rgba(0, 255, 200, 0.2);
    }

    #activation-status-popup h3 {
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    }


    .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    }

    .popup-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6c47ff, #ff7096);
    background-clip: text;            /* ✅ ADD THIS */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }



    .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #444;
    }

    .popup-body {
    text-align: center;
    }

    .popup-body p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    }

    .popup-footer {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    }

    .popup-footer button {
    flex: 1;
    }


    .plan-label {
    font-weight: 500;
    color: #444;
    }

    .license-box {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin: 15px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 16px;
    }

    .expiry-info {
    color: #666;
    font-size: 14px;
    }

    .ok-btn {
    background: linear-gradient(90deg, #007bff, #00c2ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    }

    .secondary-btn {
    background: rgba(0, 0, 0, 0.08);
    color: #333;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    }

    .secondary-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    }

    .ok-btn:hover {
    opacity: 0.9;
    }


    @keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
    }


    /* Card Background Patterns */
    .flicktrain-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .flickpulse-card {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    .flickchat-card {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .card-background-pattern {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.1;
        background-image:
            radial-gradient(circle at 25% 25%, white 2px, transparent 2px),
            radial-gradient(circle at 75% 75%, white 2px, transparent 2px);
        background-size: 40px 40px;
        animation: patternMove 20s linear infinite;
    }

    .train-img {
        width: 70px;
        max-width: 40vw;
        animation: iconPulse 4s ease-in-out infinite;
    }

    .heart-img {
        width: 70px;
        max-width: 30vw;
        animation: iconPulse 4s ease-in-out infinite;
    }

    .ai-img {
        width: 70px;
        max-width: 30vw;
        animation: iconPulse 4s ease-in-out infinite;
    }

    .install-img {
        width: 35px;
        max-width: 20vw;
    }

    @keyframes patternMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(40px, 40px); }
    }

    .card-glow {
        position: absolute;
        top: -50%;
        left: -50%;
        right: -50%;
        bottom: -50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: glowRotate 8s linear infinite;
    }

    @keyframes glowRotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
}


    .extension-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        animation: iconBounce 2s ease-in-out infinite;
    }

    @keyframes iconBounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-8px); }
        60% { transform: translateY(-4px); }
    }

    .extension-card h3 {
        font-family: 'Orbitron', monospace;
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .extension-description {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
        margin-bottom: 1.2rem;
        font-weight: 400;
    }

    .features-list {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }

    .feature {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
    }

    .install-btn, .coming-soon-btn {
        position: relative;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        padding: 0.8rem 1.5rem;
        border: none;
        border-radius: 40px;
        cursor: pointer;
        transition: all 0.3s ease;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    

    .install-btn {
    text-decoration: none;
}


    .install-btn {
        background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
        color: white;
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    }

    .install-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6);
        background: linear-gradient(45deg, #ff5252, #26a69a);
    }

    .install-btn:active {
        transform: translateY(0px);
    }

    .install-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .coming-soon-btn {
        background: rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.8);
        cursor: not-allowed;
        backdrop-filter: blur(10px);
    }

    .btn-icon {
        font-size: 1.1rem;
        animation: iconPulse 2s ease-in-out infinite;
    }

    @keyframes iconPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.15); }
    }

    .card-particles {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        background-image:
            radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
            radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
            radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent);
        background-repeat: repeat;
        background-size: 150px 100px;
        animation: particleFloat 15s linear infinite;
    }

    @keyframes particleFloat {
        0% { transform: translateY(0px); }
        100% { transform: translateY(-100px); }
    }

    #section-prices {
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }


    /* PRICING STYLES */
    .pricing-title {
        font-family: 'Orbitron', monospace;
        font-size: 4rem;
        font-weight: 900;
        background: linear-gradient(135deg, #47ffed, #da7bff, #ff7096);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        margin-bottom: 1rem;
        text-shadow: 0 0 30px rgba(108, 71, 255, 0.3);
    }

    .pricing-subtitle {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1.4rem;
        color: #555;
        text-align: center;
        margin-bottom: 2rem;
        font-weight: 500;
    }

    .pricing-cards-container {
        display: flex;
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
        padding: 2rem 1rem;
        justify-content: center;
        align-items: stretch;
    }

    .pricing-card {
        position: relative;
        width: 360px;
        min-height: 420px;          /* ✅ compact base size */
        border-radius: 24px;
        overflow: hidden;
        cursor: pointer;

        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        transition: all 0.4s ease;
        animation: pricingFloat 8s ease-in-out infinite;
        background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(14px);

    }


    .pricing-card:nth-child(1) { animation-delay: 0s; }
    .pricing-card:nth-child(2) { animation-delay: 1s; }
    .pricing-card:nth-child(3) { animation-delay: 2s; }

    @keyframes pricingFloat {
        0%, 100% { transform: translateY(0px) rotateY(0deg); }
        25% { transform: translateY(-8px) rotateY(1deg); }
        50% { transform: translateY(-15px) rotateY(0deg); }
        75% { transform: translateY(-8px) rotateY(-1deg); }
    }

    .pricing-card:hover {
        transform: translateY(-20px) scale(1.05) rotateY(5deg);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    }

    .essential-plan {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .smart-plan {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        border: 3px solid #ffd700;
        position: relative;
    }

    .powerful-plan {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .powerful-img {
        width: 70px;
        max-width: 40vw;
        animation: iconPulse 4s ease-in-out infinite;
    }

    .smartest-img {
        width: 70px;
        max-width: 40vw;
        animation: iconPulse 4s ease-in-out infinite;
    }

    .essential-img {
        width: 70px;
        max-width: 40vw;
        animation: iconPulse 4s ease-in-out infinite;
    }

    .featured-badge {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(45deg, #ffd700, #ffed4e);
        color: #333;
        padding: 0.5rem 1.5rem;
        border-radius: 20px;
        font-weight: 700;
        font-size: 0.85rem;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        animation: badgePulse 2s ease-in-out infinite;
    }

    @keyframes badgePulse {
        0%, 100% { transform: translateX(-50%) scale(1); }
        50% { transform: translateX(-50%) scale(1.05); }
    }

    .pricing-card-glow {
        position: absolute;
        top: -50%;
        left: -50%;
        right: -50%;
        bottom: -50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: glowRotate 10s linear infinite;
    }

    .pricing-card-particles {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        background-image:
            radial-gradient(3px 3px at 25% 25%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(2px 2px at 75% 75%, rgba(255, 255, 255, 0.2), transparent),
            radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent);
        background-repeat: repeat;
        background-size: 80px 80px;
        animation: particleFloat 20s linear infinite;
    }

    .pricing-header {
        position: relative;
        z-index: 10;
        text-align: center;
        margin-bottom: 1.4rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 1.3rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .plan-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        animation: iconBounce 3s ease-in-out infinite;
    }

    .pricing-header h3 {
        font-family: 'Orbitron', monospace;
        font-size: 2rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .price {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 0.2rem;
    }

    .currency {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .amount {
        font-size: 3rem;
        font-weight: 800;
        color: white;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .period {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .pricing-features {
        position: relative;
        z-index: 10;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 1.3rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 1.4rem;
    }
    /* Hide pricing details on cards (moved to popup) */
    .pricing-card .pricing-features {
        display: none;
    }
    .pricing-card {
        justify-content: flex-start;   /* 👈 important */
    }

    .pricing-card .pay-btn {
        margin-top: auto;              /* 👈 pushes button to bottom */
    }



    .pricing-features .feature {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .pricing-features .feature-disabled {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.5);
        font-weight: 500;
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .pay-btn {
        position: relative;
        z-index: 10;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 1rem 2rem;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .pay-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none !important;
    }

    .essential-btn {
        background: linear-gradient(45deg, #667eea, #764ba2);
        color: white;
    }

    .smart-btn {
        background: linear-gradient(45deg, #64efed, #4ecd54);
        color: white;
        animation: payBtnGlow 2s ease-in-out infinite;
    }

    .powerful-btn {
        background: linear-gradient(45deg, #4facfe, #00f2fe);
        color: white;
    }

    @keyframes payBtnGlow {
        0%, 100% { box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4); }
        50% { box-shadow: 0 15px 40px rgba(255, 107, 107, 0.7); }
    }

    .pay-btn:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }

    .pay-btn:active:not(:disabled) {
        transform: translateY(0px);
    }

    .show-details {
    position: relative;
    z-index: 20;
    cursor: pointer;
    }

    /* POLICIES SECTION STYLES */
    .policies-container {
        display: flex;
        gap: 3rem;
        justify-content: center;
        align-items: flex-start;
        margin-top: 3rem;
        flex-wrap: wrap;
    }

    .policy-card {
        position: relative;
        width: 450px;
        min-height: 700px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 2.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        animation: cardFloat 6s ease-in-out infinite;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(14px);

    }

    .policy-card:nth-child(1) {
        animation-delay: 0s;
    }

    .policy-card:nth-child(2) {
        animation-delay: 1s;
    }

    .policy-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        border-color: rgba(108, 71, 255, 0.4);
    }

    /* Bubble Background Animation */
    .policy-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(108, 71, 255, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255, 112, 150, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 40% 80%, rgba(169, 235, 207, 0.1) 0%, transparent 50%);
        animation: bubbleMove 8s ease-in-out infinite;
        z-index: -1;
    }

    @keyframes bubbleMove {
        0%, 100% {
            background: radial-gradient(circle at 20% 50%, rgba(108, 71, 255, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(255, 112, 150, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 40% 80%, rgba(169, 235, 207, 0.1) 0%, transparent 50%);
        }
        25% {
            background: radial-gradient(circle at 40% 30%, rgba(108, 71, 255, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 70% 60%, rgba(255, 112, 150, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 20% 70%, rgba(169, 235, 207, 0.15) 0%, transparent 50%);
        }
        50% {
            background: radial-gradient(circle at 80% 70%, rgba(108, 71, 255, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 30% 80%, rgba(255, 112, 150, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 60% 20%, rgba(169, 235, 207, 0.1) 0%, transparent 50%);
        }
        75% {
            background: radial-gradient(circle at 60% 40%, rgba(108, 71, 255, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 20% 30%, rgba(255, 112, 150, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 80% 60%, rgba(169, 235, 207, 0.15) 0%, transparent 50%);
        }
    }

    .policy-card-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .policy-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
        background: linear-gradient(135deg, #6c47ff, #da7bff);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
        animation: iconPulse 2s ease-in-out infinite;
    }

    .policy-card-header h3 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 0.5rem;
    }

    .policy-card-header p {
        color: #666;
        font-size: 1rem;
        opacity: 0.9;
    }

    .policy-content {
        max-height: 400px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .policy-content::-webkit-scrollbar {
        width: 6px;
    }

    .policy-content::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    .policy-content::-webkit-scrollbar-thumb {
        background: rgba(108, 71, 255, 0.3);
        border-radius: 3px;
    }

    .policy-content::-webkit-scrollbar-thumb:hover {
        background: rgba(108, 71, 255, 0.5);
    }

    .policy-section {
        margin-bottom: 1.5rem;
    }

    .policy-section h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
        padding-bottom: 0.3rem;
        border-bottom: 2px solid rgba(108, 71, 255, 0.2);
    }

    .policy-section p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: #555;
        margin-bottom: 0.8rem;
    }

    .policy-section ul {
        margin-left: 1rem;
        margin-bottom: 0.8rem;
    }

    .policy-section li {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #555;
        margin-bottom: 0.3rem;
    }

    .expand-btn {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, #6c47ff, #da7bff);
        color: white;
        border: none;
        padding: 0.8rem 2rem;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 20px rgba(108, 71, 255, 0.3);
    }

    .expand-btn:hover {
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 12px 25px rgba(108, 71, 255, 0.4);
        background: linear-gradient(135deg, #5a3de6, #c869e6);
    }

    .expand-btn:active {
        transform: translateX(-50%) translateY(0px);
    }

    /* MODAL STYLES - FIXED: Better scrolling functionality */
    .policy-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        backdrop-filter: blur(5px);
        animation: modalFadeIn 0.3s ease-out;
        overflow-y: auto; /* ADDED: Enable scrolling on modal container */
        padding: 2rem 0; /* ADDED: Padding for better mobile experience */
    }

    @keyframes modalFadeIn {
        from { 
            opacity: 0;
            backdrop-filter: blur(0px);
        }
        to { 
            opacity: 1;
            backdrop-filter: blur(5px);
        }
    }

    .policy-modal-content {
        position: relative; /* CHANGED: From absolute to relative */
        margin: 0 auto; /* CHANGED: Use margin for centering */
        background: white;
        width: 90%;
        max-width: 800px;
        min-height: 80vh; /* ADDED: Minimum height */
        border-radius: 20px;
        padding: 3rem 2rem 2rem; /* INCREASED: Top padding for close button */
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
        animation: modalSlideIn 0.3s ease-out;
        display: block; /* CHANGED: From flex to block */
    }

    @keyframes modalSlideIn {
        from { 
            transform: translateY(-30px);
            opacity: 0;
            scale: 0.95;
        }
        to { 
            transform: translateY(0);
            opacity: 1;
            scale: 1;
        }
    }

    /* FIXED: Modal close button positioning */
    .modal-close {
        position: absolute;
        top: 20px;
        right: 25px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(108, 71, 255, 0.2);
        font-size: 28px;
        cursor: pointer;
        color: #666;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        font-weight: bold;
    }

    .modal-close:hover {
        color: #fff;
        background: linear-gradient(135deg, #6c47ff, #da7bff);
        border-color: transparent;
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 8px 25px rgba(108, 71, 255, 0.4);
    }

    .modal-close:active {
        transform: rotate(90deg) scale(1.05);
    }

    /* ENHANCED: Modal title styling */
    .policy-modal-content h2 {
        font-family: 'Orbitron', monospace;
        font-size: 2.2rem;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 2.5rem;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 3px solid #6c47ff;
        position: relative;
    }

    .policy-modal-content h2::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #da7bff, #ff7096);
        border-radius: 2px;
    }

    /* IMPROVED: Policy section styling in modal */
    .policy-modal-content .policy-section {
        margin-bottom: 2.5rem;
        padding: 1.5rem;
        background: rgba(108, 71, 255, 0.02);
        border-radius: 12px;
        border-left: 4px solid #6c47ff;
    }

    .policy-modal-content .policy-section:last-child {
        margin-bottom: 1rem;
    }

    .policy-modal-content .policy-section h4 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid rgba(108, 71, 255, 0.2);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .policy-modal-content .policy-section h4::before {
        content: '📋';
        font-size: 1.2rem;
    }

    .policy-modal-content .policy-section p {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #444;
        margin-bottom: 1.2rem;
        text-align: justify;
    }

    .policy-modal-content .policy-section ul {
        margin-left: 0;
        margin-bottom: 1.2rem;
        list-style: none;
    }

    .policy-modal-content .policy-section li {
        font-size: 1rem;
        line-height: 1.6;
        color: #444;
        margin-bottom: 0.8rem;
        position: relative;
        padding-left: 2rem;
        background: rgba(255, 255, 255, 0.5);
        padding: 0.8rem;
        padding-left: 2.5rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        border: 1px solid rgba(108, 71, 255, 0.1);
    }

    .policy-modal-content .policy-section li::before {
        content: "✓";
        color: #6c47ff;
        font-weight: bold;
        position: absolute;
        left: 1rem;
        top: 0.8rem;
        font-size: 1.1rem;
    }

    .policy-modal-content .policy-section li strong {
        color: #6c47ff;
        font-weight: 600;
    }

    /* ENHANCED: Mobile responsiveness for modals */
    @media (max-width: 768px) {
        .policy-modal {
            padding: 1rem 0;
        }
        
        .policy-modal-content {
            width: 95%;
            margin: 1rem auto;
            padding: 2.5rem 1.5rem 1.5rem;
            min-height: auto;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .policy-modal-content h2 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
        }
        
        .modal-close {
            top: 15px;
            right: 20px;
            width: 40px;
            height: 40px;
            font-size: 24px;
        }
        
        .policy-modal-content .policy-section {
            margin-bottom: 2rem;
            padding: 1rem;
        }
        
        .policy-modal-content .policy-section h4 {
            font-size: 1.2rem;
        }
        
        .policy-modal-content .policy-section p {
            font-size: 1rem;
        }
        
        .policy-modal-content .policy-section li {
            font-size: 0.95rem;
            padding: 0.6rem;
            padding-left: 2rem;
        }
    }

    @media (max-width: 480px) {
        .policy-modal-content {
            width: 98%;
            padding: 2rem 1rem 1rem;
        }
        
        .policy-modal-content h2 {
            font-size: 1.5rem;
        }
        
        .modal-close {
            top: 10px;
            right: 15px;
            width: 35px;
            height: 35px;
            font-size: 20px;
        }
    }


    /* ADDED: Smooth scrolling for modal content */
    .policy-modal-content {
        scroll-behavior: smooth;
    }

    /* ADDED: Custom scrollbar for webkit browsers */
    .policy-modal-content::-webkit-scrollbar {
        width: 8px;
    }

    .policy-modal-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }

    .policy-modal-content::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #6c47ff, #da7bff);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .policy-modal-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #5a3de6, #c869e6);
    }

    /* ADDED: Focus styles for accessibility */
    .policy-modal-content:focus {
        outline: none;
    }

    .policy-modal-content:focus-within {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(108, 71, 255, 0.3);
    }

    /* RESPONSIVE DESIGN */
    @media (max-width: 1200px) {
        .extensions-grid-horizontal {
            flex-wrap: wrap;
            justify-content: center;
        }

        .pricing-cards-container {
            flex-wrap: wrap;
            justify-content: center;
        }
    }

    @media (max-width: 768px) {
        .top-nav {
            flex-direction: column;
            gap: 1rem;
            padding: 1.4rem 3.2rem;
        }

        .nav-links {
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.8rem;
        }

        .nav-links li a {
            padding: 6px 12px;
            font-size: 0.9rem;
        }

        .hero-section {
            flex-direction: column;
            text-align: center;
            padding: 2rem 5%;
        }

        .alt-section {
            padding: 2rem 5%;
        }

        .hero-left, .hero-right {
            max-width: 100%;
        }

        .hero-left h1 {
            font-size: 2.2rem;
        }

        .extensions-title, .pricing-title {
            font-size: 2.5rem;
        }

        .extensions-subtitle, .pricing-subtitle {
            font-size: 1.1rem;
        }

        .flicko-img {
            margin-top: 2rem;
            width: 300px;
        }

        .extensions-grid-horizontal {
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .extension-card {
            width: 90%;
            max-width: 350px;
            height: 420px;
        }

        .pricing-cards-container {
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .pricing-card {
            width: 90%;
            max-width: 300px;
        }

        .policies-container {
            flex-direction: column;
            align-items: center;
        }

        .policy-card {
            width: 90%;
            max-width: 400px;
        }
    }

    @media (max-width: 480px) {
        .hero-left h1 {
            font-size: 1.8rem;
        }

        .extensions-title, .pricing-title {
            font-size: 2rem;
        }

        .extension-card {
            width: 95%;
            height: 380px;
        }

        .pricing-card {
            width: 95%;
            height: 550px;
        }

        .policy-card {
            width: 95%;
            padding: 1.5rem;
        }
    }

    /* UTILITY CLASSES */
    .hidden {
        display: none !important;
    }

    .visible {
        display: flex !important;
    }

    /* SMOOTH TRANSITIONS */
    * {
        scroll-behavior: smooth;
    }

    /* LOADING STATES */
    .loading {
        opacity: 0.5;
        pointer-events: none;
    }

    /* ACCESSIBILITY IMPROVEMENTS */
    button:focus,
    a:focus {
        outline: 2px solid #6c47ff;
        outline-offset: 2px;
    }


    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }
    /* PROFILE POPUP */
   /* ===============================
   PROFILE POPUP – COMPACT SIZE
=============================== */

.profile-popup {
  position: fixed;
  top: 90px;
  right: 32px;

  width: 260px;            /* 🔑 SMALL WIDTH */
  max-width: 90vw;

  max-height: 360px;       /* 🔑 LIMIT HEIGHT */
  overflow-y: auto;        /* scroll if needed */

  padding: 14px 14px;      /* tighter spacing */

  z-index: 99999;

  background: rgba(15, 15, 20, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  color: #ffffff;
}

.profile-info h3 {
  font-size: 15px;
}
.profile-popup h4 {
  color: #ffffff;
}

.profile-popup p,
.profile-popup li {
  color: #cfcfe4;
  font-size: 12px;
}

#profile-popup-content {
  display: flex;
  flex-direction: column;
  gap: 10px;   /* 🔽 reduced */
}



    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 480px) {
  .profile-popup {
    right: 12px;
    width: 240px;
    max-height: 300px;
  }
}

    .profile-popup.hidden {
        display: none;
    }

    .profile-info {
        text-align: center;
        margin-bottom: 1rem;
    }

    .popup-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        margin-bottom: 0.5rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .popup-links button {
        width: 100%;
        background: #f6f7fb;
        border: none;
        border-radius: 8px;
        padding: 0.7rem;
        margin: 0.25rem 0;
        font-size: 0.95rem;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .popup-links button:hover {
        background: #e9ebf3;
        transform: translateX(3px);
    }

    .plan-badge {
        display: inline-block;
        background: #d0f0e9;
        color: #08866c;
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 999px;
        margin-top: 0.5rem;
        font-weight: bold;
    }

    .logout-img {
        width: 24px;
        max-width: 60vw;
    }

    /* About Section  */

    .about-section {
        padding: 60px 40px;
        background: linear-gradient(to right, #f9f9f9, #f0f0ff);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .about-header .section-title {
        font-size: 2.5rem;
        font-weight: 800;
        color: #333;
    }

    .about-header .section-subtitle {
        font-size: 1.2rem;
        color: #666;
        margin-top: 10px;
    }

    .about-card-container {
        display: flex;
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-card {
        background: white;
        border-radius: 16px;
        padding: 30px;
        max-width: 350px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
    }

    .about-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    .about-card h3 {
        font-size: 1.5rem;
        margin-top: 10px;
        color: #222;
    }

    .about-card p {
        font-size: 1rem;
        color: #555;
        margin-top: 10px;
    }

    .about-icon {
        width: 60px;
        height: 60px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    /* Chat Widget Styles */
    #chat-widget {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 1000;
    }

    .chat-button {
        width: 60px;
        height: 60px;
        background-color: #4a4aff;
        border-radius: 50%;
        color: white;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .chat-button:hover {
        background-color: #3a3ae8;
    }

    .chat-popup {
        width: 320px;
        max-height: 400px;
        background: white;
        position: absolute;
        bottom: 80px;
        right: 0;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .chat-popup.hidden {
        display: none;
    }

    .chat-header {
        background: #4a4aff;
        color: white;
        padding: 12px 16px;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .chat-close {
        cursor: pointer;
        font-size: 1.2rem;
    }

    .chat-body {
        flex: 1;
        padding: 10px;
        overflow-y: auto;
        font-size: 0.9rem;
        background: #fafafa;
    }

    .chat-message {
        margin-bottom: 10px;
        padding: 8px 12px;
        border-radius: 12px;
        max-width: 85%;
    }

    .chat-message.bot {
        background: #e0e0ff;
        align-self: flex-start;
    }

    .chat-message.user {
        background: #d1ffd6;
        align-self: flex-end;
        text-align: right;
    }

    .chat-input-area {
        display: flex;
        padding: 10px;
        border-top: 1px solid #ddd;
        background: #fff;
    }

    .chat-input-area input {
        flex: 1;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid #ccc;
        outline: none;
        font-size: 0.9rem;
    }

    .chat-input-area button {
        background: #4a4aff;
        border: none;
        color: white;
        padding: 8px 12px;
        margin-left: 8px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
    }

    /* === Elegant Heading Font Override === */
    h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif !important;
    font-weight: 600;
    letter-spacing: -0.3px;
    }

    /* === Profile Modals === */
    .profile-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    }

    .profile-modal.hidden {
    display: none;
    }

    .profile-modal-box {
    background: var(--card-bg, #f9f9f9);
    color: #222;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    width: 420px;
    max-width: 90%;
    padding: 20px 24px;
    animation: fadeIn 0.25s ease-in-out;
    }

    .profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 12px;
    }

    .profile-modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #111;
    }

    .profile-modal-body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
    }

    .close-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    }

    @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
    }



    #profile-popup-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    }

    .profile-info h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    }

    .profile-info p {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #b5b5c0;
    margin-top: 2px;
    }
    .popup-links button {
    width: 100%;
    background: transparent;
    border: none;

    padding: 10px 12px;
    border-radius: 8px;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #e6e6eb;

    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
    }

    .popup-links button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
    }

    #profile-popup-content > button {
    background: transparent;
    border: none;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;

    color: #9aa0ff;
    cursor: pointer;
    }

    /* FIX: Text color inside profile popup sub-pages */
    #profile-popup-content h4,
    #profile-popup-content h3 {
    color: #ffffff;
    }

    #profile-popup-content p,
    #profile-popup-content li {
    color: #cfcfe4;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    }

    #profile-popup-content ul {
    padding-left: 18px;
    }

    #profile-popup-content li {
    margin-bottom: 6px;
    }

    /* ===== Pricing Details Modal ===== */

    .show-details {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
    }

    .show-details:hover {
    color: #ffffff;
    }

    .plan-details-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    }

    .plan-details-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    animation: popupFadeIn 0.25s ease;
    }
    .plan-details-box {
    position: relative;   /* REQUIRED */
    }


    .plan-details-box h2 {
    margin-bottom: 14px;
    font-size: 1.4rem;
    text-align: center;
    }

    .plan-details-box ul {
    list-style: none;
    padding: 0;
    }

    .plan-details-box li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
    }

    .plan-details-box {
    position: relative;
    }

    .plan-details-box .modal-close {
    position: absolute;
    top: 12px;
    right: 14px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;

    transform: none !important;
    }


    .plan-details-modal {
    position: fixed;
    inset: 0;                       /* full screen */
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    }

    .plan-details-modal.hidden {
    display: none;
    }
    /* ===== FIX: Pricing Modal Click Handling ===== */
    .plan-details-modal {
    pointer-events: auto;
    }

    .plan-details-box {
    pointer-events: auto;
    }

    /* ================================
    🎫 REQUESTS & SUPPORT (PREMIUM)
    ================================ */

    #section-requests {
    gap: 1.2rem;
    }

    /* Tabs */
    .requests-tabs {
    display: flex;
    gap: 12px;
    margin: 0.7rem auto 1rem;
    padding: 6px;
    background: rgba(255,255,255,0.35);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    }

    .requests-tabs .tab-btn {
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    color: #333;
    transition: all 0.25s ease;
    }

    .requests-tabs .tab-btn:hover {
    background: rgba(108,71,255,0.12);
    }

    .requests-tabs .tab-btn.active {
    background: linear-gradient(135deg, #6c47ff, #da7bff);
    color: #fff;
    box-shadow: 0 6px 18px rgba(108,71,255,0.35);
    }

    /* Request Card Container */
    .request-tab-content {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    }

    /* New Request Form */
    #fl-request-form {
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-radius: 24px;
    padding: 22px;

    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 20px 45px rgba(0,0,0,0.14);
}


    /* Inputs */
    #fl-request-form select,
    #fl-request-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.15);
    padding: 14px 16px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    outline: none;
    background: rgba(255,255,255,0.85);
    transition: border 0.2s ease, box-shadow 0.2s ease;
    }

    #fl-request-form textarea {
    min-height: 90px;
    resize: vertical;
    }

    #fl-request-form select:focus,
    #fl-request-form textarea:focus {
    border-color: #6c47ff;
    box-shadow: 0 0 0 3px rgba(108,71,255,0.15);
    }

    /* Submit Button */
    #fl-request-form button {
    align-self: flex-end;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    }

    /* My Requests Empty State */
    #fl-my-requests {
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    color: #555;
    border: 1px dashed rgba(0,0,0,0.2);
    }

    /* ================================
    ✅ REQUEST SUCCESS (ASSURANCE)
    ================================ */

    #fl-request-success .popup-body p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    }

    #fl-request-id {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(108,71,255,0.1);
    color: #6c47ff;
    font-weight: 600;
    font-family: "Space Grotesk", monospace;
    }

    /* ================================
    📱 RESPONSIVE
    ================================ */

    @media (max-width: 768px) {
    .request-tab-content {
        padding: 0 6px;
    }

    #fl-request-form {
        padding: 22px;
    }

    .requests-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    }

    /* ================================
    🎟️ Ticket Receipt (Premium)
    ================================ */

    .fl-ticket-receipt {
    position: relative;
    z-index: 10;                /* 🔥 ABOVE overlay */
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 28px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    text-align: center;
    }


    .fl-ticket-header h2 {
    margin-top: 10px;
    font-size: 1.6rem;
    }

    .fl-ticket-header p {
    font-size: 0.95rem;
    color: #666;
    }

    .fl-ticket-body {
    margin: 24px 0;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
    padding: 18px 0;
    }

    .fl-ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    }

    .fl-ticket-row span {
    color: #666;
    }

    .fl-ticket-row strong {
    font-family: "Space Grotesk", monospace;
    color: #111;
    }

    /* ================================
    💳 PAYMENT LOADER (PREMIUM)
    ================================ */

    .payment-loader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .payment-loader.hidden {
    display: none;
    }

    .loader-card {
    background: linear-gradient(135deg, #0f172a, #020617);
    border-radius: 18px;
    padding: 32px 36px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 255, 200, 0.15);
    animation: popIn 0.35s ease;
    }

    .loader-card h3 {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb;
    }

    .loader-card p {
    margin-top: 6px;
    font-size: 14px;
    color: #9ca3af;
    }

    /* Spinner */
    .spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: #00ffd0;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    }

    /* Animations */
    @keyframes spin {
    to {
        transform: rotate(360deg);
    }
    }

    @keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
    }

    /* ============================
   FAQs – Pricing Section
============================ */

/* =========================
   PREMIUM FAQ (NO JUMP)
========================= */

.premium-faq {
  margin-top: 90px;
  max-width: 920px;
}

.faq-box {
  margin-top: 28px;
  height: 320px; /* 🔒 LOCKED HEIGHT */
  background: linear-gradient(
    145deg,
    rgba(17, 24, 39, 0.95),
    rgba(11, 15, 20, 0.95)
  );
  border: 1px solid #1f2937;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* Scroll INSIDE */
.faq-list {
  height: 100%;
  overflow-y: auto;
  padding: 12px;
}

/* Hide ugly scrollbar */
.faq-list::-webkit-scrollbar {
  width: 4px;
}
.faq-list::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

/* FAQ Items */
.faq-item {
  border-radius: 14px;
  transition: background 0.25s ease;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.03);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 140px;
  padding: 0 20px 18px;
  opacity: 1;
}

/* Remove browser focus glow */
.faq-question:focus {
  outline: none;
  box-shadow: none;
}

/* Improve visual hierarchy */
.faq-question {
  color: #e5e7eb;
}

.faq-answer {
  color: #e5f083; /* softer than question */
}

/* Optional: subtle divider for clarity */
.faq-item.active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.faq-item.active .faq-question {
  color: #ffffff;
}

/* =========================================
   PREMIUM SECTION HEADINGS (Pricing + FAQ)
   Scoped • No layout damage
========================================= */

/* ------------------
   PRICING TEXT
------------------ */
#section-prices .hero-left h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: -0.3px;
  margin-bottom: 0.6rem;
}

#section-prices .hero-left h2 strong {
  font-weight: 700;
  color: #111827;
}

#section-prices .pricing-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.1px;
  max-width: 520px;
  margin: 0 auto 1.6rem;
}

/* ------------------
   FAQ TEXT
------------------ */
.pricing-faq-section .faq-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.3px;
  margin-bottom: 0.4rem;
  text-align: center;
}

.pricing-faq-section .faq-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #9ca3af;
  letter-spacing: 0.1px;
  text-align: center;
  margin-bottom: 1.8rem;
}

.pricing-faq-section .faq-title,
#section-prices .hero-left h2 {
  text-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

/* =========================
   Requests FAQ spacing
========================= */

.requests-faq-section {
  margin-top: 70px;      /* space from ticket card */
  margin-bottom: 20px;
}

/* Slightly lighter text for Requests context */
.requests-faq-section .faq-answer {
  color: #e5f083;          /* calm, readable */
}

/* ===============================
   FIX: Requests FAQ (NO JUMP)
   Scoped only to Requests
=============================== */

.requests-faq-section .faq-box {
  height: 280px;                /* 🔒 LOCK HEIGHT */
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(17, 24, 39, 0.92),
    rgba(11, 15, 20, 0.92)
  );
  border-radius: 20px;
  border: 1px solid #1f2937;
}

/* Scroll INSIDE only */
.requests-faq-section .faq-list {
  height: 100%;
  overflow-y: auto;
  padding: 12px;
}

/* Slim scrollbar */
.requests-faq-section .faq-list::-webkit-scrollbar {
  width: 4px;
}
.requests-faq-section .faq-list::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}


 
/* ================================
   EXTENSIONS – MOBILE FIX (SAFE)
================================ */

@media (max-width: 768px) {

  .extensions-grid-horizontal {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: visible;
  }

  .extension-card {
    width: 100%;
    max-width: 100%;
    height: auto;          /* 🔥 KEY FIX */
    min-height: unset;     /* 🔥 KEY FIX */
  }

  .card-content {
    height: auto;
    overflow: visible;
  }

  .install-btn,
  .coming-soon-btn {
    width: 100%;
    margin-top: 16px;
    text-align: center;
  }
}



/* ================================
   ABOUT SECTION – PREMIUM CARDS
   Color upgrade (safe)
================================ */

.about-card {
  background: linear-gradient(
    145deg,
    rgba(108, 71, 255, 0.08),
    rgba(79, 172, 254, 0.08)
  );
  border: 1px solid rgba(108, 71, 255, 0.18);
  box-shadow: 0 12px 28px rgba(108, 71, 255, 0.15);
}

/* Headings inside cards */
.about-card h3 {
  color: #1f2937; /* deep professional gray */
}

/* Text inside cards */
.about-card p {
  color: #374151;
}

/* Icon glow (subtle) */
.about-card .about-icon {
  filter: drop-shadow(0 6px 12px rgba(108, 71, 255, 0.35));
}

/* Hover – premium lift */
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(108, 71, 255, 0.25);
  background: linear-gradient(
    145deg,
    rgba(108, 71, 255, 0.12),
    rgba(79, 172, 254, 0.12)
  );
}



/* ================================
   BUTTON NORMALIZATION (DASHBOARD)
================================ */

button,
.btn,
.card-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;
  text-align: center;
  line-height: 1;

  font-family: "Inter", sans-serif;
}



/* ===============================
   FIX: NAVIGATION CTA BUTTONS
   =============================== */

.top-nav .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;        /* restore height */
  line-height: 1.2;          /* fix half-cut issue */
}

/* Highlight Start Project in navbar */
.top-nav .project-cta {
  background: linear-gradient(135deg, #6c47ff, #da7bff);
  color: #ffffff !important;

  border-radius: 999px;
  font-weight: 600;

  box-shadow: 0 6px 18px rgba(108, 71, 255, 0.35);
}

.top-nav .project-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(108, 71, 255, 0.45);
}



/* =====================================================
   NAV BUTTON NORMALIZATION (SAME SIZE)
===================================================== */

.top-nav .nav-links a,
.top-nav .project-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 42px;              /* 🔑 fixed height */
  padding: 0 18px;           /* 🔑 same horizontal padding */

  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;

  border-radius: 999px;
  white-space: nowrap;
}

/* =========================================
   HERO CTA – SHAPE ALIGNMENT FIX
========================================= */

.hero-section .secondary-btn,
.hero-section .primary-btn {
  border-radius: 999px;   /* 🔑 same pill shape as navbar */
}

/* =========================================
   HERO SECONDARY CTA – START PROJECT FIX
========================================= */

.hero-section .secondary-btn {
  background: linear-gradient(
    135deg,
    rgba(108, 71, 255, 0.12),
    rgba(79, 172, 254, 0.12)
  );

  color: #6c47ff;
  border: 1px solid rgba(108, 71, 255, 0.35);

  box-shadow: 0 10px 25px rgba(108, 71, 255, 0.18);
}

.hero-section .secondary-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(108, 71, 255, 0.22),
    rgba(79, 172, 254, 0.22)
  );

  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(108, 71, 255, 0.28);
}

