/* ── Fonts ─────────────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --navy:       #0a0f1e;
    --navy-mid:   #0d1530;
    --navy-light: #111827;
    --blue:       #1a6bff;
    --blue-light: #4d8fff;
    --blue-dim:   #0d1f4d;
    --white:      #ffffff;
    --gray-light: #f4f6fa;
    --gray-mid:   #e5e7eb;
    --gray-text:  #6b7280;
    --green:      #25d366;
    --green-dark: #1da851;
    --radius:     8px;
    --radius-lg:  14px;
    --shadow:     0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
    --transition: 0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-blue   { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-green  { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-white  { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-light); }
.btn-sm     { padding: 8px 18px; font-size: 0.85rem; }
.btn-full   { width: 100%; justify-content: center; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo img { height: 44px; width: auto; border-radius: 4px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links li a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    background: var(--navy);
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(26,107,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: var(--blue-dim);
    color: var(--blue-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(26,107,255,0.3);
}
.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}
.text-blue { color: var(--blue-light); }
.hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ── Stats Bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
    background: var(--navy-mid);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 32px 0;
}
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 48px;
}
.stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.12);
}

/* ── Section Shared ────────────────────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.section-tag {
    display: inline-block;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}
.section-header p { color: var(--gray-text); font-size: 1rem; }
.section-cta { text-align: center; margin-top: 48px; }

/* ── Services (Home Preview) ───────────────────────────────────────────────── */
.section-services {
    padding: 100px 0;
    background: var(--gray-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--gray-mid);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--blue-light);
}
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; color: var(--navy); }
.service-card p { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 16px; }
.price-badge {
    display: inline-block;
    background: var(--blue-dim);
    color: var(--blue-light);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ── Case Studies (Home Preview) ───────────────────────────────────────────── */
.section-cases {
    padding: 100px 0;
    background: var(--white);
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.case-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-mid);
    transition: all var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.case-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.case-card:hover .case-img img { transform: scale(1.05); }
.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,15,30,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.case-card:hover .case-overlay { opacity: 1; }
.case-info { padding: 20px 24px; }
.case-tag {
    display: inline-block;
    background: var(--gray-light);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.case-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.case-info p { font-size: 0.88rem; color: var(--gray-text); }

/* ── CTA Strip ─────────────────────────────────────────────────────────────── */
.cta-strip {
    background: var(--navy);
    padding: 72px 0;
}
.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-strip h2 { font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,0.6); }
.cta-strip-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ── Page Hero ─────────────────────────────────────────────────────────────── */
.page-hero {
    background: var(--navy);
    padding: 140px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    bottom: -100px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 300px;
    background: radial-gradient(ellipse, rgba(26,107,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .section-tag { color: var(--blue-light); }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.6); max-width: 580px; margin: 0 auto; }

/* ── Services Full Page ────────────────────────────────────────────────────── */
.section-services-full { padding: 80px 0; }
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.service-full-card {
    border: 1px solid var(--gray-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    background: var(--white);
}
.service-full-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sfc-img {
    position: relative;
    aspect-ratio: 16/8;
    overflow: hidden;
}
.sfc-img img { width: 100%; height: 100%; object-fit: cover; }
.sfc-price {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--blue);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
}
.sfc-body { padding: 24px 28px; }
.sfc-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; color: var(--navy); }
.sfc-body p { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 16px; }
.sfc-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.sfc-tools span {
    background: var(--gray-light);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Case Studies Page ─────────────────────────────────────────────────────── */
.case-study-section { padding: 80px 0; }
.case-study-section:nth-child(even) { background: var(--gray-light); }
.cs-header { margin-bottom: 40px; }
.cs-meta { max-width: 700px; }
.cs-meta .case-tag { font-size: 0.78rem; }
.cs-meta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--navy); margin: 12px 0; }
.cs-meta p { color: var(--gray-text); font-size: 0.98rem; margin-bottom: 20px; }
.cs-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
}
.cs-tools strong { color: var(--navy); }
.cs-tools span {
    background: var(--blue-dim);
    color: var(--blue-light);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.cs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.cs-gallery-grid.cs-gallery-4 { grid-template-columns: repeat(4, 1fr); }
.cs-gallery-grid.cs-gallery-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
.cs-gallery-grid img {
    width: 100%; aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--gray-mid);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.cs-gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.cs-divider {
    height: 1px;
    background: var(--gray-mid);
    margin: 0 24px;
}

/* ── Contact Page ──────────────────────────────────────────────────────────── */
.section-contact { padding: 80px 0 100px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2,
.contact-form-wrap h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}
.contact-info > p { color: var(--gray-text); margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--gray-text); font-size: 0.95rem; }
.contact-item a:hover { color: var(--blue); }
.contact-platforms h3 { font-weight: 600; margin-bottom: 14px; color: var(--navy); }
.platform-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.contact-social { display: flex; gap: 14px; }
.contact-social a {
    color: var(--gray-text);
    transition: color var(--transition);
    padding: 4px;
}
.contact-social a:hover { color: var(--blue); }

/* ── Contact Form ──────────────────────────────────────────────────────────── */
.contact-form-wrap {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-mid);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--gray-mid);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--navy);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--gray-text); text-align: center; margin-top: 10px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 72px 0 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 44px; margin-bottom: 16px; border-radius: 4px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
}
.footer-social a:hover { color: var(--white); }
.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-cta-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}

/* ── Compute Infrastructure Section ───────────────────────────────────────── */
.section-compute {
    padding: 100px 0;
    background: var(--navy);
}
.compute-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    align-items: center;
}
.compute-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.compute-visual img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(26,107,255,0.2);
    border: 1px solid rgba(26,107,255,0.2);
}
.server-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    border: 1.5px dashed rgba(26,107,255,0.3);
    border-radius: var(--radius-lg);
    background: rgba(26,107,255,0.05);
}
.server-img-note {
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    text-align: center;
    line-height: 1.8;
}
.server-img-note code {
    display: block;
    color: var(--blue-light);
    font-size: 0.72rem;
    margin-top: 4px;
}
.compute-content .section-tag { margin-bottom: 12px; display: block; }
.compute-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}
.compute-content > p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
    font-size: 1rem;
}
.compute-cards { display: flex; flex-direction: column; gap: 20px; }
.compute-card {
    display: flex;
    gap: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color var(--transition);
}
.compute-card:hover { border-color: rgba(26,107,255,0.4); }
.cc-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.compute-card h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.compute-card > div > p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.cc-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
}
.cc-specs li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    padding-left: 14px;
    position: relative;
}
.cc-specs li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue-light);
    font-size: 0.75rem;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-full-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
    .compute-grid { grid-template-columns: 1fr; gap: 48px; }
    .compute-visual { order: -1; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--navy-mid);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 12px 16px; }
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { order: -1; }
    .hero h1 { font-size: 2rem; }
    .stats-grid { gap: 0; }
    .stat-item { padding: 16px 24px; }
    .stat-divider { width: 1px; height: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .cta-strip-inner { flex-direction: column; text-align: center; }
    .cta-strip-btns { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { padding: 28px 20px; }
    .cs-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-gallery-grid.cs-gallery-4 { grid-template-columns: repeat(2, 1fr); }
    .cs-gallery-grid.cs-gallery-2 { grid-template-columns: 1fr; max-width: 100%; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
    .hero-btns { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .stats-grid { flex-direction: column; }
    .stat-divider { width: 80px; height: 1px; }
    .cs-gallery-grid { grid-template-columns: 1fr; }
    .cs-gallery-grid.cs-gallery-4 { grid-template-columns: 1fr; }
}
