/* Modern CSS Design System */
:root {
    --bg-base: #0B0F19;
    --bg-surface: rgba(18, 24, 38, 0.6);
    --bg-surface-hover: rgba(26, 35, 50, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --brand-primary: #FF5A00; /* Orange Basketball */
    --brand-gradient: linear-gradient(135deg, #FF5A00 0%, #FFA800 100%);
    --glow-color: rgba(255, 90, 0, 0.15);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-border: 1px solid rgba(255,255,255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Glow Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
}

.orb-1 {
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--glow-color);
    animation: float 20s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: -10%;
    right: -20%;
    width: 50vw;
    height: 50vw;
    background: rgba(37, 99, 235, 0.1);
    animation: float 25s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* Utilities */
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand-logo {
    border-radius: 50%; 
    box-shadow: 0 0 15px var(--glow-color);
}

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

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.nav-glow {
    color: var(--text-primary);
}

.nav-glow {
    text-shadow: 0 0 15px rgba(255,255,255,0.4);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
}

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

.btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-color);
}

/* Main Content Patterns */
section {
    padding: 8rem 0 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 100vh;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.terminal-install {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.prompt {
    color: var(--brand-primary);
    margin-right: 0.75rem;
}

.copy-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    margin-left: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-logo {
    width: 80%;
    max-width: 400px;
    height: auto;
    animation: hover 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px var(--glow-color));
}

@keyframes hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.glass-panel:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255,255,255,0.2);
}

/* Features Grid */
.features-section .section-heading {
    margin-bottom: 4rem;
}

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

.section-heading p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

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

.feature-card {
    padding: 2.5rem;
}

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

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

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

/* Code block section */
.code-section {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.code-wrapper {
    flex: 1.2;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.code-header {
    background: rgba(0,0,0,0.4);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mac-buttons {
    display: flex;
    gap: 8px;
}

.mac-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-buttons span:nth-child(1) { background: #ff5f56; }
.mac-buttons span:nth-child(2) { background: #ffbd2e; }
.mac-buttons span:nth-child(3) { background: #27c93f; }

.code-header .file-name {
    margin: 0 auto;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

pre {
    padding: 1.5rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.code-content {
    flex: 0.8;
}

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

.code-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.check-list li {
    margin-bottom: 1rem;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 8rem;
    color: var(--text-secondary);
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-primary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 6rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }

    .badges {
        justify-content: center;
    }
    
    .code-section {
        flex-direction: column;
    }
    
    .main-nav {
        display: none; /* simple mobile nav approach */
    }
}
