:root {
    --bg-color: #0A192F;
    --text-primary: #E6F1FF;
    --text-secondary: #8892B0;
    --accent-cyan: #64FFDA;
    --accent-blue: #0070F3;
    --gradient-text: linear-gradient(90deg, #64FFDA, #0070F3);
    --glass-bg: rgba(10, 25, 47, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
    --neon-glow: 0 0 15px rgba(100, 255, 218, 0.3);
    
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

/* HERO LEFT */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    color: var(--accent-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(100, 255, 218, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0); }
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.accent-text {
    color: var(--accent-cyan);
}

.description {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 90%;
    margin-bottom: 0.5rem;
}

/* Buttons */
.primary-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-text);
    color: var(--bg-color);
    border: none;
}

.btn-primary:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(100, 255, 218, 0.05);
    transform: translateY(-2px);
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn i {
    font-size: 1.25rem;
}

.nav-btn:hover {
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
    background: rgba(100, 255, 218, 0.05);
    color: var(--accent-cyan);
}

/* HERO RIGHT */
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.terminal-window {
    width: 100%;
    max-width: 500px;
    background: #0d1117;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 15px rgba(0, 112, 243, 0.2);
    overflow: hidden;
}

.terminal-header {
    background: #161b22;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.mac-buttons {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 1rem;
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mac-btn.close { background: #ff5f56; }
.mac-btn.min { background: #ffbd2e; }
.mac-btn.max { background: #27c93f; }

.terminal-title {
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    color: #8b949e;
    font-size: 0.8rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #c9d1d9;
    min-height: 200px;
}

.command-line {
    margin-bottom: 0.5rem;
}

.prompt {
    color: var(--accent-cyan);
    margin-right: 8px;
}

.command {
    color: #e6edf3;
}

.output {
    color: #8b949e;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.output.success { color: var(--accent-cyan); }
.output.highlight { color: #58a6ff; }

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Connect Section */
.connect-section {
    display: flex;
    gap: 1.5rem;
}

.icon-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.02);
}

.icon-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--neon-glow);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .hero-right {
        order: -1; /* Move terminal above text on small screens */
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    .primary-buttons {
        flex-direction: column;
    }
}
