@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@300;400;600&display=swap');

:root {
    --bg-color: #050b18;
    --surface-color: #0a1428;
    --surface-lighter: #0f1e3a;
    --accent-red: #d62828;
    --accent-red-muted: rgba(214, 40, 40, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 2px 2px, rgba(148, 163, 184, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Base UI Elements */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
}

.btn-primary:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(214, 40, 40, 0.2);
}

.btn-outline {
    border-color: var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-red-muted);
    color: var(--accent-red);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(5, 11, 24, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo-container img {
    height: 40px;
    filter: brightness(1.5) drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: var(--transition);
}

.logo-container img:hover {
    filter: brightness(2) drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.nav-links li a:hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 90px; /* Below navbar */
        left: 0;
        width: 100%;
        height: 0; /* Hidden by default */
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        height: calc(100vh - 90px);
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-cta {
        display: block;
        margin-top: 20px;
    }

    /* Animate Hamburger */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('assets/hero-bg.svg');
    background-size: cover;
    background-position: center;
}

.hero-background {
    display: none;
    /* Hide the old SVG/Logo background overlay since we have a full BG now */
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 60%;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.hero h1 span {
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-red);
    opacity: 0.3;
    z-index: -1;
}

.hero p.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Focus Areas */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.focus-card {
    background: var(--surface-color);
    padding: 50px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.focus-card:hover {
    border-color: rgba(214, 40, 40, 0.4);
    transform: translateY(-5px);
}

.focus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.focus-card p {
    color: var(--text-secondary);
}

.focus-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.focus-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Vision Section */
.vision-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.vision-image {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vision-image .k-symbol {
    font-size: 15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-red);
    opacity: 0.1;
}

.principles-list {
    margin-top: 30px;
}

.principle {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.principle h4 {
    margin-bottom: 0.5rem;
}

.principle p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer Section */
.cta-section {
    text-align: center;
    padding: 150px 5%;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

footer {
    padding: 50px 5%;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.hero-content .badge {
    animation-delay: 0.2s;
}

.hero-content h1 {
    animation-delay: 0.4s;
}

.hero-content p {
    animation-delay: 0.6s;
}

.hero-content div {
    animation-delay: 0.8s;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .vision-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}