/* ============================================================
   Lovable Uncredit - Premium Landing Page Styles
   Themed to match Lovable logo: Orange → Pink → Purple
   ============================================================ */

:root {
    /* Background */
    --bg-dark: #0d0a0f;
    --bg-darker: #080508;

    /* Brand gradient (matches logo: orange → pink → purple) */
    --grad-start: #FF6B00;
    --grad-mid:   #FF3D7F;
    --grad-end:   #A855F7;

    /* Primary accent (purple side of logo) */
    --primary: #A855F7;
    --primary-glow: rgba(168, 85, 247, 0.45);

    /* Secondary accent (orange side of logo) */
    --secondary: #FF6B00;
    --secondary-glow: rgba(255, 107, 0, 0.45);

    /* Hot-pink mid accent */
    --mid: #FF3D7F;
    --mid-glow: rgba(255, 61, 127, 0.4);

    /* Utility */
    --whatsapp: #25D366;
    --messenger: #0099FF;
    --text-main: #faf5ff;
    --text-muted: #b8a8cc;
    --glass-bg: rgba(22, 12, 32, 0.65);
    --glass-border: rgba(168, 85, 247, 0.15);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Background Effects ─────────────────────────────── */
.grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    /* static — no repaint cost */
}

.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    pointer-events: none;
    will-change: transform;          /* own compositor layer */
    transform: translateZ(0);        /* promote to GPU */
}

/* Purple glow – top-left */
.glow-1 {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    opacity: 0.4;
    /* transform-only animation – no layout, no paint */
    animation: floatGlow1 14s ease-in-out infinite alternate;
}

/* Orange glow – bottom-right */
.glow-2 {
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    opacity: 0.3;
    animation: floatGlow2 20s ease-in-out infinite alternate-reverse;
}

/* Removed body::after (third blur – was expensive composite layer) */

@keyframes floatGlow1 {
    0%   { transform: translate(0, 0) translateZ(0); }
    100% { transform: translate(30px, 30px) translateZ(0); }
}

@keyframes floatGlow2 {
    0%   { transform: translate(0, 0) translateZ(0); }
    100% { transform: translate(-30px, -30px) translateZ(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Typography ─────────────────────────────────────────── */
h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

h2.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
}

/* Logo-matching gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--mid) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    font-size: 1.05rem;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--mid) 50%, var(--primary) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 61, 127, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 16px 40px rgba(255, 61, 127, 0.55);
}

.btn-secondary {
    background: rgba(22, 12, 32, 0.8); /* solid fallback – no backdrop-filter */
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.35);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: white;
    padding: 10px 20px;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--mid), var(--primary));
    border-color: transparent;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-messenger {
    background: var(--messenger);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 153, 255, 0.3);
}

/* ── Glass Cards ─────────────────────────────────────── */
.glass-card {
    background: rgba(22, 12, 32, 0.75); /* no backdrop-filter – removes GPU stall */
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(13, 10, 15, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Logo Image ── rounded corners, warm glow ── */
.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nav-logo-img:hover {
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 0 18px rgba(255, 61, 127, 0.7), 0 0 36px rgba(168, 85, 247, 0.45);
}

.logo span {
    background: linear-gradient(135deg, var(--secondary), var(--mid), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero Logo ── */
.hero-logo-wrapper {
    margin-bottom: 28px;
}

.hero-logo-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow:
        0 0 0 1px rgba(255, 107, 0, 0.3),
        0 0 30px rgba(255, 107, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.25);
    animation: logoPulse 3.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 107, 0, 0.3),
            0 0 28px rgba(255, 107, 0, 0.4),
            0 0 55px rgba(168, 85, 247, 0.25);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 61, 127, 0.5),
            0 0 45px rgba(255, 61, 127, 0.5),
            0 0 80px rgba(168, 85, 247, 0.4);
        transform: scale(1.04);
    }
}

/* ── Nav Links ── */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
}

/* Hero Headline */
.hero-headline {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.credit-strikes {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    margin-bottom: 4px;
}

.strike {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 61, 127, 0.7);
    text-decoration-thickness: 2.5px;
    opacity: 0.65;
    letter-spacing: -0.5px;
}

.unlimited {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.headline-sub {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.headline-price {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0;
}

.headline-price strong {
    color: #27c93f;
    font-weight: 800;
    font-size: 1.3rem;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 61, 127, 0.12);
    border: 1px solid rgba(255, 61, 127, 0.35);
    color: #ffaacc;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ── Extension Mockup ──────────────────────────────────────── */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Main extension popup */
.ext-popup {
    width: 310px;
    background: #12101a;
    border-radius: 18px;
    border: 1px solid rgba(168,85,247,0.22);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.55),
        0 0 60px rgba(168,85,247,0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-4deg) rotateX(3deg);
    transition: transform 0.5s ease;
    animation: popupFloat 6s ease-in-out infinite alternate;
}

.ext-popup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@keyframes popupFloat {
    0%   { transform: perspective(1000px) rotateY(-4deg) rotateX(3deg) translateY(0); }
    100% { transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-10px); }
}

/* Topbar */
.ext-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #1a1628;
    border-bottom: 1px solid rgba(168,85,247,0.12);
}

.ext-topbar-left {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ext-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: cover;
}

.ext-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e8d8ff;
}

.ext-pro-badge {
    background: linear-gradient(135deg, var(--mid), var(--primary));
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.ext-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ext-icon-btn {
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.7;
}

.ext-license-bar {
    width: 22px;
    height: 12px;
    background: linear-gradient(135deg, var(--secondary), var(--mid));
    border-radius: 4px;
}

/* Body */
.ext-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* User block */
.ext-user-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(168,85,247,0.1);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ext-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ext-user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e8d8ff;
}

.ext-sync-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #88dda0;
}

.ext-sync-dot { font-size: 0.75rem; }

/* Credits UNLIMITED row */
.ext-credits-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(168,85,247,0.15));
    border: 1px solid rgba(168,85,247,0.25);
    border-radius: 8px;
    padding: 5px 10px;
}

.ext-credits-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.ext-credits-value {
    font-size: 0.78rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--mid), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    animation: unlimitedPulse 2.5s ease-in-out infinite;
}

@keyframes unlimitedPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}

.ext-expiry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.73rem;
}

.ext-expiry-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
}

.ext-expiry-time {
    color: #FFB347;
    font-weight: 700;
    font-size: 0.8rem;
}

.ext-progress-bar {
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    height: 4px;
    overflow: hidden;
}

.ext-progress-fill {
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--mid));
    border-radius: 50px;
}

/* Tabs */
.ext-tabs {
    display: flex;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(168,85,247,0.1);
    overflow: hidden;
}

.ext-tab {
    flex: 1;
    padding: 7px 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
}

.ext-tab--active {
    background: rgba(168,85,247,0.15);
    color: #d4a9ff;
    border-bottom: 2px solid var(--primary);
}

.ext-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 4px;
}

/* Prompt textarea */
.ext-prompt-area {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(168,85,247,0.12);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
    min-height: 60px;
    font-family: 'Outfit', sans-serif;
}

/* Controls row */
.ext-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ext-controls-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ext-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ext-toggle-track {
    width: 30px;
    height: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    position: relative;
    border: 1px solid rgba(168,85,247,0.2);
}

.ext-toggle-thumb {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
}

.ext-toggle-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.ext-ctrl-btn {
    font-size: 0.95rem;
    opacity: 0.65;
    cursor: pointer;
}

.ext-send-btn {
    background: linear-gradient(135deg, var(--mid), var(--primary));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(168,85,247,0.3);
    transition: box-shadow 0.2s;
}

.ext-send-btn:hover { box-shadow: 0 6px 20px rgba(168,85,247,0.5); }

/* Quick Shortcuts */
.ext-shortcuts-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.6;
}

.ext-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.ext-shortcut {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(168,85,247,0.1);
    border-radius: 7px;
    padding: 5px 6px;
    font-size: 0.68rem;
    color: #c4a0f5;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ext-shortcut:hover {
    background: rgba(168,85,247,0.12);
    border-color: rgba(168,85,247,0.3);
}

/* Advanced options */
.ext-advanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(168,85,247,0.08);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

/* Floating stat card */
.ext-stat-card {
    position: absolute;
    top: -18px;
    right: -20px;
    width: 175px;
    background: #1a1628;
    border: 1px solid rgba(168,85,247,0.18);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow:
        0 16px 40px rgba(0,0,0,0.5),
        0 0 30px rgba(168,85,247,0.1);
    animation: statFloat 5s ease-in-out infinite alternate-reverse;
    z-index: 10;
}

@keyframes statFloat {
    0%   { transform: translateY(0); }
    100% { transform: translateY(12px); }
}

.ext-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ext-stat-label {
    font-size: 0.75rem;
    color: #c4a0f5;
    font-weight: 500;
}

.ext-stat-icon {
    font-size: 0.85rem;
    opacity: 0.6;
    color: var(--text-muted);
}

.ext-stat-divider {
    height: 1px;
    background: rgba(168,85,247,0.12);
    margin: 0 -2px;
}

.ext-stat-value {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e8d8ff;
}

.ext-stat-value.zero {
    color: #27c93f;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
}

.dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot-red    { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #27c93f; }

.glass-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background 0.3s;
}

.mockup-row.highlight {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(168, 85, 247, 0.12));
    border-color: rgba(255, 61, 127, 0.25);
}

.mockup-icon {
    font-size: 24px;
}

.mockup-text h4 { margin-bottom: 2px; }
.mockup-text p  { color: var(--text-muted); font-size: 0.9rem; }

/* ── Features ──────────────────────────────────────────────── */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Hero "Unlimited Credits" card spans all 3 columns */
.feature-card--hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 32px;
    row-gap: 0;
    text-align: left;
    padding: 40px;
    border-color: rgba(168,85,247,0.3);
    background: linear-gradient(135deg,
        rgba(255,107,0,0.05) 0%,
        rgba(255,61,127,0.05) 50%,
        rgba(168,85,247,0.08) 100%);
    position: relative;
    overflow: hidden;
}

.feature-card--hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--mid), var(--primary));
}

.feature-card--hero .feature-icon {
    grid-row: 1 / 3;
    grid-column: 1;
    font-size: 4rem;
    align-self: center;
    margin-bottom: 0;
}

.feature-card--hero h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.8rem;
    margin-bottom: 4px;
    align-self: end;
}

.feature-unlimited-badge {
    grid-column: 2;
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255,107,0,0.12), rgba(168,85,247,0.18));
    border: 1px solid rgba(168,85,247,0.35);
    color: #d4a9ff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    width: fit-content;
    animation: unlimitedPulse 2.5s ease-in-out infinite;
}

.feature-card--hero p {
    grid-column: 1 / -1;
    grid-row: 3;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

.feature-list {
    grid-column: 1 / -1;
    grid-row: 4;
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.feature-list li {
    font-size: 0.88rem;
    color: #c4a0f5;
    font-weight: 600;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 50px;
    padding: 5px 16px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 61, 127, 0.3);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.65;
}


/* ── Pricing Grid ───────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}

/* ── Plan Card ─────────────────────────────────────────────── */
.plan-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    text-align: center;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.3);
}

/* Popular card – gradient border + glow */
.plan-card--popular {
    border-color: rgba(255, 61, 127, 0.4);
    box-shadow:
        0 0 0 1px rgba(255, 61, 127, 0.25),
        0 20px 60px rgba(255, 61, 127, 0.18),
        0 0 80px rgba(168, 85, 247, 0.12);
    transform: translateY(-8px) scale(1.02);
}

.plan-card--popular:hover {
    transform: translateY(-18px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(255, 61, 127, 0.4),
        0 30px 80px rgba(255, 61, 127, 0.28),
        0 0 100px rgba(168, 85, 247, 0.2);
    border-color: rgba(255, 61, 127, 0.55);
}

.plan-card--popular::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--mid), var(--primary));
}

/* Best Deal card – gold/amber accent */
.plan-card--best {
    border-color: rgba(255, 180, 0, 0.4);
    box-shadow:
        0 0 0 1px rgba(255, 180, 0, 0.2),
        0 20px 60px rgba(255, 180, 0, 0.15),
        0 0 80px rgba(255, 107, 0, 0.1);
}

.plan-card--best:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 0 1px rgba(255, 180, 0, 0.4),
        0 30px 80px rgba(255, 180, 0, 0.25),
        0 0 100px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 180, 0, 0.55);
}

.plan-card--best::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFB400, #FF6B00, #FFD700);
}

/* Popular badge */
.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, var(--mid), var(--primary));
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Best Deal badge – gold override */
.best-badge {
    background: linear-gradient(135deg, #FFB400, #FF6B00);
}

/* Plan icon */
.plan-icon {
    font-size: 2.6rem;
    line-height: 1;
}

/* Plan name */
.plan-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}

/* Duration pill */
.plan-duration {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #c4a0f5;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Price block */
.plan-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.plan-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: #FF4444;
}

.plan-price {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--mid), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.plan-price.free {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #27c93f, #00e5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-currency {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.75;
}

.plan-savings {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: #ffaa60;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Plan features list */
.plan-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plan-features li {
    font-size: 0.95rem;
    color: #ddd0f5;
}

/* Highlighted UNLIMITED row in pricing */
.plan-feature--unlimited {
    background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(168,85,247,0.12));
    border: 1px solid rgba(168,85,247,0.25);
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 700;
    color: #e8d8ff !important;
    font-size: 0.92rem !important;
    text-align: center;
}

.plan-feature--unlimited strong {
    background: linear-gradient(135deg, var(--secondary), var(--mid), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA button in plan */
.plan-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* Pricing note below grid */
.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
}

.pricing-note a {
    color: var(--mid);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.pricing-note a:hover {
    color: var(--primary);
}

.pricing {
    padding: 100px 0;
    text-align: center;
}

.section-subtitle {
    max-width: 600px;
    margin: -30px auto 50px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--mid), var(--primary));
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--secondary), var(--mid), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-header p {
    color: var(--mid);
    font-weight: 600;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 0 auto 40px;
    display: inline-block;
}

.pricing-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #e4d8f4;
}

.contact-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* ── Reveal Animations ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-logo-wrapper {
        display: flex;
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .contact-actions {
        flex-direction: column;
    }
    .nav-links {
        display: none;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .plan-card--popular {
        transform: none;
    }
    .plan-card--popular:hover {
        transform: translateY(-10px);
    }
    .plan-card--best {
        transform: none;
    }
}

/* ── GPU Promotion Hints ─────────────────────────────────── */
/* Tell browser to composite these on their own layer */
.hero-logo-img,
.ext-popup,
.ext-stat-card,
.ext-credits-value,
.feature-unlimited-badge {
    will-change: transform;
    transform: translateZ(0);
}

/* ── Respect prefers-reduced-motion ─────────────────────── */
/* Kills ALL animations/transitions for users who need it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════
   UddoktaPay – Pay Online Button
   ═══════════════════════════════════════════════════════════════ */

.btn-pay-online {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 12px;
    background: linear-gradient(135deg,
        rgba(255, 107, 0, 0.12) 0%,
        rgba(168, 85, 247, 0.18) 100%);
    color: #e8d8ff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn-pay-online::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255, 107, 0, 0.0) 0%,
        rgba(168, 85, 247, 0.0) 100%);
    transition: background 0.3s ease;
}

.btn-pay-online:hover {
    border-color: rgba(168, 85, 247, 0.85);
    background: linear-gradient(135deg,
        rgba(255, 107, 0, 0.22) 0%,
        rgba(168, 85, 247, 0.32) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(168, 85, 247, 0.35);
}

/* Featured variant (most popular plan) */
.btn-pay-online--featured {
    border-color: rgba(255, 61, 127, 0.6);
    background: linear-gradient(135deg,
        rgba(255, 61, 127, 0.15) 0%,
        rgba(168, 85, 247, 0.25) 100%);
    color: #fff;
    animation: featuredPulse 3s ease-in-out infinite;
}

.btn-pay-online--featured:hover {
    border-color: rgba(255, 61, 127, 1);
    background: linear-gradient(135deg,
        rgba(255, 61, 127, 0.35) 0%,
        rgba(168, 85, 247, 0.5) 100%);
    box-shadow: 0 10px 36px rgba(255, 61, 127, 0.45);
    animation: none;
}

@keyframes featuredPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 127, 0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(255, 61, 127, 0); }
}

/* Social fallback row */
.plan-social-fallback {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.social-fallback-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.social-fallback-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    transition: all 0.2s ease;
}

.social-fallback-link:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   UddoktaPay – Payment Modal
   ═══════════════════════════════════════════════════════════════ */

.pay-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 3, 18, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pay-modal-backdrop.pay-modal--open {
    opacity: 1;
    pointer-events: all;
}

.pay-modal-backdrop.pay-modal--open .pay-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.pay-modal-card {
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 2.25rem;
    background: rgba(14, 8, 30, 0.92);
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.1),
        0 32px 80px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(168, 85, 247, 0.12);
    /* Entry animation */
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Subtle gradient top border */
.pay-modal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--mid), var(--primary));
    border-radius: 24px 24px 0 0;
}

/* Modal header row */
.pay-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.pay-modal-icon {
    font-size: 2.25rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.pay-modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}

.pay-modal-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

/* Close button */
.pay-modal-close {
    margin-left: auto;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.pay-modal-close:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
    transform: rotate(90deg);
}

/* Price tag pill */
.pay-modal-price-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg,
        rgba(255, 107, 0, 0.08) 0%,
        rgba(168, 85, 247, 0.14) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.pay-modal-amount-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--mid), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pay-modal-currency {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    margin-right: auto;
}

.pay-modal-secure-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(100, 220, 130, 0.9);
    background: rgba(100, 220, 130, 0.08);
    border: 1px solid rgba(100, 220, 130, 0.2);
    border-radius: 50px;
    padding: 4px 12px;
}

/* Form */
.pay-modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pay-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pay-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.3px;
}

.pay-form-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.pay-form-input::placeholder {
    color: rgba(255,255,255,0.28);
}

.pay-form-input:focus {
    border-color: rgba(168, 85, 247, 0.65);
    background: rgba(168, 85, 247, 0.06);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.pay-form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pay-form-hint {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
}

.pay-form-error {
    font-size: 0.82rem;
    color: #ff7096;
    display: none;
}

/* Global error box */
.pay-global-error {
    background: rgba(255, 61, 127, 0.08);
    border: 1px solid rgba(255, 61, 127, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #ff9ab8;
    line-height: 1.5;
}

/* Submit button fills full width in the form */
.pay-submit-btn {
    margin-top: 6px;
    width: 100%;
    padding: 15px 24px;
    font-size: 1.05rem;
}

/* Loading spinner */
.pay-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer note */
.pay-modal-footer-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin: 1.25rem 0 0;
}

/* ── Responsive modal ─────────────────────────────────────── */
@media (max-width: 520px) {
    .pay-modal-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    .pay-modal-amount-value {
        font-size: 1.6rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   How to Install Section
   ═══════════════════════════════════════════════════════════════ */

.how-to-install {
    padding: 100px 0;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.install-step {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px 28px;
    position: relative;
    overflow: visible;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.install-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.3);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.18;
    user-select: none;
    pointer-events: none;
    letter-spacing: -2px;
}

.step-icon {
    font-size: 2.6rem;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.step-desc {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.step-desc strong {
    color: #e8d8ff;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.step-list li {
    counter-increment: step-counter;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

.step-list li::before {
    content: counter(step-counter);
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,107,0,0.25), rgba(168,85,247,0.35));
    border: 1px solid rgba(168,85,247,0.35);
    font-size: 0.72rem;
    font-weight: 800;
    color: #d4a9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-list li strong {
    color: #e8d8ff;
}

.step-list li code,
.step-desc code {
    background: rgba(168,85,247,0.12);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.82rem;
    color: #c4a0f5;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.22);
    color: #c4a0f5;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    width: fit-content;
    margin-top: auto;
}

.step-badge--success {
    background: rgba(39, 201, 63, 0.08);
    border-color: rgba(39, 201, 63, 0.22);
    color: #7ff09a;
}

.step-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--mid);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s, gap 0.2s;
}

.step-cta:hover {
    color: var(--primary);
    gap: 10px;
}

.install-help-note {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 28px;
    max-width: 640px;
    margin: 0 auto;
}

.install-help-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.install-help-note p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.install-help-note a {
    color: var(--mid);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.install-help-note a:hover {
    color: var(--primary);
}

@media (max-width: 1100px) {
    .install-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .install-steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .install-help-note {
        flex-direction: column;
        text-align: center;
    }
}
