/* ===================================
   ALPIUM - Modern Web Agency Styles
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-primary-dark: #4f46e5;
    --color-secondary: #06b6d4;
    --color-accent: #f59e0b;

    --color-dark: #0f172a;
    --color-dark-light: #1e293b;
    --color-dark-lighter: #334155;

    --color-light: #f8fafc;
    --color-light-dark: #e2e8f0;
    --color-light-darker: #cbd5e1;

    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #f8fafc;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --fs-4xl: clamp(2.5rem, 2rem + 3vw, 4rem);
    --fs-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);

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

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

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

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

/* Lists */
ul, ol {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* Section */
.section {
    padding: var(--space-4xl) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-5xl) 0;
    }
}

.section--dark {
    background: var(--gradient-dark);
    color: var(--color-text-light);
}

/* Section Header */
.section__header {
    margin-bottom: var(--space-3xl);
}

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

.section__tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section--dark .section__tag {
    color: var(--color-secondary);
}

.section__title {
    font-family: var(--font-primary);
    font-size: var(--fs-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.section__description {
    font-size: var(--fs-lg);
    color: var(--color-text-muted);
    max-width: 600px;
}

.section__header--center .section__description {
    margin: 0 auto;
}

.section--dark .section__description {
    color: var(--color-light-darker);
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Cursor Follower
   =================================== */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-tooltip);
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    opacity: 0;
}

.cursor-follower.active {
    opacity: 1;
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
}

@media (hover: none) {
    .cursor-follower {
        display: none;
    }
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -100px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-30px, -200px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(70px, -300px) rotate(270deg);
        opacity: 0.5;
    }
}

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

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

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

/* Logo */
.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.05em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

/* Nav Menu */
.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: var(--space-sm) 0;
}

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

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

.nav__link--cta {
    background: var(--gradient-primary);
    color: var(--color-text-light);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

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

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: var(--z-fixed);
}

.nav__toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-base);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 991px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-light);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right var(--transition-slow);
    }

    .nav__menu.active {
        right: 0;
    }

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

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(100px);
    animation: gradientMove 20s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-10%, 10%) scale(1.1);
    }
    66% {
        transform: translate(5%, -5%) scale(0.9);
    }
}

.hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__content {
    text-align: center;
    max-width: 900px;
}

/* Hero Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

.badge__icon {
    animation: spin 4s linear infinite;
}

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

/* Hero Title */
.hero__title {
    font-family: var(--font-primary);
    font-size: var(--fs-5xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.title__line {
    display: block;
}

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

/* Hero Subtitle */
.hero__subtitle {
    font-size: var(--fs-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}

/* Hero CTA */
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

/* Hero Stats */
.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3xl);
}

.stat {
    text-align: center;
}

.stat__number {
    font-family: var(--font-primary);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--color-dark);
    display: inline;
}

.stat__suffix {
    font-family: var(--font-primary);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.stat__label {
    display: block;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

/* Hero Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease 1s both;
}

.scroll__indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll__indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

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

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

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

.btn--secondary {
    background: var(--color-dark);
    color: var(--color-text-light);
}

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

.btn--white {
    background: white;
    color: var(--color-dark);
}

.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn__arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

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

/* ===================================
   Services Section
   =================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-light-dark);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--featured {
    background: var(--gradient-dark);
    color: var(--color-text-light);
    border-color: transparent;
}

.service-card--featured::before {
    background: var(--color-secondary);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.service-card__icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-primary);
}

.service-card--featured .service-card__icon {
    background: rgba(6, 182, 212, 0.2);
}

.service-card--featured .service-card__icon svg {
    stroke: var(--color-secondary);
}

.service-card__title {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.service-card__text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.service-card--featured .service-card__text {
    color: var(--color-light-darker);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-base);
}

.service-card__link svg {
    width: 18px;
    height: 18px;
}

.service-card__link:hover {
    gap: var(--space-md);
}

.service-card--featured .service-card__link {
    color: var(--color-secondary);
}

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

@media (min-width: 992px) {
    .about__wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.about__text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

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

.feature__icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

.feature span {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 500;
}

/* About Visual */
.about__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
}

.about__shape {
    position: absolute;
    border-radius: var(--radius-xl);
    animation: morphShape 15s ease-in-out infinite;
}

.about__shape--1 {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: var(--gradient-primary);
    opacity: 0.9;
}

.about__shape--2 {
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: var(--color-secondary);
    opacity: 0.8;
    animation-delay: -5s;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 50% 60% 30% 60% / 30% 70% 50% 60%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
    }
}

.about__card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.about__card--1 {
    top: 5%;
    right: 0;
    text-align: center;
    animation: floatCard 6s ease-in-out infinite;
}

.card__number {
    font-family: var(--font-primary);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.card__label {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.about__card--2 {
    bottom: 10%;
    left: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: -3s;
}

.about__card--2 svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.about__card--2 span {
    font-family: var(--font-primary);
    font-weight: 600;
}

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

/* ===================================
   Process Section
   =================================== */
.process__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    position: relative;
}

.process__step {
    position: relative;
    padding: var(--space-xl);
}

.step__number {
    font-family: var(--font-primary);
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.step__title {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

.step__text {
    color: var(--color-light-darker);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */
.cta__wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: var(--space-4xl) var(--space-xl);
}

.cta__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
}

.cta__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: particlesMove 20s linear infinite;
}

@keyframes particlesMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100px 100px;
    }
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.cta__title {
    font-family: var(--font-primary);
    font-size: var(--fs-3xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.cta__text {
    font-size: var(--fs-lg);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-text-light);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .footer__wrapper {
        grid-template-columns: 1.5fr 2fr;
    }
}

/* Footer Brand */
.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.footer__logo .logo-text {
    color: white;
}

.footer__description {
    color: var(--color-light-darker);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.footer__location {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--color-light-darker);
    font-size: var(--fs-sm);
}

.footer__location svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--color-primary);
}

/* Footer Links */
.footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-2xl);
}

.footer__title {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
    color: white;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__list a {
    color: var(--color-light-darker);
    font-size: var(--fs-sm);
    transition: color var(--transition-base);
}

.footer__list a:hover {
    color: var(--color-primary-light);
}

.footer__list--contact a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer__list--contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
}

/* Footer Bottom */
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-dark-light);
}

.footer__copyright {
    font-size: var(--fs-sm);
    color: var(--color-light-darker);
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal a {
    font-size: var(--fs-sm);
    color: var(--color-light-darker);
    transition: color var(--transition-base);
}

.footer__legal a:hover {
    color: var(--color-primary-light);
}

/* ===================================
   Animations (AOS alternative)
   =================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

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

/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 767px) {
    .hero__stats {
        gap: var(--space-xl);
    }

    .stat {
        flex: 1 1 100px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ===================================
   Page-specific styles
   =================================== */

/* Page Header (for inner pages) */
.page-header {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-4xl);
    background: var(--gradient-dark);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(100px);
}

.page-header__content {
    position: relative;
    z-index: 1;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--color-light-darker);
    margin-bottom: var(--space-lg);
}

.page-header__breadcrumb a {
    transition: color var(--transition-base);
}

.page-header__breadcrumb a:hover {
    color: var(--color-primary-light);
}

.page-header__breadcrumb svg {
    width: 16px;
    height: 16px;
}

.page-header__title {
    font-family: var(--font-primary);
    font-size: var(--fs-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.page-header__description {
    font-size: var(--fs-lg);
    color: var(--color-light-darker);
    max-width: 600px;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form__label {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text);
}

.form__input,
.form__textarea,
.form__select {
    font-family: var(--font-secondary);
    font-size: var(--fs-base);
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-light-dark);
    border-radius: var(--radius-lg);
    background: white;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

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

/* Card Styles */
.card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--color-light-dark);
}

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

.card__image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.card__content {
    padding: var(--space-xl);
}

.card__tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.card__title {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.card__text {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Labs Cards */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.lab-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.lab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.lab-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.lab-card:hover::before {
    opacity: 0.05;
}

.lab-card__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.lab-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lab-card__title {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.lab-card__text {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-lg);
}

.contact-item__icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.contact-item__content h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-item__content p,
.contact-item__content a {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-item__content a:hover {
    color: var(--color-primary);
}

/* Map Container */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 400px;
    background: var(--color-light-dark);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}