/* --- Variables & Reset --- */
:root {
    --bg: #F7F8FA;
    --fg: #1A1A1A;
    --muted: #666666;
    --card: #FFFFFF;
    --line: rgba(0, 0, 0, 0.05);
    --accent: #1A1A1A;
    --glow: rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    overflow-x: hidden;
}

/* --- Layout --- */
.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
}

header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

main {
    flex: 1;
}

.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -1px;
    color: var(--fg);
}

footer {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    background: #FFFFFF;
}

/* --- Components --- */

/* Brand & Nav */
.brand {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--fg);
}

.nav-links .sep {
    color: var(--line);
    font-weight: 300;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: -1;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 24px;
    line-height: 1.05;
    color: var(--fg);
    background: linear-gradient(to bottom, #000 40%, #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .sub {
    font-size: 22px;
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 40px var(--glow);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 800px) {
    .wrap {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero .sub {
        font-size: 18px;
    }

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

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }
}