:root {
    --bg-color: #0a0a0a;
    --bg-elevated: #111111;
    --text-main: #f2f2f2;
    --text-muted: #9a9a9a;
    --accent: #e10600;
    --accent-glow: rgba(225, 6, 0, 0.35);
    --accent-soft: rgba(225, 6, 0, 0.12);
    --accent-silver: #c8c8c8;
    --glass-bg: rgba(22, 22, 22, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(225, 6, 0, 0.35);
    --header-height: 5.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-nodes {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(225, 6, 0, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(200, 200, 200, 0.03) 0%, transparent 40%);
    background-size: 48px 48px, 100% 100%, 100% 100%;
    z-index: -3;
    pointer-events: none;
}

.bg-particles {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 28% 72%, rgba(225, 6, 0, 0.45), transparent),
        radial-gradient(1px 1px at 48% 32%, rgba(255, 255, 255, 0.28), transparent),
        radial-gradient(1.5px 1.5px at 66% 58%, rgba(200, 200, 200, 0.4), transparent),
        radial-gradient(1px 1px at 82% 22%, rgba(225, 6, 0, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 90% 80%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(1px 1px at 38% 88%, rgba(200, 200, 200, 0.3), transparent);
    animation: drift 28s linear infinite alternate;
    opacity: 0.7;
}

.bg-glow {
    position: fixed;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 900px);
    height: min(70vh, 700px);
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
    opacity: 0.18;
    z-index: -1;
    filter: blur(100px);
    animation: pulse 10s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.12; }
    100% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.22; }
}

@keyframes drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-28px); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--glass-border);
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.logo {
    height: 52px;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
    object-position: left center;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.15));
}

.logo-link:hover .logo {
    transform: scale(1.04);
    filter: drop-shadow(0 0 18px rgba(225, 6, 0, 0.35));
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-main);
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-height) + 2rem) 2rem 4rem;
}

.hero-section h1 {
    font-size: clamp(2.75rem, 6.5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(105deg, #ffffff 0%, var(--accent-silver) 45%, #ff4d45 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(225, 6, 0, 0.18));
}

.hero-section p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2.75rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.75;
}

/* Ghost Button */
.ghost-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ghost-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
}

.ghost-btn:hover {
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 28px var(--accent-glow), inset 0 0 24px var(--accent-soft);
    background: var(--accent-soft);
}

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

/* About */
.about-section {
    padding: 7rem 0 5rem;
    display: flex;
    justify-content: center;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1.75rem;
}

.philosophy-text {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.95;
    color: var(--text-muted);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 300;
}

/* Vision / Mission */
.vision-mission-section {
    padding: 4rem 0 9rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 2.75rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    opacity: 0.6;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 32px var(--accent-soft);
}

.card-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 1.75rem;
}

.glow-accent {
    background-color: var(--accent);
    box-shadow: 0 0 16px var(--accent);
}

.glow-silver {
    background-color: var(--accent-silver);
    box-shadow: 0 0 16px rgba(200, 200, 200, 0.55);
}

.glass-card h2 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 2.75rem 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
}

.social-icons a {
    color: var(--text-muted);
    display: inline-flex;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.65s; }

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

.scroll-anim {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
    header {
        padding: 1rem 1.5rem;
    }

    nav a {
        margin-left: 1.25rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.85rem 1.15rem;
        flex-wrap: wrap;
        gap: 0.65rem 1rem;
    }

    .logo {
        height: 40px;
        max-width: 160px;
    }

    nav {
        width: 100%;
        justify-content: center;
        padding-bottom: 0.15rem;
    }

    nav a {
        margin: 0 0.7rem;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .hero-section {
        padding-top: 7.5rem;
        min-height: 100svh;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 2.25rem;
    }

    .ghost-btn {
        padding: 0.9rem 1.75rem;
        font-size: 0.72rem;
    }

    .about-section {
        padding: 5rem 0 3.5rem;
    }

    .philosophy-text {
        line-height: 1.85;
    }

    .vision-mission-section {
        padding: 2.5rem 0 6rem;
    }

    .glass-card {
        padding: 2rem;
    }

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

@media (max-width: 420px) {
    .logo {
        height: 36px;
        max-width: 160px;
    }

    nav a {
        margin: 0 0.5rem;
    }

    .hero-section h1 {
        font-size: 2.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .bg-glow,
    .bg-particles,
    .scroll-anim {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}
