:root {
    --bg: #000000;
    --card-bg: #0a0a0a;
    --border: #1f1f1f;
    --text: #ffffff;
    --text-dim: #888888;
    --accent: #00ffc2;
    --font: "Inter", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

#space-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.main-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

.accent {
    color: var(--accent);
    text-shadow: 0 0 25px rgba(0, 255, 194, 0.4);
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    max-width: 500px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 24px;
    flex: 1;
}

.section-block {
    margin-bottom: 70px;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 2px solid var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition:
        transform 0.1s ease-out,
        border-color 0.3s ease;
}

.feature-item:hover {
    border-color: #333;
}

.feature-item h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.action-btn:active {
    transform: scale(0.98);
}

.action-btn.primary {
    background: var(--text);
    color: #000;
}

.action-btn.primary:hover {
    background: var(--accent);
    box-shadow: 0 0 25px rgba(0, 255, 194, 0.3);
}

.action-btn.secondary {
    background: #111;
    color: var(--text);
    border: 1px solid #222;
}

.action-btn.secondary:hover {
    border-color: #444;
}

.action-btn.outline {
    background: transparent;
    color: var(--text-dim);
    border: 1px dashed #333;
    font-size: 0.9rem;
}

.action-btn.outline:hover {
    color: var(--text);
    border-color: #555;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: #333;
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .links-section {
        flex-direction: row;
    }

    .action-btn {
        width: auto;
        flex: 1;
    }
}