/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-900: #0a1628;
    --blue-700: #0f2a5e;
    --blue-600: #1a3f8b;
    --blue-500: #2563eb;
    --blue-400: #4a8af5;
    --blue-100: #dbeafe;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 32px rgba(37, 99, 235, 0.15);
    --radius: 12px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}

.header--scrolled {
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: -0.5px;
}

.header__logo span {
    color: var(--blue-500);
}

.header__menu {
    display: flex;
    gap: 32px;
}

.header__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 0;
    position: relative;
    transition: color var(--transition);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-500);
    transition: width var(--transition);
}

.header__link:hover,
.header__link.active {
    color: var(--blue-500);
}

.header__link:hover::after,
.header__link.active::after {
    width: 100%;
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.header__hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: var(--transition);
}

.header__hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn--primary {
    background: var(--blue-500);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* ===== Hero ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
    text-align: center;
    color: var(--white);
}

.hero__inner {
    max-width: 760px;
    margin: 0 auto;
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__title span {
    color: var(--blue-400);
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--blue-100);
    margin-bottom: 40px;
}

/* ===== Section Titles ===== */
.section__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section__subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: var(--gray-100);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ===== Cards ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.card__text {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Highlight ===== */
.highlight {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
    color: var(--white);
}

.highlight__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.highlight__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight__text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--blue-100);
}

/* ===== About Pages ===== */
.about-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
    text-align: center;
    color: var(--white);
}

.about-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.about-hero__subtitle {
    font-size: 1.1rem;
    color: var(--blue-100);
}

.about-section {
    padding: 80px 0;
}

.about-section--alt {
    background: var(--gray-100);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    margin-top: 20px;
    color: var(--gray-700);
    line-height: 1.8;
}

.mvv {
    padding: 80px 0;
    background: var(--gray-100);
}

.mvv__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* ===== Footer ===== */
.footer {
    background: var(--blue-900);
    color: var(--gray-200);
    padding: 32px 0;
}

.footer__inner {
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Fade-in Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header__hamburger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__nav.open {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .header__link {
        font-size: 1.2rem;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .services__grid,
    .mvv__grid {
        grid-template-columns: 1fr;
    }

    .section__title {
        font-size: 1.6rem;
    }

    .about-hero__title {
        font-size: 1.8rem;
    }

    .highlight__title {
        font-size: 1.6rem;
    }
}