:root {
    /* Brand Colors - Sophisticated International Palette */
    --primary: #000000;
    --secondary: #1d1d1f;
    --accent: #2ecc71;
    /* Emerald Green */
    --accent-glow: rgba(46, 204, 113, 0.2);
    --blue-dark: #121e33;

    /* Neutral Palette */
    --bg-pure: #ffffff;
    --bg-soft: #fbfbfd;
    --bg-shelf: #f5f5f7;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);

    /* Typography */
    --text-main: #1d1d1f;
    --text-meta: #86868b;
    --text-inverse: #ffffff;

    /* Elevation & Blur */
    --glass: rgba(255, 255, 255, 0.72);
    --blur: 20px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.006);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    /* Spacing & Radius */
    --radius-s: 8px;
    --radius-m: 12px;
    --radius-l: 22px;
    --radius-full: 999px;
    --container-max: 1080px;

    /* Transitions */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --duration: 0.4s;
}

/* Base Reset & Sanity */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-pure);
    color: var(--text-main);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 140px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: -0.015em;
    font-weight: 700;
    color: var(--secondary);
}

h1 {
    font-size: 72px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.002em;
}

h3 {
    font-size: 34px;
    line-height: 1.14286;
    font-weight: 600;
}

p {
    font-size: 22px;
    line-height: 1.5;
    color: var(--text-meta);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 28px;
    }

    p {
        font-size: 20px;
    }
}

.accent-text {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

/* Buttons & Interactive */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 500;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration) var(--ease-standard);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background-color: #000;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    box-shadow: inset 0 0 0 2px var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--text-inverse);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: var(--glass);
    backdrop-filter: saturate(180%) blur(var(--blur));
    z-index: 2000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-standard);
}

header.scrolled {
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--secondary);
}

.logo span {
    color: var(--accent);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 3001;
    width: 30px;
    height: 20px;
}

.menu-btn div {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s var(--ease-standard);
    left: 0;
}

.line1 {
    top: 0;
}

.line2 {
    bottom: 0;
}

/* Hamburger Animation when body.nav-open */
body.nav-open .line1 {
    top: 9px;
    transform: rotate(45deg);
}

body.nav-open .line2 {
    bottom: 9px;
    transform: rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3000;
    visibility: hidden;
}

body.nav-open .mobile-nav {
    transform: translateX(0);
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

.mobile-nav a {
    font-size: 44px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}

body.nav-open .mobile-nav a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered transition for nav links */
body.nav-open .mobile-nav a:nth-child(1) {
    transition-delay: 0.1s;
}

body.nav-open .mobile-nav a:nth-child(2) {
    transition-delay: 0.15s;
}

body.nav-open .mobile-nav a:nth-child(3) {
    transition-delay: 0.2s;
}

body.nav-open .mobile-nav a:nth-child(4) {
    transition-delay: 0.25s;
}

body.nav-open .mobile-nav a:nth-child(5) {
    transition-delay: 0.3s;
}

body.nav-open .mobile-nav a:nth-child(6) {
    transition-delay: 0.35s;
}

body.nav-open .mobile-nav a:nth-child(7) {
    transition-delay: 0.4s;
}

@media (max-width: 960px) {

    .nav-links,
    .header-cta {
        display: none;
    }

    .menu-btn {
        display: block;
    }
}

/* Grids & Cards */
.grid {
    display: grid;
    gap: 32px;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-cols-4,
    .grid-cols-3,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--bg-shelf);
    padding: 56px;
    border-radius: var(--radius-l);
    transition: all var(--duration) var(--ease-standard);
    border: 1px solid transparent;
}

.card:hover {
    background: var(--bg-pure);
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--border);
}

/* Hero */
.hero {
    padding: 200px 0 120px;
    text-align: center;
}

.hero p {
    max-width: 720px;
    margin: 32px auto 56px;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-meta);
    line-height: 1.3;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-meta);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

input,
textarea {
    width: 100%;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    background: var(--bg-shelf);
    font-size: 18px;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-glow);
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: var(--bg-pure);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 24px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-col p,
.footer-col a {
    font-size: 16px;
    color: var(--text-meta);
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.copy {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    font-size: 14px;
    color: var(--text-meta);
}