/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-alt: #161616;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --text-dark: #888888;
    --color-green: #2ed573;
    --color-copper: #cd7f32;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Eyebrow and Titles */
.eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-green);
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Header */
.main-header {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 60px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--color-green);
}

.main-nav .nav-cta {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-copper) 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.main-nav .nav-cta:hover {
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(46, 213, 115, 0.3);
    transform: translateY(-2px);
}

/* Circuit Glow Effects (redefined as classes) */
.circuit-glow-green-on-hover:hover {
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.3),
                0 0 40px rgba(46, 213, 115, 0.1),
                inset 0 0 20px rgba(46, 213, 115, 0.05);
}

.circuit-glow-copper-fixed {
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.3),
                0 0 40px rgba(205, 127, 50, 0.1),
                inset 0 0 20px rgba(205, 127, 50, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-alt) 100%);
    overflow: hidden;
    padding-top: 100px; /* Header space */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(205, 127, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(46, 213, 115, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-main);
}

.hero-text h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-copper) 100%);
    color: var(--text-main);
    text-decoration: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 213, 115, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.hero-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.3);
}

/* Agitation/Problem Section */
.agitation {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-alt) 50%, var(--bg-dark) 100%);
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.problem-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.problem-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.problem-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 15px;
}

.problem-item p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Roots Concept Section */
.roots-concept {
    padding: 120px 0;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.roots-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
}

.roots-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
}

.roots-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.concept-link {
    color: var(--color-copper);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.concept-link:hover {
    color: var(--color-green);
}

.ods-badge {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(205, 127, 50, 0.1);
    border: 1px solid rgba(205, 127, 50, 0.2);
    padding: 15px;
    border-radius: 8px;
}

.ods-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-copper);
}

.ods-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.roots-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.circuit-tree-logo {
    max-width: 100%;
    height: auto;
    animation: pulseGlow 4s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(205, 127, 50, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(205, 127, 50, 0.5));
    }
}

/* Mystery Section */
.mystery {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}

.mystery h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-copper);
}

.impact-text {
    text-align: center;
    margin-bottom: 60px;
}

.impact-text p {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border: 2px solid rgba(205, 127, 50, 0.3);
    border-radius: 15px;
    background: rgba(205, 127, 50, 0.05);
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.2);
}

.curiosity-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.curiosity-list li {
    font-size: 1.2rem;
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(46, 213, 115, 0.05);
    border-left: 4px solid var(--color-green);
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
}

.curiosity-list li:hover {
    transform: translateX(10px);
    background: rgba(46, 213, 115, 0.1);
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.3);
}

/* Coming Soon Section */
.coming-soon {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-dark) 100%);
    position: relative;
}

.coming-soon-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.coming-soon h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-main);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.email-form {
    display: flex;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    font-size: 1rem;
    border: 2px solid rgba(46, 213, 115, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: var(--transition);
}

.email-input::placeholder {
    color: var(--text-dark);
}

.email-input:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-green) 100%);
    color: var(--text-main);
    border: none;
    padding: 18px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(205, 127, 50, 0.4);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: #000000;
    border-top: 1px solid rgba(46, 213, 115, 0.1);
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    opacity: 0.7;
}

.footer p {
    color: var(--text-dark);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.8rem; }
    .hero-content, .roots-container { gap: 40px; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .roots-concept h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .main-nav ul { display: none; } /* Could be improved with a burger menu */
    .header-container { justify-content: center; }
    .logo-container { padding: 5px 0; }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text h2 { font-size: 1.2rem; }
    
    .problem-grid { grid-template-columns: 1fr; }
    .problem-item { text-align: center; }

    .roots-container { grid-template-columns: 1fr; text-align: center; }
    .ods-badge { justify-content: center; }

    .agitation h2, .roots-concept h2, .mystery h2 { font-size: 2.2rem; }
    
    .agitation p, .roots-text p, .coming-soon h2 { font-size: 1.1rem; }
    
    .impact-text p { font-size: 1.3rem; padding: 20px; }
    
    .curiosity-list li { font-size: 1.1rem; padding: 15px; }
    
    .email-form { flex-direction: column; align-items: center; }
    
    .email-input { width: 100%; max-width: 400px; }
    
    .submit-button { width: 100%; max-width: 400px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    
    .hero-text h1 { font-size: 2.1rem; }
    .hero-text h2 { font-size: 1.1rem; }
    
    .agitation h2, .roots-concept h2, .mystery h2 { font-size: 1.8rem; }
    
    .roots-concept h2 { font-size: 2rem; }
    
    .coming-soon h2 { font-size: 1.2rem; }
    
    .impact-text p { font-size: 1.1rem; }
    
    .curiosity-list li { font-size: 1rem; }
}

/* Animation Classes (fadeInUp remains as per image) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text, .hero-avatar, .problem-grid, .roots-text, .roots-visual, .coming-soon-content {
    animation: fadeInUp 1s ease-out;
}

/* Simplified Circuit Pattern Background class */
.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(46, 213, 115, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 213, 115, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    z-index: 1;
}