/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0f;
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
}

/* === Layout === */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* === Terminal === */
.terminal {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #2a2a4a;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.05);
}

.terminal-header {
    background: #16213e;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.terminal-title {
    color: #666;
    font-size: 13px;
    margin-left: 10px;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    line-height: 2;
}

.terminal-body p {
    color: #00ff88;
}

.green-text {
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* === Typing animation === */
.typing {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 1.5s steps(40) forwards;
}

.line1 { animation-delay: 0.5s; }
.line2 { animation-delay: 2s; }
.line3 { animation-delay: 3.5s; }

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* === Headings === */
h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.accent {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

h2 {
    text-align: center;
    color: #888;
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* === Cards === */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid #2a2a4a;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    color: #00ff88;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.card p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === Info Box === */
.info-box {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.info-box p {
    color: #ccc;
    font-size: 0.95rem;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #1a1a2e;
}

footer p {
    color: #555;
    font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .terminal-body { font-size: 12px; }
    .cards { grid-template-columns: 1fr; }
}
