/* ===== teckcloud.xyz Landing — Tema oscuro profesional ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0d1117;
    --bg-card: #161b22;
    --bg-hover: #1c2128;
    --border: #30363d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --accent2: #3fb950;
    --accent3: #d29922;
    --accent4: #f85149;
    --gradient-1: #58a6ff;
    --gradient-2: #3fb950;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 0.5rem; }
.logo { font-size: 1.5rem; }
.brand-text { font-weight: 700; font-size: 1.2rem; }
.brand-accent { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-cta {
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent); color: var(--bg) !important; }

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    background: radial-gradient(ellipse at top, rgba(88, 166, 255, 0.08), transparent 60%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(63, 185, 80, 0.1);
    border: 1px solid rgba(63, 185, 80, 0.3);
    color: var(--accent2);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.status-dot {
    width: 8px; height: 8px;
    background: var(--accent2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.gradient {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #1f6feb);
    color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(88,166,255,0.3); }
.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--accent); }

/* ===== SECTIONS ===== */
.section { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; }
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.section-subtitle code {
    background: var(--bg-card);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--accent);
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    display: block;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.card-static { cursor: default; }
.card-static:hover { transform: none; border-color: var(--border); box-shadow: none; }
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.card-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.card-url {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(88,166,255,0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}

/* ===== TELEMETRY ===== */
.live-badge {
    color: var(--accent4);
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse 1.5s infinite;
}
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.telemetry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}
.telemetry-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.telemetry-icon { font-size: 1.2rem; }
.telemetry-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.telemetry-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--accent);
}
.telemetry-value-sm {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.telemetry-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}
.telemetry-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 3px;
    transition: width 0.3s ease;
}
.telemetry-unit { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.telemetry-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}
.telemetry-status.ok { background: rgba(63,185,80,0.15); color: var(--accent2); }
.telemetry-status.warn { background: rgba(210,153,34,0.15); color: var(--accent3); }

/* ===== TABLE ===== */
.table-wrapper { overflow-x: auto; }
.services-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.services-table th,
.services-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.services-table th {
    background: var(--bg-hover);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.services-table td { font-size: 0.9rem; }
.services-table td code {
    background: rgba(88,166,255,0.1);
    color: var(--accent);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
}
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-ok { background: rgba(63,185,80,0.15); color: var(--accent2); }

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer strong { color: var(--text); }
.footer-muted { font-size: 0.8rem; margin-top: 0.5rem; opacity: 0.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .navbar { padding: 1rem; flex-direction: column; gap: 0.75rem; }
    .nav-links { gap: 1rem; }
    .section { padding: 2rem 1rem; }
}
