/* assets/css/main.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #e5e7eb;
    line-height: 1.6;
}

/* Navigation */
.main-nav {
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #14b8a6, #a3e635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #14b8a6;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #14b8a6, #a3e635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.3rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
}

.btn-secondary {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
    border: 2px solid rgba(20, 184, 166, 0.5);
}

.btn-secondary:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
}

/* Terminal Styles */
.terminal-container {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #0f0f0f;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #22c55e;
}

.terminal-title {
    margin-left: auto;
    font-size: 0.85rem;
    color: #6b7280;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    min-height: 420px;
    background: #0a0a0a;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.prompt {
    color: #22c55e;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.command {
    color: #14b8a6;
    word-break: break-word;
}

.output {
    color: #9ca3af;
    margin-left: 1.5rem;
    line-height: 1.5;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #14b8a6;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Footer */
.main-footer {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    border-top: 1px solid rgba(20, 184, 166, 0.2);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .terminal-body {
        font-size: 0.85rem;
        padding: 1rem;
        min-height: 300px;
    }

    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .terminal-body {
        font-size: 0.75rem;
        min-height: 250px;
    }

    .nav-content {
        padding: 1rem;
    }

    .nav-links {
        font-size: 0.9rem;
    }
}
