/* ============================================
   KiranaMitra — Creative Landing Page Styles
   ============================================ */

:root {
    --primary: #6C3CE1;
    --primary-dark: #5A2DCF;
    --primary-light: #8B5CF6;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --secondary: #1E1B4B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --light: #F8FAFC;
    --border: #E2E8F0;
    --text: #0F172A;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(108, 60, 225, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

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

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(108, 60, 225, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(108, 60, 225, 0.6), 0 0 60px rgba(108, 60, 225, 0.2);
    }
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3
    }
}

@keyframes subtle-drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -20px) rotate(1deg);
    }

    66% {
        transform: translate(-20px, 15px) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(120px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

@keyframes particle-float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navigation ── */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #fff;
    overflow: hidden;
}

/* SVG shapes layer */
.hero-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hide old elements */
.hero-bg::before,
.hero-bg::after,
.hero-gradient,
.hero-particles,
.hero-particle,
.hero-ring {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 60, 225, 0.08);
    border: 1px solid rgba(108, 60, 225, 0.15);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--primary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 28px;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    color: var(--text);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: inline;
    color: var(--primary);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    margin-top: 2px;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(108, 60, 225, 0.25);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-bounce 1.5s infinite;
}

/* ── Social Proof ── */
.social-proof {
    background: var(--secondary);
    padding: 1.2rem 0;
}

.proof-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.proof-icon {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.9);
}

/* ── Section Common ── */
section {
    padding: 5rem 0;
}

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

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(108, 60, 225, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Features ── */
.features {
    background: var(--light);
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.feature-icon-wrap .feature-icon {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.gradient-1 {
    background: linear-gradient(135deg, #EEF2FF, #C7D2FE);
}

.gradient-2 {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

.gradient-3 {
    background: linear-gradient(135deg, #ECFDF5, #A7F3D0);
}

.gradient-4 {
    background: linear-gradient(135deg, #FFF1F2, #FECDD3);
}

.gradient-5 {
    background: linear-gradient(135deg, #F0F9FF, #BAE6FD);
}

.gradient-6 {
    background: linear-gradient(135deg, #FDF4FF, #E9D5FF);
}

.gradient-7 {
    background: linear-gradient(135deg, #FFFBEB, #FDE68A);
}

.gradient-8 {
    background: linear-gradient(135deg, #F0FDF4, #BBF7D0);
}

.gradient-9 {
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ── How It Works ── */
.how-it-works {
    background: #fff;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(108, 60, 225, 0.3);
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    flex-shrink: 0;
}

/* ── Pricing ── */
.pricing {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
}

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

.pricing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

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

.pricing-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-badge {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-amount {
    margin-bottom: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    vertical-align: super;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.02em;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check {
    color: var(--success);
    font-weight: 700;
    font-size: 1rem;
}

.cross {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ── Downloads ── */
.downloads {
    background: var(--light);
}

.download-container {
    max-width: 600px;
    margin: 0 auto;
}

.payment-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.payment-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.payment-box>p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.payment-price {
    margin-bottom: 1.5rem;
}

.payment-currency {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    vertical-align: super;
}

.payment-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.payment-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.payment-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.payment-trust span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.releases-list {
    margin-top: 2rem;
}

.release-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.release-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.release-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.release-badge {
    display: inline-block;
    background: var(--success);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.release-notes {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.92rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.system-requirements {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
    border: 1px solid var(--border);
}

.system-requirements h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.system-requirements ul {
    list-style: none;
    columns: 2;
}

.system-requirements li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.92rem;
}

.system-requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ── FAQ ── */
.faq {
    background: #fff;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
    font-weight: 300;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ── Credits ── */
.credits {
    background: var(--light);
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.credit-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.credit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.credit-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.credit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.credit-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.credit-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.credit-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
}

.credit-links a:hover {
    text-decoration: underline;
}

/* ── Footer ── */
.footer {
    background: var(--secondary);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social svg {
    fill: currentColor;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #fff;
}

.footer-license {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ── Hero Two-Column ── */
.hero-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    text-align: left;
}

.hero-text {
    max-width: 600px;
}

.hero-two-col .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
}

.hero-two-col .hero-buttons {
    justify-content: flex-start;
}

/* Phone Mockup + Stats Column */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.phone-mockup {
    width: 280px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 32px;
    padding: 12px;
    position: relative;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(108, 60, 225, 0.1), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.phone-notch {
    width: 100px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: var(--light);
    border-radius: 20px;
    padding: 16px;
    color: var(--text);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.mockup-header-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.mockup-stat-card {
    background: linear-gradient(135deg, rgba(108, 60, 225, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.mockup-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.mockup-stat-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--light);
    border-radius: 8px;
}

.mockup-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    flex-shrink: 0;
}

.mockup-item-lines {
    flex: 1;
}

.mockup-line {
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    margin-bottom: 4px;
}

.mockup-line-long {
    width: 80%;
}

.mockup-line-short {
    width: 50%;
    margin-bottom: 0;
}

.mockup-item-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}

/* ── Lucide Icon Sizing ── */
.logo-icon {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.feature-icon {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.proof-icon {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.9);
}


.credit-icon svg,
.credit-icon i {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.inline-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    vertical-align: middle;
    margin-right: 4px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.footer-logo-icon {
    width: 22px;
    height: 22px;
    stroke: #fff;
    vertical-align: middle;
}

.payment-lucide-icon {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
}

.trust-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    vertical-align: middle;
    margin-right: 2px;
}

/* ── Coming Soon Badge ── */
.feature-coming-soon {
    position: relative;
    opacity: 0.85;
}

.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* ── Payment Methods ── */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.method-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.payment-method strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 2px;
}

.payment-method p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Custom Development Section ── */
.custom-dev {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
}

.custom-dev-content {
    max-width: 700px;
    margin: 0 auto;
}

.custom-dev-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.custom-dev-icon {
    margin-bottom: 1.5rem;
}

.custom-icon {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
}

.custom-dev-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.custom-dev-card>p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.custom-dev-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.custom-dev-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.custom-dev-features li:last-child {
    border-bottom: none;
}

.custom-check {
    width: 18px;
    height: 18px;
    stroke: var(--success);
    flex-shrink: 0;
}

.custom-dev-pricing {
    margin-bottom: 1.5rem;
}

.custom-price {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.custom-price-note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

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


    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-two-col {
        gap: 2rem;
    }

    .phone-mockup {
        width: 240px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-two-col {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: none;
    }

    .hero-two-col .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-two-col .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-stats {
        flex-direction: row;
    }

    .phone-mockup {
        width: 220px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        text-align: center !important;
        margin-top: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .step-connector {
        width: 2px;
        height: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-featured {
        transform: none;
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }


    .credits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .system-requirements ul {
        columns: 1;
    }

    .proof-items {
        gap: 1.5rem;
    }

    .proof-item {
        font-size: 0.8rem;
    }

    .custom-dev-card {
        padding: 2rem 1.5rem;
    }

    .payment-methods {
        gap: 8px;
    }
}
/* Google Play CTA */
.play-store-btn {
    gap: 10px;
    padding: 10px 18px;
    min-width: 190px;
    justify-content: center;
}
.play-store-icon { width: 30px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.play-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}
.play-store-text small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 4px;
}
.play-store-text strong {
    font-size: 18px;
    font-weight: 700;
}


/* Subscription pricing selector and responsive three-plan layout */
.billing-toggle { display:flex; width:min(100%, 620px); margin: 0 auto 42px; padding:6px; gap:6px; border-radius:999px; background:#f0eef7; }
.billing-option { flex:1; display:flex; align-items:center; justify-content:center; gap:10px; border:0; border-radius:999px; padding:14px 18px; background:transparent; color:#51456f; font:inherit; font-weight:600; cursor:pointer; transition:background .2s, box-shadow .2s, color .2s; }
.billing-option.active { background:#fff; color:#6c3ce1; box-shadow:0 2px 10px rgba(28,20,54,.12); }
.save-badge { display:inline-block; padding:4px 9px; border-radius:999px; background:#22c55e; color:#fff; font-size:.72rem; white-space:nowrap; }
.subscription-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:24px; }
.subscription-grid .plan-card { min-width:0; display:flex; flex-direction:column; height:100%; }
.subscription-grid .pricing-features { flex:1; }
.subscription-grid .plan-summary { min-height:1.5em; text-align:center; color:#6b7280; margin:8px 0 18px; }
.subscription-grid .pricing-card .pricing-badge { text-align:center; }
.subscription-grid .pricing-card .pricing-features li { line-height:1.45; }
.subscription-grid .pricing-card .btn { margin-top:22px; }
@media (max-width: 900px) { .subscription-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .subscription-grid .pricing-featured { order:-1; } }
@media (max-width: 600px) { .subscription-grid { grid-template-columns:1fr; gap:22px; } .billing-toggle { margin-bottom:28px; } .billing-option { padding:12px 8px; font-size:.9rem; } .save-badge { font-size:.62rem; padding:3px 6px; } }


/* Final subscription layout refinements */
.subscription-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}
.subscription-grid .plan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 30px 26px;
}
.subscription-grid .pricing-features {
    flex: 1 1 auto;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}
.subscription-grid .pricing-features li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 18px;
    align-items: start;
    column-gap: 9px;
    padding: 12px 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.subscription-grid .pricing-features .check {
    grid-column: 1;
    color: #20ad68;
    font-weight: 800;
}
.subscription-grid .plan-feature-icon {
    grid-column: 3;
    width: 17px;
    height: 17px;
    color: #6c3ce1;
    stroke-width: 1.9;
    margin-top: 2px;
}
.subscription-grid .pricing-features li {
    position: relative;
}
.subscription-grid .plan-card > .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}
.subscription-grid .pricing-amount {
    white-space: nowrap;
}
.subscription-grid .plan-summary {
    min-height: 24px;
}
@media (max-width: 980px) {
    .subscription-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
    .subscription-grid .pricing-featured {
        order: -1;
    }
}
@media (max-width: 640px) {
    .subscription-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .subscription-grid .plan-card {
        padding: 26px 22px;
    }
    .subscription-grid .pricing-featured {
        order: 0;
    }
}


/* Final refinements requested: natural-height plans, readable prices and equal how-it-works cards */
.subscription-grid {
    align-items: start !important;
    grid-auto-rows: auto;
}
.subscription-grid .plan-card {
    height: auto !important;
    min-height: 0;
    align-self: start;
}
.subscription-grid .pricing-features {
    flex: 0 0 auto;
}
.subscription-grid .plan-card > .btn {
    margin-top: 12px;
}
.subscription-grid .pricing-amount .price,
.subscription-grid .pricing-amount .currency {
    font-weight: 600 !important;
}
.subscription-grid .pricing-amount {
    font-weight: 600 !important;
}
.steps-grid {
    align-items: stretch;
}
.steps-grid .step-card {
    height: 100%;
    min-height: 250px;
    box-sizing: border-box;
}
.steps-grid .step-content {
    height: 100%;
}


/* Total Bill final polish: aligned plans, connected steps and compact footer */
.subscription-grid {
    align-items: stretch !important;
    grid-auto-rows: 1fr;
}
.subscription-grid .plan-card {
    height: 100% !important;
    align-self: stretch;
    min-height: 0;
    padding: 28px 22px;
}
.subscription-grid .pricing-amount .price {
    font-size: 2.7rem;
    font-weight: 600 !important;
    letter-spacing: -0.015em;
}
.subscription-grid .pricing-amount .currency {
    font-size: 1.25rem;
    font-weight: 500 !important;
}
.subscription-grid .pricing-period { margin-bottom: 1rem; }
.subscription-grid .pricing-features {
    flex: 1 1 auto;
    margin: 14px 0 16px;
}
.subscription-grid .pricing-features li { padding: 9px 0; }
.subscription-grid .features-toggle {
    align-self: flex-start;
    border: 0;
    padding: 5px 0 10px;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-size: .9rem;
    font-weight: 650;
    cursor: pointer;
}
.subscription-grid .features-toggle:hover { text-decoration: underline; }
.subscription-grid .feature-hidden { display: none !important; }
.subscription-grid .feature-extra { animation: featureReveal .18s ease-out; }
@keyframes featureReveal { from { opacity: .4; transform: translateY(-2px); } to { opacity: 1; transform: translateY(0); } }
.steps-grid { align-items: stretch; }
.steps-grid .step-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.steps-grid .step-content { flex: 1; }
.step-connector {
    align-self: center;
    width: clamp(22px, 4vw, 60px);
    height: 2px;
    margin: 0;
    flex: 0 0 clamp(22px, 4vw, 60px);
}
.footer-content { grid-template-columns: 2fr 1fr 1.2fr 1.4fr; gap: 2.5rem; align-items: start; }
.footer-plans p { margin: 0 0 .55rem; }
.footer-social a { text-decoration: none; }
@media (max-width: 900px) {
    .subscription-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .subscription-grid .plan-card { padding: 24px 16px; }
    .subscription-grid .pricing-amount .price { font-size: 2.25rem; }
    .subscription-grid .pricing-features li { grid-template-columns: 16px minmax(0,1fr) 16px; column-gap: 6px; font-size: .84rem; }
    .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 640px) {
    .subscription-grid { grid-template-columns: 1fr; }
    .subscription-grid .plan-card { height: auto !important; }
    .steps-grid { flex-direction: column; gap: 0; }
    .steps-grid .step-card { width: 100%; min-height: 0; padding: 1.6rem 1.25rem; }
    .step-connector { width: 2px; height: 26px; flex: 0 0 26px; align-self: center; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-brand { grid-column: 1 / -1; max-width: none; }
}


/* Latest pricing and footer refinements */
.subscription-grid { max-width: 1200px; gap: 28px; }
.subscription-grid .plan-card { padding: 34px 28px; border-radius: 22px; }
.subscription-grid .pricing-amount .price { font-size: 2.55rem; font-weight: 550 !important; }
.subscription-grid .pricing-features li { padding: 12px 0; font-size: .94rem; }
.subscription-grid .contact-sales-btn { margin: 12px 0 8px !important; min-height: 48px; border-radius: 12px; }
.subscription-grid .pricing-featured .contact-sales-btn { background: #6c3ce1; color: #fff; border-color: #6c3ce1; }
.subscription-grid .pricing-featured .contact-sales-btn:hover { background: #5730bf; }
.subscription-grid .pricing-features { margin-top: 18px; }
.subscription-grid .plan-summary { margin-top: 12px; }
.footer-logo { display:flex; align-items:center; gap:10px; }
.footer-logo-icon { width:42px; height:42px; object-fit:contain; border-radius:0 !important; background:transparent !important; }
.footer-social { gap:16px; }
.footer-social a { width:52px; height:52px; border-radius:50%; background:#fff; color:#6c3ce1; border:2px solid rgba(255,255,255,.8); box-shadow:0 4px 14px rgba(0,0,0,.12); }
.footer-social a:hover { background:#6c3ce1; color:#fff; border-color:#fff; }
.footer-social svg { width:25px; height:25px; fill:currentColor; stroke:currentColor; }
.footer-bottom { justify-content:center; text-align:center; }
@media (max-width: 980px) { .subscription-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:800px; } }
@media (max-width: 640px) { .subscription-grid { grid-template-columns:1fr; max-width:460px; } .subscription-grid .plan-card { padding:28px 24px; } }


/* Final correction: each plan keeps its own natural height when another plan expands. */
.subscription-grid {
    align-items: start !important;
    grid-auto-rows: auto !important;
}
.subscription-grid .plan-card {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
}
.subscription-grid .pricing-features {
    flex: 0 0 auto !important;
}
.subscription-grid .plan-card > .btn {
    margin-top: 12px !important;
}

/* Put the Total Bill basket mark on a clean white circular background. */
.footer-logo-icon {
    width: 46px !important;
    height: 46px !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    object-fit: contain;
    background: #fff !important;
    border: 2px solid rgba(255,255,255,.95) !important;
    border-radius: 50% !important;
    flex: 0 0 46px;
}

/* Consistent white social buttons with purple icons; keep Instagram's outline visible. */
.footer-social a {
    background: #fff !important;
    color: #6c3ce1 !important;
    border: 2px solid rgba(255,255,255,.95) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-social a:hover {
    background: #fff !important;
    color: #5730bf !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}
.footer-social a[aria-label="YouTube"] svg {
    fill: currentColor !important;
    stroke: none !important;
}
.footer-social a[aria-label="YouTube"] svg path {
    fill: currentColor !important;
}
.footer-social a[aria-label="Instagram"] svg {
    fill: none !important;
    stroke: currentColor !important;
}
.footer-social a[aria-label="Instagram"] svg circle:last-child {
    fill: currentColor !important;
    stroke: none !important;
}


/* Mobile responsiveness fixes for v6 — desktop styles intentionally preserved */
@media (max-width: 767px) {
  html, body { max-width: 100%; overflow-x: clip; }
  *, *::before, *::after { box-sizing: border-box; }
  .container { width: 100%; max-width: 100%; padding-left: 20px; padding-right: 20px; }
  .navbar .container { padding-left: 18px; padding-right: 18px; }
  .nav-container { gap: 12px; }
  .logo { min-width: 0; flex: 1 1 auto; }
  .logo-text { white-space: nowrap; }
  .mobile-toggle { position: relative; z-index: 1002; flex: 0 0 auto; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .mobile-toggle span { transform-origin: center; }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { width: min(84vw, 340px); max-width: 100%; height: 100dvh; right: 0; transform: translateX(105%); transition: transform .28s ease; overflow-y: auto; padding: 88px 26px 28px; z-index: 1001; }
  .nav-links.active { right: 0; transform: translateX(0); }
  .hero { overflow: hidden; }
  .hero-two-col { width: 100%; min-width: 0; }
  .hero-text, .hero-content, .hero-subtitle { width: 100%; min-width: 0; max-width: 100%; }
  .hero h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(2rem, 8vw, 2.55rem); line-height: 1.14; }
  .hero-subtitle { padding: 0 2px; font-size: clamp(.98rem, 4vw, 1.08rem); line-height: 1.65; overflow-wrap: break-word; }
  .hero-two-col .hero-buttons, .hero-buttons { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 2rem; }
  .hero-buttons .btn, .hero-two-col .hero-buttons .btn { width: 100%; max-width: 100%; min-height: 56px; justify-content: center; white-space: normal; text-align: center; margin: 0; padding: 14px 16px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 18px 8px; width: 100%; min-width: 0; border-radius: 12px; }
  .stat-item { min-width: 0; width: 100%; overflow-wrap: anywhere; }
  .stat-number { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.2; }
  .stat-suffix { font-size: clamp(1.1rem, 5vw, 1.45rem); }
  .stat-label { font-size: clamp(.72rem, 3.1vw, .85rem); line-height: 1.3; white-space: normal; }
  .stat-divider { display: none; }
  .steps-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .steps-grid .step-card { display: flex; position: relative; width: 100%; min-width: 0; min-height: 0; height: auto; align-items: center; text-align: left; gap: 16px; padding: 20px 18px; margin: 0; }
  .steps-grid .step-number { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; }
  .steps-grid .step-content { flex: 1 1 auto; min-width: 0; width: 100%; }
  .steps-grid .step-content h3 { margin: 0 0 7px; font-size: 1.02rem; line-height: 1.35; }
  .steps-grid .step-content p { margin: 0; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
  .steps-grid .step-connector { display: block; flex: 0 0 24px; width: 2px; height: 24px; align-self: 42px; margin: 0 auto; background: var(--primary); }
  /* Avoid clipped/hidden step content if an animation observer fails on mobile */
  .steps-grid [data-animate] { opacity: 1; transform: none; }
  .section-header { padding-left: 4px; padding-right: 4px; }
  .section-header .subtitle { overflow-wrap: break-word; }
  .subscription-grid { width: 100%; }
}
@media (max-width: 380px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .navbar .container { padding-left: 14px; padding-right: 14px; }
  .logo-icon { width: 42px; height: 42px; }
  .logo-text { font-size: 1.65rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero-stats { padding-left: 4px; padding-right: 4px; }
  .steps-grid .step-card { padding: 17px 14px; gap: 12px; }
}

/* V6 follow-up fixes: compact hero on touch devices and preserve plan order */
@media (max-width: 900px) {
  .subscription-grid .pricing-featured { order: 0 !important; }
}

/* Phones using browser "Desktop site" still have touch input; avoid a 100vh blank hero. */
@media (hover: none) and (pointer: coarse) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 88px !important;
    padding-bottom: 36px !important;
  }
  .hero-bg { height: 100%; }
  .hero-content { margin-top: 0; margin-bottom: 0; }
  .hero-scroll-indicator { display: none !important; }
}

@media (max-width: 767px) {
  .hero { min-height: auto !important; height: auto !important; padding: 88px 0 36px !important; }
  .subscription-grid { display: grid; grid-template-columns: minmax(0, 1fr) !important; }
  .subscription-grid > .plan-card { order: initial !important; }
  .subscription-grid > .plan-card:nth-child(1) { order: 1 !important; }
  .subscription-grid > .plan-card:nth-child(2) { order: 2 !important; }
  .subscription-grid > .plan-card:nth-child(3) { order: 3 !important; }
}


/* V6 final responsive corrections: clean steps, reliable mobile navigation and plan order */
.steps-grid .step-card {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.steps-grid .step-card > .step-number,
.steps-grid .step-card > .step-content {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.steps-grid .step-card > .step-content { height: auto !important; }
.steps-grid .step-card .step-content h3,
.steps-grid .step-card .step-content p { position: static !important; }
.payment-amount { font-weight: 500 !important; letter-spacing: -0.02em; }

/* Keep plans in the same logical order at every breakpoint: Free, Premium, Lite. */
.subscription-grid > .plan-card:nth-child(1) { order: 1 !important; }
.subscription-grid > .plan-card:nth-child(2) { order: 2 !important; }
.subscription-grid > .plan-card:nth-child(3) { order: 3 !important; }
@media (min-width: 901px) {
  .subscription-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .subscription-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .steps-grid { display: flex !important; flex-direction: column !important; gap: 0 !important; }
  .steps-grid .step-card {
    display: flex !important; flex-direction: row !important; align-items: flex-start !important;
    gap: 14px !important; padding: 20px 18px !important; margin: 0 !important;
    border: 1px solid #e1e5ec; border-radius: 18px; background: #f8fafc;
  }
  .steps-grid .step-number { flex: 0 0 44px !important; width: 44px !important; height: 44px !important; line-height: 44px; font-size: 1.2rem; }
  .steps-grid .step-content { flex: 1 1 auto !important; min-width: 0 !important; }
  .steps-grid .step-content h3 { margin: 0 0 7px !important; font-size: 1.02rem !important; line-height: 1.35 !important; }
  .steps-grid .step-content p { margin: 0 !important; font-size: .92rem !important; line-height: 1.55 !important; overflow-wrap: break-word !important; }
  .steps-grid .step-connector { width: 2px !important; height: 22px !important; flex: 0 0 22px !important; margin: 0 0 0 39px !important; align-self: flex-start !important; }
  .payment-amount { font-size: clamp(2.7rem, 13vw, 4rem) !important; font-weight: 500 !important; }
}

/* Phones with browser's "Desktop site" enabled: restore a working hamburger menu. */
@media (hover: none) and (pointer: coarse) {
  .navbar .mobile-toggle { display: flex !important; }
  .navbar .nav-links {
    position: fixed !important; top: 0 !important; right: 0 !important; left: auto !important;
    display: flex !important; flex-direction: column !important; align-items: stretch !important;
    width: min(84vw, 340px) !important; max-width: 100vw !important; height: 100dvh !important;
    padding: 88px 26px 28px !important; margin: 0 !important; gap: 8px !important;
    background: #fff !important; box-shadow: -8px 0 28px rgba(15,23,42,.14) !important;
    transform: translateX(105%) !important; transition: transform .28s ease !important;
    visibility: hidden; z-index: 1001 !important; overflow-y: auto !important;
  }
  .navbar .nav-links.active { transform: translateX(0) !important; visibility: visible !important; }
  .navbar .nav-links li { width: 100% !important; }
  .navbar .nav-links a { display: block !important; padding: 12px 0 !important; font-size: 1.05rem !important; }
  .navbar .nav-container { justify-content: space-between !important; }
  body.mobile-menu-open { overflow: hidden; }
}

/* ===== Stable responsive fixes (v6 final implementation) ===== */
/* Keep the original desktop design while correcting mobile layout/navigation. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .navbar { z-index: 1200; }
  .navbar .nav-container { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; }
  .navbar .logo { flex: 1 1 auto !important; min-width: 0 !important; }
  .navbar .logo-icon { width: 42px; height: 42px; flex: 0 0 auto; }
  .navbar .logo-text { white-space: nowrap; }
  .navbar .mobile-toggle {
    display: flex !important; flex: 0 0 44px !important; width: 44px !important; height: 44px !important;
    padding: 8px !important; align-items: center !important; justify-content: center !important;
    flex-direction: column !important; position: relative; z-index: 1202 !important;
    border: 0 !important; border-radius: 10px; background: transparent !important; cursor: pointer;
  }
  .navbar .mobile-toggle span { display: block !important; width: 25px !important; height: 2px !important; margin: 3px 0 !important; background: #172033 !important; opacity: 1; transform-origin: center; transition: transform .22s ease, opacity .22s ease; }
  .navbar .mobile-toggle.active { position: fixed !important; top: 16px !important; right: 14px !important; background: #fff !important; box-shadow: 0 2px 12px rgba(15,23,42,.08); }
  .navbar .mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg) !important; }
  .navbar .mobile-toggle.active span:nth-child(2) { opacity: 0 !important; }
  .navbar .mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) !important; }
  .navbar .nav-links {
    display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important;
    position: fixed !important; top: 0 !important; right: 0 !important; left: auto !important; bottom: 0 !important;
    width: min(84vw, 340px) !important; max-width: 100vw !important; height: 100vh !important; height: 100dvh !important;
    margin: 0 !important; padding: 88px 26px 28px !important; gap: 8px !important;
    background: #fff !important; box-shadow: -10px 0 30px rgba(15,23,42,.14) !important;
    transform: translateX(110%) !important; visibility: hidden !important; pointer-events: none !important;
    transition: transform .25s ease, visibility .25s ease !important; z-index: 1201 !important; overflow-y: auto !important;
    list-style: none !important;
  }
  .navbar .nav-links.active { transform: translateX(0) !important; visibility: visible !important; pointer-events: auto !important; }
  .navbar .nav-links li { display: block !important; width: 100% !important; }
  .navbar .nav-links a { display: block !important; padding: 13px 0 !important; font-size: 1.05rem !important; line-height: 1.4 !important; white-space: normal !important; }
  .navbar .nav-links .nav-cta { text-align: center; margin-top: 10px; padding: 14px 18px !important; }
  body.mobile-menu-open { overflow: hidden !important; }

  /* Step cards must contain their own copy; decorative connectors caused overlap. */
  .steps-grid { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 14px !important; width: 100% !important; max-width: 100% !important; margin: 28px auto 0 !important; }
  .steps-grid .step-card { display: flex !important; flex: 0 0 auto !important; flex-direction: row !important; align-items: flex-start !important; position: relative !important; inset: auto !important; width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 20px 18px !important; gap: 14px !important; overflow: visible !important; text-align: left !important; border: 1px solid #e1e5ec !important; border-radius: 18px !important; background: #f8fafc !important; }
  .steps-grid .step-connector { display: none !important; }
  .steps-grid .step-card > .step-number { position: static !important; inset: auto !important; display: flex !important; flex: 0 0 44px !important; width: 44px !important; height: 44px !important; margin: 0 !important; transform: none !important; opacity: 1 !important; visibility: visible !important; line-height: 1 !important; align-items: center !important; justify-content: center !important; }
  .steps-grid .step-card > .step-content { display: block !important; flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; position: static !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
  .steps-grid .step-content h3 { position: static !important; margin: 0 0 7px !important; font-size: 1rem !important; line-height: 1.4 !important; overflow-wrap: break-word !important; }
  .steps-grid .step-content p { position: static !important; margin: 0 !important; font-size: .92rem !important; line-height: 1.55 !important; overflow-wrap: break-word !important; }
  .how-it-works { height: auto !important; min-height: 0 !important; padding-bottom: 52px !important; overflow: visible !important; }
  .how-it-works .container, .how-it-works .section-header { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  .pricing { position: relative; clear: both; }
  .subscription-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; width: 100% !important; max-width: 460px !important; gap: 18px !important; }
  .subscription-grid > .plan-card:nth-child(1) { order: 1 !important; }
  .subscription-grid > .plan-card:nth-child(2) { order: 2 !important; }
  .subscription-grid > .plan-card:nth-child(3) { order: 3 !important; }
  .payment-amount { font-weight: 500 !important; letter-spacing: -.02em !important; }
}

/* Desktop order: Free on the left, Premium in the middle, Lite on the right. */
@media (min-width: 901px) {
  .subscription-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; align-items: stretch; }
  .subscription-grid > .plan-card:nth-child(1) { order: 1 !important; }
  .subscription-grid > .plan-card:nth-child(2) { order: 2 !important; }
  .subscription-grid > .plan-card:nth-child(3) { order: 3 !important; }
}
@media (max-width: 900px) and (min-width: 768px) {
  .subscription-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .subscription-grid > .plan-card:nth-child(1) { order: 1 !important; }
  .subscription-grid > .plan-card:nth-child(2) { order: 2 !important; }
  .subscription-grid > .plan-card:nth-child(3) { order: 3 !important; }
}
