/* ==========================================
   LocalBengaluru.com - Modern CSS Stylesheet
   ========================================== */

/* CSS Variables */
:root {
    /* Colors - Warm, earthy palette inspired by Bengaluru */
    --color-primary: #2D5A27;
    --color-primary-dark: #1E3D1A;
    --color-primary-light: #4A7C43;
    --color-secondary: #D4A574;
    --color-accent: #E8B86D;
    --color-accent-bright: #F4C97B;
    
    /* Neutrals */
    --color-dark: #1A1A1A;
    --color-text: #2C2C2C;
    --color-text-light: #5A5A5A;
    --color-text-muted: #8A8A8A;
    --color-light: #F8F5F0;
    --color-white: #FFFFFF;
    --color-cream: #FBF9F4;
    --color-border: #E5E0D8;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #2D5A27 0%, #1E3D1A 50%, #142812 100%);
    --gradient-accent: linear-gradient(135deg, #E8B86D 0%, #D4A574 100%);
    --gradient-card: linear-gradient(180deg, rgba(45, 90, 39, 0) 0%, rgba(45, 90, 39, 0.9) 100%);
    
    /* Typography */
    --font-heading: 'Crimson Pro', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --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 rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-md);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-full {
    width: 100%;
}

/* Section Badges */
.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(45, 90, 39, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: transparent;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    transition: var(--transition-base);
}

.navbar.scrolled .logo {
    color: var(--color-dark);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo .highlight {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-dark);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(232, 184, 109, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(74, 124, 67, 0.2) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: var(--space-3xl) var(--space-lg);
    max-width: 900px;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.1s backwards;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto var(--space-xl);
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease 0.5s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: var(--space-sm) auto 0;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content {
    padding-right: var(--space-xl);
}

.about-text {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--color-primary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-cream);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-weight: 600;
    color: var(--color-dark);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* ==========================================
   Explore Section
   ========================================== */
.explore-section {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.explore-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.explore-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.explore-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0.6;
}

.card-icon {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.card-content {
    padding: var(--space-lg);
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
}

.card-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.card-list {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
}

.card-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: var(--space-2xl);
}

.faq-category-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border);
}

.faq-item {
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-primary-light);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--color-cream);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: left;
    transition: var(--transition-base);
}

.faq-item.active .faq-question {
    background: var(--color-primary);
    color: var(--color-white);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--color-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.8;
    background: var(--color-white);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.contact-info {
    color: var(--color-white);
}

.contact-info .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.contact-info .section-title {
    color: var(--color-white);
}

.contact-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-note {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
}

.contact-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form .form-group {
    margin-bottom: var(--space-lg);
}

.contact-form label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact a {
    color: var(--color-accent);
    font-weight: 500;
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-qr-image {
    max-width: 120px;
    width: 100%;
    height: auto;
    margin-top: var(--space-sm);
    opacity: 0.9;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.footer-qr-image:hover {
    opacity: 1;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        transition: var(--transition-base);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--color-dark);
        font-size: 1.25rem;
    }
    
    .hero-stats {
        gap: var(--space-xl);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-content {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .image-accent {
        display: none;
    }
    
    .explore-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-contact {
        align-items: center;
        text-align: center;
    }
    
    .footer-qr-image {
        align-self: center;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

/* ==========================================
   Cost of Living Highlight Section
   ========================================== */
.cost-highlight-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    position: relative;
    overflow: hidden;
}

.cost-highlight-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cost-highlight-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.cost-highlight-content .section-title {
    color: #78350f;
}

.cost-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.cost-preview-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.8);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.cost-preview-icon {
    font-size: 2rem;
}

.cost-preview-label {
    display: block;
    font-size: 0.85rem;
    color: #92400e;
}

.cost-preview-value {
    font-weight: 700;
    color: #78350f;
    font-size: 1.1rem;
}

.cost-highlight-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.cost-card-stack {
    position: relative;
    width: 200px;
    height: 250px;
}

.cost-card {
    position: absolute;
    width: 140px;
    height: 100px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.cost-card-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

.cost-card-text {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9rem;
}

.cost-card-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 4;
}

.cost-card-2 {
    top: 20px;
    left: 60px;
    transform: rotate(5deg);
    z-index: 3;
}

.cost-card-3 {
    top: 80px;
    left: 10px;
    transform: rotate(-3deg);
    z-index: 2;
}

.cost-card-4 {
    top: 100px;
    left: 70px;
    transform: rotate(8deg);
    z-index: 1;
}

.cost-card-stack:hover .cost-card-1 {
    transform: rotate(-8deg) translateY(-10px);
}

.cost-card-stack:hover .cost-card-2 {
    transform: rotate(5deg) translateY(-5px);
}

.cost-card-stack:hover .cost-card-3 {
    transform: rotate(-3deg) translateY(-8px);
}

.cost-card-stack:hover .cost-card-4 {
    transform: rotate(8deg) translateY(-3px);
}

@media (max-width: 768px) {
    .cost-highlight-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cost-highlight-visual {
        display: none;
    }
    
    .cost-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Swipe Quiz Section
   ========================================== */
.swipe-quiz-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.swipe-quiz-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(232, 184, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 90, 39, 0.15) 0%, transparent 50%);
}

.swipe-quiz-section .section-header {
    position: relative;
    z-index: 1;
}

.swipe-quiz-section .section-badge {
    background: rgba(232, 184, 109, 0.2);
    color: var(--color-accent);
}

.swipe-quiz-section .section-title {
    color: var(--color-white);
}

.swipe-quiz-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.swipe-quiz-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Score Display */
.swipe-score {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.swipe-score-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
}

.swipe-score-icon {
    font-size: 1.25rem;
}

.swipe-score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-heading);
}

/* Card Stack */
.swipe-card-stack {
    position: relative;
    height: 480px;
    perspective: 1000px;
    margin-bottom: var(--space-xl);
}

.swipe-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    cursor: grab;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
    overflow: hidden;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card.dragging {
    transition: none;
}

/* Card stack effect */
.swipe-card:nth-child(1) { z-index: 4; }
.swipe-card:nth-child(2) { z-index: 3; transform: scale(0.95) translateY(10px); opacity: 0.8; }
.swipe-card:nth-child(3) { z-index: 2; transform: scale(0.9) translateY(20px); opacity: 0.6; }
.swipe-card:nth-child(4) { z-index: 1; transform: scale(0.85) translateY(30px); opacity: 0.4; }

/* Swipe animations */
.swipe-card.swipe-left {
    animation: swipeLeft 0.5s ease forwards;
}

.swipe-card.swipe-right {
    animation: swipeRight 0.5s ease forwards;
}

@keyframes swipeLeft {
    to {
        transform: translateX(-150%) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes swipeRight {
    to {
        transform: translateX(150%) rotate(30deg);
        opacity: 0;
    }
}

/* Card Content */
.swipe-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.swipe-card-header {
    background: var(--gradient-hero);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swipe-card-category {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.swipe-card-number {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.swipe-card-body {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.swipe-card-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    line-height: 1.4;
    flex-shrink: 0;
}

.swipe-card-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.swipe-option {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-cream);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.swipe-option:hover {
    border-color: var(--color-primary);
    background: rgba(45, 90, 39, 0.05);
}

.swipe-option.selected {
    border-color: var(--color-primary);
    background: rgba(45, 90, 39, 0.1);
}

.swipe-option.correct {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}

.swipe-option.wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.swipe-option-letter {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.swipe-option.correct .swipe-option-letter {
    background: #22c55e;
    color: white;
}

.swipe-option.wrong .swipe-option-letter {
    background: #ef4444;
    color: white;
}

/* Swipe indicator overlays */
.swipe-card-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.swipe-card-overlay.left {
    left: var(--space-xl);
}

.swipe-card-overlay.right {
    right: var(--space-xl);
}

.swipe-card.drag-left .swipe-card-overlay.left {
    opacity: 1;
}

.swipe-card.drag-right .swipe-card-overlay.right {
    opacity: 1;
}

/* Swipe Buttons */
.swipe-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.swipe-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swipe-btn span:first-child {
    font-size: 1.75rem;
}

.swipe-btn span:last-child {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.swipe-btn-wrong {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.swipe-btn-wrong:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.swipe-btn-correct {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.swipe-btn-correct:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

.swipe-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Instructions */
.swipe-instructions {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

/* CTA */
.swipe-cta {
    text-align: center;
}

/* Complete state */
.swipe-complete {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-white);
}

.swipe-complete-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.swipe-complete-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.swipe-complete-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.swipe-complete-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
}

/* Responsive */
@media (max-width: 480px) {
    .swipe-card-stack {
        height: 420px;
    }
    
    .swipe-card-question {
        font-size: 1rem;
    }
    
    .swipe-option {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.85rem;
    }
    
    .swipe-option-letter {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .swipe-btn {
        width: 70px;
        height: 70px;
    }
    
    .swipe-btn span:first-child {
        font-size: 1.5rem;
    }
    
    .swipe-card-body {
        padding: var(--space-md);
    }
}

/* ==========================================
   Animations & Utilities
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth reveal for sections */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* Toast notification for form */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

