/* ============================================================
   home.css — styles specific to index.html only
   ============================================================ */

/* ── HERO LAYOUT ── */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--accent);
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

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

/* ── TERMINAL ── */
.terminal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.terminal-bar {
    background: var(--card);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #f43f5e; }
.dot-y { background: #fbbf24; }
.dot-g { background: #22c55e; }

.terminal-title {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--muted);
    margin-left: auto;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--mono);
    font-size: 0.8rem;
    line-height: 2;
}

.line { display: flex; gap: 0.5rem; }
.prompt { color: var(--accent); user-select: none; }
.cmd { color: var(--text); }
.out { color: var(--muted); padding-left: 1.5rem; }
.out.hi { color: var(--accent2); }
.out.warn { color: #fbbf24; }

.cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink { 50% { opacity: 0; } }

/* ── SERVICES GRID ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    background: var(--card);
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--accent);
    transition: height 0.3s;
}

.service-card:hover { background: #161f2e; }
.service-card:hover::before { height: 100%; }

.service-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(0,255,157,0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.85rem; color: var(--muted); font-family: var(--mono); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 5rem 1.5rem 4rem;
        gap: 3rem;
    }
}
