:root {
    --bg-color: #FDFBF7; /* Nude/warm white */
    --bg-alt: #F2EDE4; /* Light beige for section contrast */
    --text-primary: #000000;
    --text-secondary: #6A6A6A;
    --accent-color: #8A6B9C; /* Subtle purple for AI glow */
    --accent-light: rgba(138, 107, 156, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;
    
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    font-weight: 300;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

/* Background Effects */
.ai-glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 80% 20%, rgba(138, 107, 156, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(138, 107, 156, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 80px;
    gap: var(--spacing-sm); /* Bring the nav much closer to the right button */
}

.header-left {
    margin-right: auto;
    display: flex;
    justify-content: flex-start;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 12px;
    text-transform: uppercase;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav a:not(.btn) {
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.nav a:not(.btn):hover {
    color: var(--accent-color);
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.nav a:not(.btn):hover::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .header-left, .header-right {
        flex: auto;
    }
    
    .nav.nav-center {
        gap: var(--spacing-sm);
    }
    
    .nav-heading {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .logo {
        font-size: 2rem;
        letter-spacing: 6px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding-top: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    .header-left, .header-right {
        justify-content: center;
        width: 100%;
    }
    .nav.nav-center {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(138, 107, 156, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-primary);
    font-weight: 500;
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-text {
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 1rem;
}

.btn-text:hover {
    color: var(--accent-color);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-right: var(--spacing-md);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(138, 107, 156, 0.2);
}

@keyframes bounceLeftRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

.badge.badge-offer {
    color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.05);
    border: 1px solid rgba(211, 47, 47, 0.3);
    font-weight: 600;
    animation: bounceLeftRight 2s infinite ease-in-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

/* Hero Image Visuals */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#hero-interactive {
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

#hero-interactive:hover {
    transform: scale(1.02);
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                transparent 0%, 
                rgba(138, 107, 156, 0.1) 48%, 
                rgba(138, 107, 156, 0.4) 50%, 
                rgba(138, 107, 156, 0.1) 52%,
                transparent 100%);
    background-size: 100% 200%;
    animation: faceScan 3s linear infinite;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes faceScan {
    0% { background-position: 0 -100%; }
    100% { background-position: 0 100%; }
}

.hero-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 107, 156, 0.15) 0%, rgba(253, 251, 247, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

.clickable-section {
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.clickable-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(138, 107, 156, 0);
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.clickable-section:hover::after {
    background: rgba(138, 107, 156, 0.05); /* Slight accent overlay indicating interactivity */
}

.clickable-section:active {
    transform: scale(0.99); /* Gentle pressed effect */
}

/* Intro Section */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.intro-content .section-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.intro-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.image-placeholder {
    width: 100%;
    height: 600px;
    background: linear-gradient(145deg, #F9F5EF 0%, #E5D9C5 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.about-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    opacity: 0.7;
    animation: scan 4s linear infinite;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    font-family: var(--font-body);
}

/* Authority Section */
.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.authority-text {
    padding-left: var(--spacing-md);
}

.portrait-placeholder {
    height: 600px;
    background: linear-gradient(145deg, #F2EDE4 0%, #E5D9C5 100%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    color: rgba(26,26,26,0.3);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.authority-name {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.authority-title {
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.authority-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-color);
    padding: var(--spacing-lg) var(--spacing-md);
    border: 2px solid var(--text-primary);
    border-radius: 8px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--accent-light);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-light);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
}

.service-icon.glow-pulse::after {
    animation: pulse 2s infinite;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.service-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

/* Process Section */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.process-line {
    position: absolute;
    top: 3.4rem;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(138, 107, 156, 0.2);
    z-index: 1;
}

.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: timelineScan 4s infinite linear;
}

@keyframes timelineScan {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 70%; opacity: 0; }
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 3rem;
    height: 3rem;
    margin: 0 auto var(--spacing-sm);
    background: var(--bg-color);
    border: 1px solid rgba(138, 107, 156, 0.3);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    position: relative;
    box-shadow: 0 0 20px rgba(138, 107, 156, 0.1);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 180px;
    margin: 0 auto;
}

/* Offer Section */
.offer-card {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(138, 107, 156, 0.1);
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.badge-accent {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
}

.offer-card .section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.offer-list {
    list-style: none;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
    max-width: max-content;
}

.offer-list li {
    font-size: 1.2rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(26,26,26,0.05);
}

.offer-list li:last-child {
    border-bottom: none;
}

.offer-terms {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--bg-color);
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: var(--accent-light);
    font-family: var(--font-heading);
    position: absolute;
    top: var(--spacing-xs);
    left: var(--spacing-md);
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Booking form */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    background: var(--text-primary);
    color: var(--bg-color);
    padding: var(--spacing-xl);
    border-radius: 4px;
}

.booking-container .section-title {
    color: var(--bg-color);
}

.booking-container p {
    color: rgba(253, 251, 247, 0.7);
    font-size: 1.1rem;
}

.booking-form {
    background: rgba(255,255,255,0.05);
    padding: var(--spacing-md);
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(253, 251, 247, 0.8);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--bg-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group select option {
    background: var(--text-primary);
    color: var(--bg-color);
}

.booking-form .btn-primary {
    background: var(--bg-color);
    color: var(--text-primary);
    margin-top: var(--spacing-sm);
}

.booking-form .btn-primary:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--accent-color);
    min-height: 20px;
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) 0;
    background: var(--bg-color);
}

.btn-large {
    font-size: 1rem;
    padding: 1.2rem 3.5rem;
    margin-top: var(--spacing-md);
}

/* Footer */
.footer {
    background: var(--bg-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(26,26,26,0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(26,26,26,0.05);
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md) var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--accent-color);
}

.contact-item .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    min-width: 35px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

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

.copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-60%) translateX(-20px); }
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { top: 100%; opacity: 0; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(138, 107, 156, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(138, 107, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(138, 107, 156, 0); }
}

/* Reveal classes for JS */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    align-items: flex-end;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.float-wa {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
}

.float-wa:hover {
    background-color: #128C7E;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37,211,102,0.3);
}

.float-cta {
    padding: 1.2rem 2.5rem;
    background-color: var(--text-primary);
    color: var(--bg-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.float-cta:hover {
    background-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(138, 107, 156, 0.3);
}

/* AI Analysis Section */
.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.upload-box {
    border: 1px dashed rgba(138, 107, 156, 0.4);
    background: rgba(253, 251, 247, 0.5);
    border-radius: 8px;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: var(--transition);
    cursor: pointer;
}

.upload-box:hover {
    border-color: var(--accent-light);
    background: var(--bg-color);
    box-shadow: 0 10px 30px rgba(138, 107, 156, 0.05);
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.upload-or {
    display: block;
    margin: var(--spacing-sm) 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

.preview-card {
    background: var(--bg-color);
    border: 1px solid rgba(138, 107, 156, 0.2);
    border-radius: 8px;
    padding: var(--spacing-lg);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.scanning-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent-light);
    box-shadow: 0 0 15px var(--accent-light);
    animation: timelineScanVertical 4s infinite linear;
    z-index: 0;
}

.preview-title {
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    font-weight: 500;
}

.analysis-list {
    list-style: none;
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-lg);
}

.analysis-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(26,26,26,0.05);
}

.metric-label {
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.metric-value {
    font-weight: 600;
    color: var(--text-primary);
}

.preview-cta {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Dark overlay when menu is open */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 500;
    backdrop-filter: blur(2px);
}
.nav-overlay.visible {
    display: block;
}

/* Mobile book button hidden on desktop */
.mobile-book-btn {
    display: none;
}

/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
    .header-left, .header-right {
        flex: auto;
    }

    .nav.nav-center {
        gap: var(--spacing-sm);
    }

    .logo {
        font-size: 2rem;
        letter-spacing: 8px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 5rem;
        --spacing-lg: 3.5rem;
        --spacing-md: 2rem;
        --spacing-sm: 1.2rem;
    }

    /* Header */
    .header {
        position: relative; /* needed so absolute dropdown child positions correctly */
    }

    .header-inner {
        height: 70px;
        gap: 0;
    }

    .header-left {
        flex: 1;
    }

    .logo {
        font-size: 1.6rem;
        letter-spacing: 6px;
    }

    /* Show hamburger, hide desktop nav & book btn */
    .hamburger {
        display: flex;
    }

    .desktop-book-btn {
        display: none;
    }

    /* Mobile top-right dropdown menu */
    .nav.nav-center {
        position: absolute;
        top: 70px;            /* sits directly below the header */
        right: 0;
        left: auto;
        width: min(280px, 90vw);
        height: auto;
        background: var(--bg-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 1.5rem 2rem 2rem;
        z-index: 600;
        /* Hidden: slid up + invisible */
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 20px 50px rgba(0,0,0,0.12);
        border-top: 1px solid rgba(26,26,26,0.06);
        border-left: 1px solid rgba(26,26,26,0.06);
    }

    .nav.nav-center.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav.nav-center a {
        width: 100%;
        padding: 0.9rem 0;
        border-bottom: 1px solid rgba(26,26,26,0.05);
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .nav.nav-center a:last-child {
        border-bottom: none;
    }

    /* Show Book Analysis button inside mobile menu */
    .mobile-book-btn {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 0.9rem 1.5rem;
        font-size: 0.8rem;
        border-bottom: none !important;
    }

    /* Hero */
    .hero {
        padding-top: 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 340px;
        justify-content: center;
    }

    .image-wrapper {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 360px;
        padding: 1.1rem 2rem;
        justify-content: center;
    }

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

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

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

    .intro-text {
        font-size: 1rem;
    }

    /* Grids → single column */
    .about-grid,
    .authority-grid,
    .booking-container,
    .analysis-grid {
        grid-template-columns: 1fr;
    }

    .about-text p {
        font-size: 1rem;
    }

    .authority-text {
        padding-left: 0;
    }

    .authority-name {
        font-size: 1.8rem;
    }

    .image-placeholder {
        height: 340px;
    }

    .portrait-placeholder {
        height: 340px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .feature-item {
        padding: var(--spacing-sm);
    }

    /* Process */
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }

    .process-line {
        top: 0;
        left: 50%;
        width: 1px;
        height: 100%;
    }

    .process-line::after {
        width: 1px;
        height: 30%;
        animation: timelineScanVertical 4s infinite linear;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    /* Booking form */
    .booking-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .booking-container .section-title {
        font-size: 1.8rem;
    }

    /* Offer */
    .offer-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .offer-card .section-title {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .footer-contact {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .footer-links {
        gap: var(--spacing-sm);
    }

    /* Floating actions */
    .floating-actions {
        bottom: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }

    .float-wa {
        width: 52px;
        height: 52px;
    }

    .float-cta {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   RESPONSIVE — SMALL PHONES (≤480px)
   ============================================ */
@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }

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

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

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

    .container {
        padding: 0 1.25rem;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.9rem 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-60%) translateX(-20px); }
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { top: 100%; opacity: 0; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(138, 107, 156, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(138, 107, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(138, 107, 156, 0); }
}

@keyframes timelineScanVertical {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 70%; opacity: 0; }
}
