/**
 * LeadSight Marketing Page Styles
 * For main/index.html
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --color-bg: #ffffff;
    --color-text: #0f172a; /* slate-900 */
    --color-text-light: #64748b; /* slate-500 */
    --color-primary: #0f172a;
    --color-accent: #3b82f6; /* blue-500 */
    --color-accent-light: #eff6ff; /* blue-50 */
    --color-success: #10b981; /* emerald-500 */
    --color-warning: #f59e0b; /* amber-500 */
    --section-padding: 7rem 1.5rem;
    --max-width: 1200px;
}

/* Reset for marketing page */
.marketing-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.marketing-page body,
.marketing-page {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* --- Scroll Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Hero animations (immediate) */
.hero-badge {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-lead {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-actions {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-visual {
    animation: scaleIn 0.8s ease-out 0.5s both;
}

/* --- Typography --- */
.marketing-page h1, 
.marketing-page h2, 
.marketing-page h3, 
.marketing-page h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25; /* Betere line-height */
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: var(--color-accent-light);
    border-radius: 100px;
}

.marketing-page .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 640px;
    line-height: 1.7;
}

/* --- Navigation --- */
.marketing-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.marketing-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
}

.nav-btn {
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    bottom: 0;
    width: 300px;
    background: white;
    z-index: 201;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(-300px);
}

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

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}
    color: var(--color-text);
    border: 1px solid #e2e8f0;
}

.nav-btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    text-decoration: none;
}

.nav-btn-primary {
    background: var(--color-accent);
    color: white;
    border: 1px solid var(--color-accent);
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
}

.nav-btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 10px;
}

.marketing-page .btn-dark {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.marketing-page .btn-dark:hover {
    background: #1e293b;
    border-color: #1e293b;
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 1.5rem 5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Peek Effect - Screenshot that extends below hero */
.hero-visual-peek {
    max-width: 1100px;
    margin-bottom: -180px;
    position: relative;
    z-index: 1;
}

.hero-app-screenshot {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.07),
        0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: none;
}

.hero-app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .hero-visual-peek {
        margin-bottom: -120px;
    }
}

@media (max-width: 600px) {
    .hero-visual-peek {
        margin-bottom: -80px;
    }
    
    .hero-app-screenshot {
        border-radius: 12px 12px 0 0;
    }
}

/* --- Feature Strip (The Lighthouse) --- */
.lighthouse-strip {
    position: relative;
    background: #0f172a; /* Slate-900 */
    color: white;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    z-index: 2;
    padding-top: 200px;
}

@media (max-width: 900px) {
    .lighthouse-strip {
        padding-top: 140px;
        min-height: 500px;
    }
}

@media (max-width: 600px) {
    .lighthouse-strip {
        padding-top: 100px;
        min-height: auto;
    }
}

.lighthouse-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    z-index: 1;
}

.lighthouse-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .lighthouse-visual {
        width: 100%;
        opacity: 0.3;
    }
    .lighthouse-visual img {
        mask-image: linear-gradient(to bottom, transparent, black 20%);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%);
    }
}

.strip-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

@media (min-width: 900px) {
    .strip-container {
        grid-template-columns: 5fr 4fr;
    }
}

.strip-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: white;
}

.strip-content p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #e2e8f0;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* --- USP Strip --- */
.usp-strip {
    background: var(--color-primary);
    color: white;
    padding: 4rem 1.5rem;
}

.usp-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .usp-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.usp-item {
    display: flex;
    gap: 1rem;
}

.usp-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.usp-icon svg {
    width: 24px;
    height: 24px;
    color: #60a5fa;
}

.usp-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.usp-content p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Why LeadSight Section --- */
.why-section {
    padding: var(--section-padding);
    background: #f8fafc;
}

.why-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-header .section-lead {
    margin: 0 auto;
}

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

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.why-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 36px;
    height: 36px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-right: 3rem;
}

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

/* --- Smart Routing Section --- */
.routing-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.routing-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .routing-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.routing-content .section-lead {
    margin-bottom: 2rem;
}

.routing-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.routing-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.routing-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.routing-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.routing-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

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

.routing-visual {
    position: relative;
}

.map-mockup {
    background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    border-radius: 20px;
    padding: 2rem;
    min-height: 400px;
    position: relative;
    border: 1px solid #bae6fd;
    box-shadow: 0 20px 40px -12px rgba(14, 165, 233, 0.2);
}

.map-pins {
    position: absolute;
    inset: 2rem;
}

.map-pin {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-pin.blue {
    background: var(--color-accent);
}

.map-pin.orange {
    background: var(--color-warning);
}

.map-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: rotate(45deg);
}

.map-route {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60%;
    height: 40%;
    border: 3px dashed var(--color-accent);
    border-radius: 50%;
    opacity: 0.5;
}

.map-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-overlay-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.map-overlay-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Custom Section --- */
.custom-section {
    padding: var(--section-padding);
    background: var(--color-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.custom-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

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

.custom-section .section-label {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.custom-section .section-title {
    color: white;
}

.custom-section .section-lead {
    color: #94a3b8;
    margin: 0 auto 2rem;
}

/* --- Data Services Section --- */
.data-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.data-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.data-content .section-lead {
    margin: 0 auto 3rem;
}

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

@media (max-width: 900px) {
    .data-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.data-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    transition: all 0.3s ease;
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, #06b6d4 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.data-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.data-card-icon svg {
    width: 26px;
    height: 26px;
    color: #0284c7;
}

.data-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
}

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

/* --- Mailing Marketing Section --- */
.mailing-marketing-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    overflow: hidden;
}

.mailing-marketing-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .mailing-marketing-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mailing-marketing-visual {
        order: -1;
    }
}

.mailing-marketing-content .section-lead {
    margin-bottom: 2rem;
}

/* Email mockup visual */
.email-mockup {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.15);
    overflow: hidden;
}

.email-mockup-header {
    background: var(--color-primary);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.email-mockup-logo {
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    border-radius: 6px;
    flex-shrink: 0;
}

.email-mockup-subject {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-mockup-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-mockup-block {
    border-radius: 6px;
}

.email-mockup-block.heading {
    height: 18px;
    width: 60%;
    background: #e2e8f0;
    border-radius: 4px;
}

.email-mockup-block.text {
    height: 10px;
    width: 100%;
    background: #f1f5f9;
    border-radius: 3px;
}

.email-mockup-block.text.short {
    width: 75%;
}

.email-mockup-block.button {
    height: 32px;
    width: 120px;
    background: var(--color-accent);
    border-radius: 6px;
    margin-top: 0.25rem;
}

.email-mockup-block.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.25rem 0;
}

.email-mockup-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.email-mockup-stats {
    display: flex;
    gap: 1.5rem;
}

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

.email-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.email-stat-label {
    font-size: 0.7rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.email-mockup-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #d1fae5;
    color: #065f46;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Screenshots Gallery Section --- */
.gallery-section {
    padding: var(--section-padding);
    background: #ffffff;
}

.gallery-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.gallery-header .section-lead {
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.3s ease;
    transition: opacity 0.15s ease;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 1001;
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .lightbox-prev {
        left: 0.75rem;
    }
    
    .lightbox-next {
        right: 0.75rem;
    }
}

/* --- Video Section --- */
.video-section {
    padding: var(--section-padding);
    background: #f8fafc;
}

.video-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.video-visual {
    position: relative;
}

.video-mockup {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.video-header {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.video-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.video-dot.red { background: #fca5a5; }
.video-dot.yellow { background: #fcd34d; }
.video-dot.green { background: #86efac; }

.video-body {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play {
    width: 72px;
    height: 72px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.video-play:hover {
    transform: scale(1.1);
}

.video-play svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    margin-left: 4px;
}

/* --- Values Section --- */
.values-section {
    padding: var(--section-padding);
}

.values-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-header .section-lead {
    margin: 0 auto;
}

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

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

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, #dbeafe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-container .section-title {
    margin-bottom: 1rem;
}

.cta-container .section-lead {
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact Form Section --- */
.contact-section {
    padding: var(--section-padding);
    background: var(--color-primary);
    color: white;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section .section-label {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-lead {
    color: #94a3b8;
    margin: 0 auto 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form .form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    padding: 0.875rem 1rem;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #1e293b;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
    width: 100%;
}

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

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #64748b;
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 1rem;
}

.form-submit .nav-btn-primary {
    width: 100%;
    justify-content: center;
}

/* Contact Form Messages */
.contact-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-message svg {
    flex-shrink: 0;
}

.contact-message-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.contact-message-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Form transition */
.contact-form {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Loading spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

.form-submit button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* --- Footer --- */
.marketing-footer {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 3.5rem 1.5rem 0;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-logo-link img {
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 2.5rem auto 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.footer-stu a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-stu a:hover {
    color: #2563eb;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

