/* ==========================================================================
   BlueTensor — Landing Page Styles
   Clean, minimal design for a hosting platform.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3648;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

code {
    background: #eef2f7;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: #1e3c72;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header / Navigation ── */
header {
    background: #ffffff;
    padding: 0.85rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8ecf1;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.65rem;
    font-weight: 800;
    color: #1e3c72;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: #2a5298;
}

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

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1e3c72;
}

.nav-cta {
    background: #1e3c72;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: #162d56;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2d3648;
    margin: 5px 0;
    border-radius: 2px;
}

/* ── Hero Section ── */
.hero {
    padding: 140px 0 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: #e8edf4;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-block;
    background: #eef2f7;
    color: #1e3c72;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    color: #1a2a4a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: #2a5298;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #5a6a7e;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    background: #1e3c72;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #162d56;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #1e3c72;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #c7d2e0;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #1e3c72;
    background: #f6f8fb;
}

/* ── Hero Visual / Card ── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(30, 60, 114, 0.07);
    max-width: 420px;
    width: 100%;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    background: #eef2f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-card-title {
    font-weight: 700;
    color: #1a2a4a;
    font-size: 1rem;
}

.hero-stat-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-stat {
    flex: 1;
    background: #f6f8fb;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3c72;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: #7a8a9e;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 64px;
    padding: 0 4px;
}

.hero-bar {
    flex: 1;
    background: #2a5298;
    border-radius: 4px 4px 0 0;
    min-height: 8px;
}

.hero-bar:nth-child(1) { height: 40%; }
.hero-bar:nth-child(2) { height: 55%; background: #3668b5; }
.hero-bar:nth-child(3) { height: 70%; }
.hero-bar:nth-child(4) { height: 50%; background: #3668b5; }
.hero-bar:nth-child(5) { height: 85%; }
.hero-bar:nth-child(6) { height: 65%; background: #3668b5; }
.hero-bar:nth-child(7) { height: 100%; }

/* ── Features Section ── */
.features {
    padding: 80px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #2a5298;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    color: #1a2a4a;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6b7a8d;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.2s, transform 0.15s;
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #eef2f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    color: #1a2a4a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: #6b7a8d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── CTA Section ── */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.cta .btn-primary {
    background: #ffffff;
    color: #1e3c72;
    font-size: 1.05rem;
}

.cta .btn-primary:hover {
    background: #eef2f7;
}

/* ── Footer ── */
footer {
    background: #1a2a4a;
    color: #a0aec0;
    padding: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #a0aec0;
    text-decoration: none;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
