/* --- Global Styles & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-dark: #07111f;
    --bg-elevated: #0d1828;
    --bg-card: rgba(16, 27, 43, 0.78);
    --bg-soft: rgba(25, 40, 61, 0.6);
    --surface-border: rgba(130, 170, 255, 0.14);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --text-main: #f4f7fb;
    --text-soft: #c9d6e5;
    --text-muted: #8ea1ba;
    --primary-color: #00f0ff;
    --primary-hover: #59f6ff;
    --primary-glow: rgba(0, 240, 255, 0.22);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.22);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-pill: 999px;
    --container-width: 1200px;
    --section-space: clamp(72px, 9vw, 120px);
    --content-space: clamp(20px, 3vw, 32px);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 240, 255, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(88, 130, 255, 0.10), transparent 24%),
        linear-gradient(180deg, #08111e 0%, #091321 42%, #060d18 100%);
    color: var(--text-main);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

::selection {
    background: rgba(0, 240, 255, 0.18);
    color: #ffffff;
}

/* --- Typography & Buttons --- */
h1, h2, h3 {
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

p {
    margin: 0;
}

.highlight,
.text-muted {
    color: var(--primary-color);
}

.section-header p,
.service-card p,
.cta-container p,
.footer-bottom,
.footer-tagline,
.footer-contact {
    color: var(--text-muted);
}

.btn {
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #9af8ff);
    color: #031019;
    box-shadow: 0 16px 35px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), #b8fbff);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.28);
}

.btn-secondary,
.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--surface-strong);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover,
.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.35);
    color: var(--primary-color);
}

.section-shell {
    width: min(var(--container-width), calc(100% - 10%));
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* --- Navigation --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    width: min(var(--container-width), calc(100% - 10%));
    margin: 20px auto 0;
    padding: 16px 22px;
    background: rgba(7, 17, 31, 0.72);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text-main);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.16), rgba(0, 240, 255, 0.04));
    border: 1px solid rgba(0, 240, 255, 0.24);
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-copy strong {
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.logo-copy span {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
}

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

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    border-radius: 999px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
}

.navbar .btn-outline {
    padding-inline: 18px;
    border-color: rgba(0, 240, 255, 0.22);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.navbar .btn-outline:hover {
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(0, 240, 255, 0.38);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 5% 110px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 18%, rgba(0, 240, 255, 0.14), transparent 22%),
        radial-gradient(circle at 20% 20%, rgba(94, 118, 255, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(10, 22, 38, 0.86) 0%, rgba(6, 14, 25, 0.92) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-content {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15, 27, 43, 0.74), rgba(9, 17, 30, 0.68));
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.hero .eyebrow {
    margin-bottom: 24px;
}

.hero h1 {
    max-width: 14ch;
    margin: 0 auto 24px;
    font-size: clamp(3.3rem, 8vw, 6rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
    word-break: normal;
}

.hero p {
    max-width: 640px;
    margin: 0 auto 38px;
    font-size: 1.12rem;
    color: var(--text-soft);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--primary-color);
    color: #000;
    text-align: center;
    padding: 20px 5%;
    font-weight: bold;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.8;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.company-logo {
    display: block;
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.logo-link:hover {
    opacity: 1;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
}

/* --- Services Section --- */
.services {
    padding: 80px 5%;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    border: 1px solid #1e293b;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* --- About Section --- */
.about {
    padding: 80px 5%;
}

.about .section-header {
    max-width: 820px;
    margin: 0 auto;
}

.about .section-header p {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

/* --- CTA Section --- */
.cta-section {
    background-color: #151a28;
    padding: 80px 5%;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #1e293b;
}

.cta-container h2 {
    margin-bottom: 10px;
}

.cta-container p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form select {
    padding: 15px;
    background-color: #151a28;
    border: 1px solid #1e293b;
    color: white;
    border-radius: 4px;
    outline: none;
}

.contact-form input:focus, .contact-form select:focus {
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 5%;
    background-color: #05070a;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive for Mobile --- */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 32px);
        margin-top: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }

    .logo {
        width: 100%;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-links a,
    .navbar .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 88px 16px 76px;
    }

    .hero-content {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .hero h1 { font-size: 2.7rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn {
        width: 100%;
    }
    .logos { flex-wrap: wrap; gap: 20px; }
}
