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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFBEB; /* Warm Dawn */
    background-attachment: fixed;
    min-height: 100vh;
    color: #4B5563; /* Warm dark gray for body text */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero h1 {
    font-family: 'Aeonik', sans-serif;
    font-weight: 700;
    font-size: 6rem;
    background: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem; /* Crucial: connect it to the subtitle */
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #6B7280; /* A medium gray */
    font-weight: 400;
    max-width: 600px; /* Prevent it from stretching too far */
}

.abbreviation {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #4B5563;
    font-style: italic;
    font-weight: 300;
    max-width: 700px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    font-size: 32px;
    color: #F97316; /* Deep Sunset */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.scroll-indicator a:hover {
    color: #1F2937;
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* CHAOS Engine Section */
.chaos-section {
    text-align: center;
    padding: 60px 20px;
    background: #FEF3C7; /* Sun-kissed */
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15);
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid rgba(249, 115, 22, 0.1);
}

.chaos-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(249, 115, 22, 0.1);
}

.chaos-section .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #4B5563;
    font-weight: 400;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: #FEF3C7; /* Sun-kissed */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1);
    border: 2px solid rgba(249, 115, 22, 0.15);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.3);
}

.feature-icon {
    margin-bottom: 20px;
    color: #F97316;
    filter: drop-shadow(0 4px 6px rgba(249, 115, 22, 0.2));
}

.feature-icon svg {
    width: 64px;
    height: 64px;
    stroke: #F97316;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1F2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #4B5563;
    line-height: 1.6;
    font-weight: 400;
}

/* CHAOS Family Section */
.chaos-family {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.family-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #4B5563;
    margin-bottom: 24px;
}

.family-text strong {
    color: #F97316;
    font-weight: 700;
}

/* Primary Button Style */
.btn-primary {
    background: #F97316; /* Deep Sunset */
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
    background: #EA580C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: #4B5563;
    font-size: 14px;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.125rem;
    }

    .abbreviation {
        font-size: 1rem;
    }

    .chaos-section h2 {
        font-size: 36px;
    }

    .chaos-section .subtitle {
        font-size: 16px;
    }

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

    .feature-card h3 {
        font-size: 26px;
    }

    .feature-card p {
        font-size: 14px;
    }
}
