:root {
    --color-bg: #050505;
    --color-surface: #121212;
    --color-surface-light: #1A1A1A;
    --color-text: #F5F5F5;
    --color-text-muted: #A0A0A0;
    
    --color-amber: #FFBF00;
    --color-amber-glow: rgba(255, 191, 0, 0.4);
    --color-green: #39FF14;
    --color-green-glow: rgba(57, 255, 20, 0.4);
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-amber), #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-neon-green { color: var(--color-green); text-shadow: 0 0 10px var(--color-green-glow); }
.text-neon-amber { color: var(--color-amber); text-shadow: 0 0 10px var(--color-amber-glow); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-amber);
    color: var(--color-bg);
    box-shadow: 0 4px 15px var(--color-amber-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 191, 0, 0.6);
}

.btn-secondary {
    background-color: var(--color-surface-light);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--color-text-muted);
    color: var(--color-text);
    padding: 0.5rem 1rem;
}

.btn-outline:hover {
    border-color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a:not(.btn) {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav a:not(.btn):hover {
    color: var(--color-text);
}

/* Sections */
section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8rem;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-amber-glow) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background-color: rgba(57, 255, 20, 0.1);
    color: var(--color-green);
    border: 1px solid rgba(57, 255, 20, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeUp 1s 0.3s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glow-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-green-glow) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
    z-index: -1;
}

.hero-image {
    max-width: 100%;
    width: 320px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-surface-light);
    border-color: rgba(255, 191, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Split Sections */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.run-list {
    list-style: none;
}

.run-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    color: var(--color-text-muted);
}

.run-list li strong {
    color: var(--color-text);
}

.run-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-amber);
    font-weight: bold;
}

/* Visuals in Split Sections */
.split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.card-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 300px;
}

.stat-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: var(--transition);
}

.stat-card.offset {
    top: 80px;
    left: 100px;
    z-index: 1;
    background: var(--color-surface-light);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 3;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.bom-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bom-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-surface);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bom-icon {
    font-size: 1.5rem;
}

.bom-text {
    font-weight: 600;
}

.hardware-image-wrapper {
    position: relative;
}

.hardware-glow {
    background: radial-gradient(circle, var(--color-amber-glow) 0%, transparent 70%);
}

.hardware-image {
    max-width: 100%;
    width: 400px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background-color: var(--color-surface);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-content p {
    color: var(--color-text-muted);
    max-width: 400px;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--color-amber);
    border-color: var(--color-amber);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .split-section, .split-section.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .run-list li::before {
        display: none;
    }
    
    .run-list li {
        padding-left: 0;
    }
    
    .card-stack {
        margin: 2rem auto 0;
    }
    
    nav {
        display: none; /* simple mobile nav hide for now */
    }
}
