:root {
    --bg: #07111f;
    --bg-2: #0b182b;
    --text: #dce7f5;
    --white: #ffffff;
    --dark: #0f172a;
    --dark-muted: #475569;
    --muted: #94a3b8;
    --accent: #5B9BD5; /* Light blue base */
    --accent-2: #4a86c2; /* Darker light blue */
    --accent-3: #75aee0; /* Lighter blue */
    --card: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --container: 1100px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 20px 40px rgba(0,0,0,0.3);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input {
    font: inherit;
}
.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}
.section {
    padding: 96px 0;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(91, 155, 213, 0.34);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(91, 155, 213, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.section-title {
    max-width: 790px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.07;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
}
.section-subtitle {
    max-width: 780px;
    color: var(--muted);
    font-size: 1.08rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 21px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    color: #03111f;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 14px 36px rgba(91, 155, 213, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(91, 155, 213, 0.34);
}
.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
}
.btn-dark {
    color: var(--white);
    background: #0b182b;
}
.btn-dark:hover {
    transform: translateY(-2px);
    background: #13243b;
}
/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 17, 31, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}
.nav {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}
.logo img {
    width: 168px;
    height: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: var(--muted);
    font-size: 0.93rem;
    font-weight: 750;
}
.nav-links a {
    transition: color 0.2s ease;
}
.nav-links a:hover {
    color: var(--white);
}
/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0 92px;
    text-align: center;
    background: radial-gradient(circle at 16% 18%, rgba(67, 167, 255, 0.24), transparent 25%), 
                radial-gradient(circle at 82% 10%, rgba(91, 155, 213, 0.16), transparent 25%), 
                radial-gradient(circle at 62% 76%, rgba(117, 174, 224, 0.10), transparent 24%), 
                var(--bg);
}
.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.hero h1 {
    max-width: 860px;
    margin-inline: auto;
    margin-bottom: 12px;
    font-size: clamp(3rem, 7vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
}
.hero p {
    max-width: 765px;
    margin-inline: auto;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.23rem);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}
/* Light sections */
.light {
    background: var(--white);
    color: var(--dark);
}
.light .section-subtitle {
    color: var(--dark-muted);
}
.problem-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 30px;
    align-items: stretch;
}
.problem-card, .solution-card {
    padding: 34px;
    border-radius: var(--radius-xl);
}
.problem-card {
    color: var(--white);
    background: linear-gradient(135deg, #08172a, #102b4c);
    box-shadow: 0 22px 60px rgba(9, 25, 46, 0.22);
}
.problem-card h2, .solution-card h2 {
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
}
.problem-card p { color: #d6dfec; }
.solution-card {
    background: #f1f7ff;
    border: 1px solid #dce8f5;
}
.solution-card p { color: var(--dark-muted); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 34px;
}
.benefit-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid #e3ecf7;
    box-shadow: 0 12px 34px rgba(16, 36, 61, 0.08);
}
.benefit-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(91, 155, 213, 0.12);
    font-size: 1.35rem;
}
/* Services */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
}
.service-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    padding: 31px;
    border-radius: var(--radius-xl);
    background: var(--card);
    border: 1px solid var(--card-border);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.085);
    border-color: rgba(91, 155, 213, 0.38);
}
.service-icon { margin-bottom: 22px; font-size: 2.45rem; }
/* Contact */
.contact {
    background: radial-gradient(circle at 15% 6%, rgba(91, 155, 213, 0.18), transparent 24%), 
                radial-gradient(circle at 85% 10%, rgba(67, 167, 255, 0.17), transparent 24%), 
                #ffffff;
}
.contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 44px;
    padding: 44px;
    border-radius: 34px;
    background: rgba(255,255,255,0.88);
    border: 1px solid #dce8f5;
    box-shadow: 0 24px 70px rgba(16,36,61,0.14);
}
.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: #07111f;
    color: var(--white);
}
.form-group { display: grid; gap: 8px; }
.contact-form label { color: #d6dfec; font-size: 0.9rem; font-weight: 800; }
.contact-form input {
    width: 100%;
    padding: 15px 16px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(91, 155, 213, 0.12);
    background: rgba(255,255,255,0.11);
}
/* Footer */
.footer {
    padding: 28px 0;
    color: var(--muted);
    background: var(--bg);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.93rem;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
}
.footer a { color: var(--accent); font-weight: 800; }

@media (max-width: 1020px) {
    .nav { flex-direction: column; padding: 18px 0; align-items: flex-start;}
    .nav-links { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 14px 20px;}
    .problem-grid, .contact-wrap { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .footer-inner { flex-direction: column; }
}
/* ==========================================================================
   PREMIUM MOBILE RESPONSIVENESS FIXES (Affects Mobile Only)
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Force the Hero section split grid to stack vertically on mobile */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center !important; /* Centers typography beautifully on mobile */
  }

  /* 2. Remove desktop padding constraints from the text area */
  .hero-text-container {
    padding-right: 0 !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 3. Scale down the massive heading size dynamically so it fits smaller screens */
  .hero h1 {
    font-size: clamp(2.0rem, 7vw, 2.8rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 16px !important;
  }

  /* 4. Optimize the description paragraph spacing */
  .hero p {
    font-size: 1.05rem !important;
    margin-bottom: 24px !important;
  }

  /* 5. Stack the CTA buttons neatly instead of pinching them side-by-side */
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  /* Force buttons to be full-width and touch-friendly on mobile screens */
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 6. Ensure the advanced tech video container natively fits the mobile frame */
  .hero-video-wrap {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; 
  }
}