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

:root {
    /* Modern Color System */
    --clr-bg: #000000;
    --clr-surface: #0a0a0a;
    --clr-border: rgba(255, 255, 255, 0.08);
    --clr-border-hover: rgba(255, 255, 255, 0.15);
    
    --clr-primary: #ff8c00; /* Deep Sunset Orange */
    --clr-primary-glow: rgba(255, 140, 0, 0.2);
    
    --clr-text-main: #ffffff;
    --clr-text-sub: #a0a0a0;
    --clr-text-muted: #606060;

    /* Spacing & Radii */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --shadow-glow: 0 0 30px 5px var(--clr-primary-glow);
    --transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--clr-bg);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Background Mesh & Gradients */
.glow-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--clr-primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
    animation: pulse-glow 10s infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: translate(-10%, -10%) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.2); }
}

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 0.95;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 24px;
    border-radius: 100px;
    border: 1px solid var(--clr-border);
    backdrop-filter: blur(10px);
}

.nav-links a {
    color: var(--clr-text-sub);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--clr-white);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 24px;
    margin-top: 80px;
}

.bento-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: var(--clr-border-hover);
    transform: translateY(-5px);
    background: #0f0f0f;
}

.bento-card.tall {
    grid-row: span 2;
}

.bento-card.wide {
    grid-column: span 2;
}

.card-icon {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 20px;
}

.card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text-muted);
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--clr-text-sub);
    font-size: 1rem;
}

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

.hero-sub {
    color: var(--clr-text-sub);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 40px;
}

/* Custom Buttons */
.btn-modern {
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    background: var(--clr-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px 10px rgba(255, 140, 0, 0.3);
}

/* Responsive */
@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .hero-title { font-size: 4rem; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
}
