/* ========================================
   Payment Planner Landing Page Styles
   Modern, Tech-Focused Design
   ======================================== */

/* CSS Variables - Cool Blue & Purple Palette */
:root {
    /* Primary Colors */
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);

    /* Secondary Colors */
    --secondary-blue: #3b82f6;
    --secondary-purple: #8b5cf6;
    --accent-cyan: #06b6d4;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #f1f5f9;
    --gray: #94a3b8;
    --dark-gray: #475569;
    --slate: #334155;
    --dark: #1e293b;
    --darker: #0f172a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

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

.logo {
    position: relative;
    display: block;
    width: 220px;
    height: 60px;
    flex-shrink: 0;
    overflow: visible;
}

.logo-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 200px;
    width: auto;
    max-width: none;
    display: block;
    filter: brightness(0) invert(1); /* default navbar = white */
    pointer-events: none;
}

/* Navbar when scrolled (white background) */
.navbar.scrolled .logo-image {
    filter: none; /* original logo colours */
}

/* Footer logo should also be white/inverted */
.footer .logo {
    position: relative;
    display: block;
    width: 220px;
    height: 60px;
    overflow: visible;
}

.footer .logo-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 120px; /* usually better smaller in footer */
    width: auto;
    max-width: none;
    display: block;
    filter: brightness(0) invert(1); /* footer = white */
}

.navbar.scrolled .logo {
    color: var(--primary-blue);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--dark);
}

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

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

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--dark);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .btn-outline {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .btn-ghost {
    background: var(--light-gray);
    color: var(--dark);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--darker);
}

.gradient-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(37, 99, 235, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    font-size: 0.625rem;
    color: var(--primary-blue);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-image {
    position: relative;
}

.hero-image-container {
    position: relative;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.hero-screenshot {
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--white);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 1.5rem;
}

.floating-card .card-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.875rem;
}

.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--darker);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--off-white);
}

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

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card.featured {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-card.featured h3,
.feature-card.featured p,
.feature-card.featured .feature-list li {
    color: var(--white);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--darker);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-list {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.feature-list li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.feature-card.featured .feature-list li::before {
    color: var(--white);
}

/* ========================================
   Calculators Section
   ======================================== */
.calculators {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.calculator-showcase {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.calculator-tabs {
    display: flex;
    background: var(--light-gray);
    padding: 8px;
    gap: 8px;
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.tab-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: var(--white);
}

.calculator-content {
    padding: 60px;
}

.tab-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: grid;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 16px;
}

.tab-content p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.check-list {
    margin-bottom: 32px;
}

.check-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--dark);
    font-weight: 500;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-list li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
}

.content-image {
    position: relative;
}

.calculator-screenshot {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.calculator-screenshot:hover {
    transform: scale(1.02);
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    background: var(--off-white);
}

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

.step-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

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

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

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

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ========================================
   Mobile App Section
   ======================================== */
.mobile-app {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    overflow: hidden;
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mobile-content .section-title {
    text-align: left;
}

.mobile-content .section-subtitle {
    text-align: left;
}

.mobile-content .check-list {
    margin: 32px 0;
}

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--darker);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-store-btn.coming-soon {
    opacity: 0.6;
    cursor: default;
    background: var(--gray);
}

.app-store-btn.coming-soon:hover {
    transform: none;
    box-shadow: none;
    background: var(--gray);
}

.app-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.app-text {
    display: flex;
    flex-direction: column;
}

.app-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.app-text strong {
    font-size: 1rem;
    font-weight: 600;
}

.mobile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: var(--darker);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(37, 99, 235, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: contain;
    background: var(--darker);
}
/* ========================================
   Guest Access Tab
   ======================================== */
.guest-access-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.guest-access-card {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 380px;
}

.guest-access-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.guest-badge {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.guest-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
}

.timer-icon {
    font-size: 1rem;
}

.guest-access-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guest-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
}

.guest-step:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.guest-step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guest-step-text strong {
    font-size: 0.9rem;
    color: var(--darker);
    font-weight: 600;
}

.guest-step-text span {
    font-size: 0.8rem;
    color: var(--gray);
}

.guest-step-arrow {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    padding: 2px 0;
    margin-left: 36px;
}
/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--off-white);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--darker);
    font-size: 0.9375rem;
}

.author-role {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    position: relative;
    padding: 120px 0;
    background: var(--darker);
    overflow: hidden;
}

.cta .gradient-bg {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.4) 0%, transparent 60%);
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.demo-form {
    max-width: 600px;
    margin: 0 auto 16px;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row .cta-input {
    flex: 1;
}

.cta-textarea {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all var(--transition-base);
    resize: vertical;
    min-height: 80px;
}

.cta-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-textarea:focus {
    border-color: var(--secondary-blue);
    background: rgba(255, 255, 255, 0.15);
}

.cta-input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all var(--transition-base);
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-input:focus {
    border-color: var(--secondary-blue);
    background: rgba(255, 255, 255, 0.15);
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--darker);
    padding: 60px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ========================================
   Subscription Offer Section
   ======================================== */
.subscription-offer {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.subscription-offer .gradient-bg {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

/* Intro block — full width, centered above the cards */
.subscription-intro {
    text-align: center;
    margin-bottom: 48px;
}

.subscription-intro .section-title,
.subscription-intro .section-subtitle {
    text-align: center;
}

/* Grid — two equal columns for the cards only */
.subscription-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Pricing Card */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--darker);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.pricing-description {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

/* Pricing Features */
.pricing-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.feature-item:last-child {
    border-bottom: none;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.9375rem;
    color: var(--dark);
    font-weight: 500;
}

/* Pricing CTA */
.pricing-cta {
    text-align: center;
}

.pricing-cta .btn {
    width: 100%;
    margin-bottom: 8px;
}

.pricing-note {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* Dealership Card */
.dealership-card {
    background: linear-gradient(135deg, var(--darker) 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.dealership-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.dealership-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.dealership-badge {
    background: var(--primary-gradient);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dealership-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.dealership-content {
    margin-bottom: 24px;
}

.dealership-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Dealership Benefits */
.dealership-benefits {
    margin-bottom: 24px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Dealership CTA */
.dealership-cta {
    text-align: center;
}

.dealership-cta .btn {
    width: 100%;
    margin-bottom: 8px;
    background: var(--white);
    color: var(--darker);
}

.dealership-cta .btn:hover {
    background: var(--secondary-blue);
    color: var(--white);
}

.dealership-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .subscription-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card,
    .dealership-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .subscription-offer {
        padding: 60px 0;
    }

    .subscription-intro {
        margin-bottom: 32px;
    }

    .pricing-card,
    .dealership-card {
        padding: 24px;
    }

    .price {
        flex-direction: column;
        gap: 4px;
    }

    .amount {
        font-size: 2.5rem;
    }

    .period {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .pricing-card,
    .dealership-card {
        padding: 20px;
    }

    .pricing-header h3,
    .dealership-header h3 {
        font-size: 1.125rem;
    }

    .pricing-features,
    .dealership-benefits {
        gap: 8px;
    }

    .benefit-item span {
        font-size: 0.875rem;
    }
}

/* ========================================
   Mobile Menu Fix
   ======================================== */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-cta.mobile-open {
    display: flex;
    top: calc(80px + 180px); /* below nav links */
    padding-top: 0;
    padding-bottom: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links a {
    font-size: 1.125rem;
    padding: 8px 0;
  }

  /* Burger animation */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ========================================
     Demo Form Mobile Fix
     ======================================== */
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .demo-form {
    padding: 0 4px;
  }

  .cta-input {
    width: 100%;
    font-size: 16px; /* prevents iOS zoom */
  }

  .cta-textarea {
    font-size: 16px;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  #demoSubmitBtn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
  }
} 

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-image {
        order: -1;
    }

    .mobile-grid {
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .calculator-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 0 0 calc(50% - 4px);
    }

    .calculator-content {
        padding: 32px 24px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .mobile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mobile-content .section-title,
    .mobile-content .section-subtitle {
        text-align: center;
    }

    .mobile-image {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Responsive logo */
    .logo {
        width: 180px;
        height: 50px;
    }

    .logo-image {
        height: 140px;
    }

    .footer .logo {
        width: 180px;
        height: 50px;
    }

    .footer .logo-image {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .floating-card {
        display: none;
    }

    .tab-btn {
        flex: 0 0 100%;
    }

    section {
        padding: 60px 0;
    }

    /* Smaller logo on tiny screens */
    .logo {
        width: 150px;
        height: 44px;
    }

    .logo-image {
        height: 110px;
    }

    .footer .logo {
        width: 150px;
        height: 44px;
    }

    .footer .logo-image {
        height: 75px;
    }
}