/* ================================================
   VEEMOR - Premium Website Styles
   Modern, Animated, Professional
   ================================================ */

/* ============= CSS Variables ============= */
:root {
    /* Colors */
    --color-primary: #1a365d;
    --color-primary-light: #2d4a7c;
    --color-primary-dark: #0f2240;
    --color-secondary: #4299e1;
    --color-accent: #63b3ed;
    --color-white: #ffffff;
    --color-gray-50: #f7fafc;
    --color-gray-100: #edf2f7;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e0;
    --color-gray-400: #a0aec0;
    --color-gray-500: #718096;
    --color-gray-600: #4a5568;
    --color-gray-700: #2d3748;
    --color-gray-800: #1a202c;
    --color-gray-900: #171923;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-primary) 100%);

    /* Typography */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(66, 153, 225, 0.3);
    --shadow-glow-lg: 0 0 60px rgba(66, 153, 225, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms ease;

    /* Z-index */
    --z-header: 1000;
    --z-modal: 1100;
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ============= Floating Particles Background ============= */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.12;
    animation: float-particle linear infinite;
}

/* Different particle sizes and colors */
.particle--1 {
    width: 300px;
    height: 280px;
    background: radial-gradient(ellipse at center, var(--color-primary) 0%, transparent 70%);
    top: 10%;
    left: -5%;
    animation-duration: 25s;
    border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
}

.particle--2 {
    width: 200px;
    height: 220px;
    background: radial-gradient(ellipse at center, var(--color-secondary) 0%, transparent 70%);
    top: 60%;
    right: -3%;
    animation-duration: 30s;
    animation-delay: -5s;
    border-radius: 40% 60% 70% 30% / 60% 40% 50% 50%;
}

.particle--3 {
    width: 150px;
    height: 160px;
    background: radial-gradient(ellipse at center, var(--color-accent) 0%, transparent 70%);
    top: 30%;
    right: 10%;
    animation-duration: 20s;
    animation-delay: -10s;
    border-radius: 50% 60% 40% 70% / 40% 50% 60% 50%;
    opacity: 0.08;
}

.particle--4 {
    width: 250px;
    height: 230px;
    background: radial-gradient(ellipse at center, var(--color-primary) 0%, transparent 70%);
    bottom: 10%;
    left: 15%;
    animation-duration: 35s;
    animation-delay: -15s;
    border-radius: 70% 30% 50% 50% / 50% 70% 30% 50%;
    opacity: 0.1;
}

.particle--5 {
    width: 180px;
    height: 190px;
    background: radial-gradient(ellipse at center, var(--color-secondary) 0%, transparent 70%);
    top: 5%;
    right: 20%;
    animation-duration: 28s;
    animation-delay: -8s;
    border-radius: 45% 55% 65% 35% / 55% 45% 55% 45%;
    opacity: 0.09;
}

.particle--6 {
    width: 120px;
    height: 130px;
    background: radial-gradient(ellipse at center, var(--color-primary) 0%, transparent 70%);
    bottom: 30%;
    right: 5%;
    animation-duration: 22s;
    animation-delay: -3s;
    border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
    opacity: 0.11;
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.05);
    }
    50% {
        transform: translate(-20px, -60px) rotate(180deg) scale(0.95);
    }
    75% {
        transform: translate(-40px, -20px) rotate(270deg) scale(1.02);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

/* Responsive particles - smaller on mobile */
@media (max-width: 768px) {
    .particle--1 { width: 180px; height: 170px; }
    .particle--2 { width: 120px; height: 130px; }
    .particle--3 { width: 90px; height: 100px; }
    .particle--4 { width: 150px; height: 140px; }
    .particle--5 { width: 100px; height: 110px; }
    .particle--6 { width: 70px; height: 80px; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .particle {
        animation: none;
    }
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============= Utilities ============= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-4xl) 0;
    position: relative;
    z-index: 1;
}

.section--dark {
    background: var(--gradient-hero);
    color: var(--color-white);
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
}

/* ============= Buttons ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: var(--gradient-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 179, 237, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 179, 237, 0.5);
}

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn--full {
    width: 100%;
}

.btn svg {
    transition: var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ============= Section Headers ============= */
.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section__subtitle {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(66, 153, 225, 0.1);
    border-radius: var(--radius-full);
}

.section__subtitle--light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}

.section__title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-800);
}

.section__title--light {
    color: var(--color-white);
}

/* ============= Header & Navigation ============= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    padding: var(--spacing-md) 0;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) 0;
}

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

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

.nav__logo-img {
    width: 48px;
    height: auto;
}

.nav__logo-text {
    font-family: var(--font-family);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

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

.nav__link {
    font-weight: 500;
    color: var(--color-gray-600);
    position: relative;
    padding: var(--spacing-xs) 0;
}

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

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

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--gradient-accent);
    color: var(--color-white) !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: var(--font-size-xl);
    color: var(--color-primary);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: var(--shadow-2xl);
        padding: var(--spacing-4xl) var(--spacing-xl);
        transition: var(--transition-slow);
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .nav__link {
        font-size: var(--font-size-lg);
    }

    .nav__close {
        display: block;
        position: absolute;
        top: var(--spacing-lg);
        right: var(--spacing-lg);
    }

    .nav__toggle {
        display: block;
    }
}

/* ============= Hero Section ============= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 50%, var(--color-gray-100) 100%);
}

.hero__bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.hero__shape--1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-hero);
    top: -200px;
    right: -100px;
    animation: morphShape 20s ease-in-out infinite;
}

.hero__shape--2 {
    width: 400px;
    height: 400px;
    background: rgba(66, 153, 225, 0.1);
    bottom: -100px;
    left: -100px;
    animation: morphShape 15s ease-in-out infinite reverse;
}

.hero__shape--3 {
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    top: 50%;
    right: 20%;
    animation: floatShape 10s ease-in-out infinite;
}

@keyframes morphShape {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg);
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(180deg);
    }
}

@keyframes floatShape {

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

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding-top: var(--spacing-4xl);
}

.hero__content {
    z-index: 1;
}

.hero__title {
    font-size: var(--font-size-7xl);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.02em;
}

.hero__title-highlight {
    display: inline-block;
    position: relative;
}

.hero__title-highlight::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--gradient-accent);
    opacity: 0.3;
    z-index: -1;
    transform: skewX(-5deg);
}

.hero__tagline {
    font-size: var(--font-size-xl);
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.typing-text {
    color: var(--color-secondary);
    font-weight: 600;
}

.hero__cta {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero__robot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__robot-img {
    max-width: 450px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(26, 54, 93, 0.2));
    position: relative;
    z-index: 1;
}

.hero__robot-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

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

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-secondary), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

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

    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero__title {
        font-size: var(--font-size-5xl);
    }

    .hero__robot-img {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(var(--spacing-4xl) + 60px);
    }

    .hero__title {
        font-size: var(--font-size-4xl);
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__robot {
        order: -1;
    }

    .hero__robot-img {
        max-width: 280px;
    }

    .hero__scroll-indicator {
        display: none;
    }
}

/* ============= About Section ============= */
.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.about__card {
    padding: var(--spacing-2xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-100);
    transition: var(--transition-base);
    text-align: center;
}

.about__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.about__card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    color: var(--color-white);
    transition: var(--transition-base);
}

.about__card:hover .about__card-icon {
    transform: scale(1.1) rotate(5deg);
}

.about__card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-md);
}

.about__card-text {
    color: var(--color-gray-600);
    line-height: 1.7;
}

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

    .about__card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .about__card:last-child {
        grid-column: span 1;
        max-width: none;
    }
}

/* ============= Services Section ============= */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.services__card {
    position: relative;
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: var(--transition-base);
}

.services__card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 179, 237, 0.3);
}

.services__card-number {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-xl);
    line-height: 1;
}

.services__card-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.services__card-text {
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.services__features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.services__features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-gray-200);
    font-size: var(--font-size-sm);
}

.services__features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--gradient-accent);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
}

.services__card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 179, 237, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    top: -100px;
    right: -100px;
    pointer-events: none;
    transition: var(--transition-slow);
    opacity: 0;
}

.services__card:hover .services__card-glow {
    opacity: 1;
}

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

/* ============= Methodology Section ============= */
.methodology__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.methodology__line {
    position: absolute;
    left: 35px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius-full);
}

.methodology__step {
    position: relative;
    display: flex;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    padding-left: calc(70px + var(--spacing-xl));
}

.methodology__step-icon {
    position: absolute;
    left: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 3px solid var(--color-secondary);
    border-radius: 50%;
    color: var(--color-secondary);
    z-index: 1;
    transition: var(--transition-base);
}

.methodology__step:hover .methodology__step-icon {
    background: var(--gradient-accent);
    color: var(--color-white);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.methodology__step-content {
    flex: 1;
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.methodology__step:hover .methodology__step-content {
    box-shadow: var(--shadow-xl);
    transform: translateX(10px);
}

.methodology__step-number {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-secondary);
    background: rgba(66, 153, 225, 0.1);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
}

.methodology__step-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-sm);
}

.methodology__step-text {
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .methodology__line {
        left: 20px;
    }

    .methodology__step {
        padding-left: calc(40px + var(--spacing-lg));
    }

    .methodology__step-icon {
        width: 40px;
        height: 40px;
    }

    .methodology__step-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ============= Contact Section ============= */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact__logo {
    margin-bottom: var(--spacing-xl);
}

.contact__logo-img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition-base);
}

.contact__logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.contact__form-container {
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
}

.contact__tagline {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--color-gray-300);
    margin: var(--spacing-xl) 0;
    padding-left: var(--spacing-lg);
    border-left: 3px solid var(--color-secondary);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--color-gray-200);
    transition: var(--transition-base);
}

.contact__item:hover {
    color: var(--color-white);
}

.contact__item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.contact__item:hover .contact__item-icon {
    background: var(--gradient-accent);
    transform: scale(1.1);
}

.contact__form {
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form__group {
    margin-bottom: var(--spacing-lg);
}

.form__label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-sm);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: var(--transition-base);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--color-gray-400);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

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

/* ============= Footer ============= */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-400);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--color-gray-800);
}

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

.footer__logo {
    width: 48px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer__brand-name {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.footer__tagline {
    font-size: var(--font-size-sm);
    max-width: 400px;
}

.footer__links {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.footer__links a {
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__bottom {
    padding-top: var(--spacing-xl);
    text-align: center;
    font-size: var(--font-size-sm);
}

/* ============= Animations ============= */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

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

/* Spin animation for loading states */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.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;
}

/* ============= Scrollbar ============= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ============= Selection ============= */
::selection {
    background: rgba(66, 153, 225, 0.3);
    color: var(--color-primary);
}

/* ================================================
   APPLE-STYLE ANIMATIONS
   Premium scroll-triggered effects
   ================================================ */

/* ============= Text Reveal Animation (Letter by Letter) ============= */
.reveal-text {
    overflow: hidden;
}

.reveal-text .word {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.25em;
}

.reveal-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-text.visible .char {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for characters */
.reveal-text .char {
    transition-delay: calc(var(--char-index) * 0.03s);
}

/* ============= Scroll-Linked Zoom Effect ============= */
.scroll-zoom {
    will-change: transform, opacity;
    transition: transform 0.1s linear, opacity 0.1s linear;
}

.scroll-zoom--in {
    transform: scale(0.8);
    opacity: 0.5;
}

.scroll-zoom--in.active {
    transform: scale(1);
    opacity: 1;
}

.scroll-zoom--out.active {
    transform: scale(1.2);
    opacity: 0.8;
}

/* ============= Sticky Scroll Section (Apple-style) ============= */
.sticky-section {
    position: relative;
    min-height: 200vh;
}

.sticky-section__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sticky-section__content {
    text-align: center;
    max-width: 900px;
    padding: 0 var(--spacing-xl);
}

.sticky-section__progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(66, 153, 225, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.sticky-section__progress-bar {
    height: 100%;
    background: var(--gradient-accent);
    width: 0%;
    transition: width 0.1s linear;
}

/* ============= Animated Counter ============= */
.counter {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.counter-wrapper {
    text-align: center;
    padding: var(--spacing-xl);
}

.counter-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--spacing-sm);
}

/* ============= Parallax Layers ============= */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-layer--slow {
    --parallax-speed: 0.3;
}

.parallax-layer--medium {
    --parallax-speed: 0.5;
}

.parallax-layer--fast {
    --parallax-speed: 0.8;
}

/* ============= Fade + Scale with Scroll Position ============= */
.scroll-fade-scale {
    opacity: 0;
    transform: scale(0.9) translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-fade-scale.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ============= Horizontal Scroll Transform ============= */
.scroll-horizontal-reveal {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-horizontal-reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-horizontal-reveal.from-right {
    transform: translateX(100px);
}

.scroll-horizontal-reveal.from-right.visible {
    transform: translateX(0);
}

/* ============= Blur In Animation ============= */
.blur-in {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* ============= Split Text Animation ============= */
.split-text {
    overflow: hidden;
}

.split-text .line {
    display: block;
    overflow: hidden;
}

.split-text .line-inner {
    display: block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.split-text.visible .line-inner {
    transform: translateY(0);
}

/* Staggered delays for lines */
.split-text .line:nth-child(1) .line-inner {
    transition-delay: 0s;
}

.split-text .line:nth-child(2) .line-inner {
    transition-delay: 0.1s;
}

.split-text .line:nth-child(3) .line-inner {
    transition-delay: 0.2s;
}

.split-text .line:nth-child(4) .line-inner {
    transition-delay: 0.3s;
}

/* ============= 3D Card Rotation ============= */
.card-3d {
    perspective: 1000px;
}

.card-3d__inner {
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d__inner {
    transform: rotateY(10deg) rotateX(5deg);
}

/* ============= Magnetic Button Effect ============= */
.btn-magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-magnetic__text {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============= Progress Circle ============= */
.progress-circle {
    width: 120px;
    height: 120px;
    position: relative;
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-circle__bg {
    fill: none;
    stroke: var(--color-gray-200);
    stroke-width: 8;
}

.progress-circle__progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.progress-circle.visible .progress-circle__progress {
    stroke-dashoffset: calc(314 - (314 * var(--progress)) / 100);
}

.progress-circle__value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
}

/* ============= Scroll-Linked Opacity Mask ============= */
.opacity-mask {
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 20%,
            black 80%,
            transparent 100%);
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 20%,
            black 80%,
            transparent 100%);
}

/* ============= Feature Highlight Animation ============= */
.feature-highlight {
    position: relative;
    padding: var(--spacing-3xl) 0;
}

.feature-highlight__item {
    opacity: 0.3;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: var(--spacing-2xl);
}

.feature-highlight__item.active {
    opacity: 1;
    transform: scale(1);
}

.feature-highlight__item.active .feature-highlight__title {
    color: var(--color-primary);
}

.feature-highlight__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-gray-400);
    transition: color 0.5s ease;
    margin-bottom: var(--spacing-md);
}

.feature-highlight__text {
    color: var(--color-gray-600);
    max-width: 500px;
}

/* ============= Expanding Card ============= */
.expanding-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-2xl);
}

.expanding-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.expanding-card:hover::before {
    width: 300%;
    height: 300%;
}

.expanding-card__content {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.expanding-card:hover .expanding-card__content {
    color: var(--color-white);
}

/* ============= Marquee Animation ============= */
.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee__content {
    display: inline-flex;
    animation: marquee 20s linear infinite;
}

.marquee__item {
    padding: 0 var(--spacing-2xl);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-gray-200);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============= Glow Effect on Scroll ============= */
.glow-on-scroll {
    position: relative;
}

.glow-on-scroll::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 179, 237, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: -1;
}

.glow-on-scroll.visible::after {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ============= Rotate In Animation ============= */
.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* ============= Stagger Grid Animation ============= */
.stagger-grid {
    display: grid;
}

.stagger-grid>* {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.stagger-grid.visible>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-grid.visible>*:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-grid.visible>*:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-grid.visible>*:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-grid.visible>*:nth-child(5) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-grid.visible>*:nth-child(6) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

/* ============= Hero Robot Enhanced Animation ============= */
.hero__robot {
    transition: transform 0.15s ease-out, opacity 0.2s ease-out;
    transform-origin: center center;
}

/* Hero Robot Crossing Animation */
.hero__robot.crossing {
    animation: heroRobotCross 0.6s ease-out;
}

.hero__robot.crossing .hero__robot-img {
    animation: crossingFlash 0.6s ease-out;
}

@keyframes heroRobotCross {
    0% {
        filter: drop-shadow(0 0 10px rgba(66, 153, 225, 0.3));
    }

    30% {
        filter: drop-shadow(0 0 40px rgba(66, 153, 225, 0.9)) drop-shadow(0 0 80px rgba(99, 179, 237, 0.7));
        transform: scale(1.1) rotateY(90deg);
    }

    60% {
        filter: drop-shadow(0 0 60px rgba(66, 153, 225, 1)) drop-shadow(0 0 100px rgba(99, 179, 237, 0.8));
        transform: scale(1.15) rotateY(180deg);
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(66, 153, 225, 0.3));
        transform: scale(1) rotateY(360deg);
    }
}

@keyframes crossingFlash {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.5) saturate(1.3);
    }
}

/* ============= Scroll Companion Robot (Edge-positioned) ============= */
.scroll-companion {
    position: fixed;
    z-index: 100;
    width: 200px;
    height: 200px;
    pointer-events: none;
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity, left, right;
}

.scroll-companion img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(66, 153, 225, 0.3));
    animation: companionFloat 3s ease-in-out infinite;
    transition: filter 0.3s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Crossing Animation - Dramatic effect when robot crosses sides */
.scroll-companion.crossing {
    animation: robotCrossGlow 0.8s ease-out;
}

.scroll-companion.crossing img {
    filter: drop-shadow(0 0 40px rgba(66, 153, 225, 0.8)) drop-shadow(0 0 80px rgba(99, 179, 237, 0.6)) drop-shadow(0 0 120px rgba(66, 153, 225, 0.4));
    animation: crossingPulse 0.4s ease-out;
}

@keyframes robotCrossGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(66, 153, 225, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(99, 179, 237, 1)) drop-shadow(0 0 100px rgba(66, 153, 225, 0.8));
    }

    100% {
        filter: none;
    }
}

@keyframes crossingPulse {
    0% {
        transform: scale(1) rotateY(0deg);
    }

    25% {
        transform: scale(1.2) rotateY(90deg);
    }

    50% {
        transform: scale(1.3) rotateY(180deg);
    }

    75% {
        transform: scale(1.2) rotateY(270deg);
    }

    100% {
        transform: scale(1) rotateY(360deg);
    }
}

@keyframes companionFloat {

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

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

/* Responsive: hide on mobile */
@media (max-width: 768px) {
    .scroll-companion {
        display: none !important;
    }
}

/* ============= Stats Section ============= */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    padding: var(--spacing-3xl) 0;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-xl);
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============= Clip Path Reveal ============= */
.clip-reveal {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.clip-reveal.visible {
    clip-path: inset(0 0 0 0);
}

/* ============= Word by Word Reveal ============= */
.word-reveal .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.word-reveal.visible .word {
    opacity: 1;
    transform: translateY(0);
}

/* ============= Brochure Flipbook Section ============= */
.brochure {
    background: var(--color-gray-50);
}

.brochure__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

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

.brochure__btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.brochure__btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.brochure__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.brochure__page-info {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    min-width: 120px;
    text-align: center;
}

.brochure__flipbook-container {
    perspective: 2000px;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
}

.brochure__flipbook {
    width: 100%;
    max-width: 700px;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    box-shadow: var(--shadow-2xl);
    border-radius: var(--radius-lg);
    overflow: visible;
}

.brochure__page {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    overflow: hidden;
}

.brochure__page-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.brochure__download {
    margin-top: var(--spacing-lg);
}

/* Turn.js specific styles */
.turn-page-wrapper {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.odd .turn-page-wrapper {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.even .turn-page-wrapper {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* Fullscreen Brochure */
.brochure__btn--fullscreen {
    margin-left: var(--spacing-md);
}

.brochure--fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1100;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.brochure--fullscreen .container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brochure--fullscreen .section__header {
    display: none;
}

.brochure--fullscreen .brochure__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brochure--fullscreen .brochure__controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.brochure--fullscreen .brochure__btn {
    background: rgba(255, 255, 255, 0.9);
}

.brochure--fullscreen .brochure__btn:hover {
    background: var(--color-white);
}

.brochure--fullscreen .brochure__page-info {
    color: var(--color-white);
}

.brochure--fullscreen .brochure__flipbook-container {
    width: 100%;
    height: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brochure--fullscreen .brochure__flipbook {
    width: calc(100vh * 16 / 9) !important;
    height: 100vh !important;
    max-width: 100vw;
    max-height: 100vh;
}

/* If width is limiting factor, adjust height */
@media (max-aspect-ratio: 16/9) {
    .brochure--fullscreen .brochure__flipbook {
        width: 100vw !important;
        height: calc(100vw * 9 / 16) !important;
    }
}

/* Scale text in fullscreen mode - moderate scaling */
.brochure--fullscreen .bp {
    font-size: 1.2em;
}

.brochure--fullscreen .bp__title {
    font-size: 1.4em;
}

.brochure--fullscreen .bp--cover .bp__logo-text {
    font-size: 2em;
}

.brochure--fullscreen .bp--team .bp__member-photo {
    width: 100px;
    height: 100px;
}

.brochure--fullscreen .bp__watermark {
    width: 70px;
}

/* Responsive fullscreen scaling for smaller screens */
@media (max-width: 1200px) {
    .brochure--fullscreen .bp {
        font-size: 1.1em;
    }
}

@media (max-width: 900px) {
    .brochure--fullscreen .bp {
        font-size: 1em;
    }
}

.brochure--fullscreen .brochure__download {
    display: none;
}

.brochure__close-fullscreen {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-gray-800);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-base);
}

.brochure__close-fullscreen:hover {
    background: var(--color-gray-100);
    transform: scale(1.1);
}

/* Responsive Brochure */
@media (max-width: 768px) {
    .brochure__flipbook {
        max-width: 100%;
    }

    .brochure__controls {
        gap: var(--spacing-md);
    }

    .brochure__btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .brochure__flipbook {
        max-width: 100%;
    }

    .brochure__flipbook-container {
        padding: 0;
    }
}

/* ============= Download Modal ============= */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.download-modal.active {
    opacity: 1;
    visibility: visible;
}

.download-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.download-modal__content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.download-modal.active .download-modal__content {
    transform: scale(1) translateY(0);
}

.download-modal__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: var(--transition-base);
}

.download-modal__close:hover {
    background: var(--color-gray-200);
    color: var(--color-gray-800);
}

.download-modal__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    color: var(--color-white);
}

.download-modal__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-sm);
}

.download-modal__text {
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.download-modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.download-modal__field {
    position: relative;
}

.download-modal__input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-family: inherit;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    background: var(--color-white);
    color: var(--color-gray-800);
    transition: var(--transition-base);
    text-align: center;
}

.download-modal__input::placeholder {
    color: var(--color-gray-400);
}

.download-modal__input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
}

.download-modal__input:invalid:not(:placeholder-shown) {
    border-color: #e53e3e;
}

.download-modal__submit {
    width: 100%;
}

.download-modal__privacy {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    margin-top: var(--spacing-md);
}

/* Modal success state */
.download-modal__content.success .download-modal__icon {
    background: linear-gradient(135deg, #48bb78, #38a169);
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .download-modal__content {
        padding: var(--spacing-2xl);
    }

    .download-modal__title {
        font-size: var(--font-size-xl);
    }
}