/* ============================================================
   JETSTREAM HOSTING — styles.css
   Brand primary: #002b66 (deep navy)
   ============================================================ */

/* ── Variables ── */
:root {
  --navy:        #002b66;
  --navy-dark:   #001840;
  --navy-mid:    #003d8f;
  --blue:        #1565c0;
  --sky:         #2196f3;
  --sky-light:   #bbdefb;
  --cloud:       #f0f8ff;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --text:        #1a2332;
  --muted:       #546e7a;
  --border:      #e2e8f0;
  --accent:      #64b5f6;   /* light sky-blue accent for dark backgrounds */

  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
  --radius: 12px;
  --shadow:    0 4px 24px rgba(0, 43, 102, 0.10);
  --shadow-lg: 0 8px 48px rgba(0, 43, 102, 0.16);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}
.section    { padding: 5.5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.125rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.625rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 0.875rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.35);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--off-white);
  border-color: var(--navy);
}

/* ────────────────────────────────────────────
   HEADER / NAV
   ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 24, 64, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* Logo */
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Slightly smaller in the footer */
.footer-brand .logo-img {
  height: 32px;
}
/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}
/* Nav CTA */
.btn-nav {
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-nav:hover {
  background: #1e88e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.4);
}

/* ────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 24, 64, 0.37) 0%, rgba(0, 43, 102, 0.31) 45%, rgba(21, 101, 192, 0.25) 100%),
    url('hero_image.jpg') center / cover no-repeat;
  padding: calc(72px + 4rem) 0 4.5rem;
}

/* Hero content — centered */
.hero-content {
  margin: 0 auto;
  max-width: 680px;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.hero-eyebrow span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.375rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  color: #ffffff;
  font-size: 1.125rem;
  max-width: 530px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
/* Trust badges */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-badge svg { color: var(--accent); flex-shrink: 0; }

/* ────────────────────────────────────────────
   FEATURES — Three Pillars
   ──────────────────────────────────────────── */
.features { background: var(--off-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.25rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--sky-light);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.feature-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* ────────────────────────────────────────────
   SERVICES GRID
   ──────────────────────────────────────────── */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.875rem;
  transition: all 0.25s;
}
.service-card:hover {
  border-color: var(--sky-light);
  background: var(--cloud);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.75rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ────────────────────────────────────────────
   HOW IT WORKS — Steps
   ──────────────────────────────────────────── */
.how { background: var(--off-white); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--sky-light), var(--navy));
  z-index: 0;
}
.step {
  position: relative;
  padding: 0 1rem 1rem;
  text-align: center;
  z-index: 1;
}
.step-num {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--off-white);
  box-shadow: 0 0 0 2px var(--navy);
}
.step h3 { font-size: 0.95rem; margin-bottom: 0.375rem; }
.step p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ────────────────────────────────────────────
   CTA BANNER
   ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 45%, #1565c0 100%);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.cta-banner h2 {
  color: var(--white);
  position: relative;
  margin-bottom: 0.875rem;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 460px;
  margin: 0 auto 2rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
}
.cta-banner .btn { position: relative; }

/* ────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.45);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  font-size: 0.875rem;
  max-width: 290px;
  margin-top: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.38);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  text-align: center;
}

/* ────────────────────────────────────────────
   PAGE HERO (About / Contact)
   ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(
    155deg,
    var(--navy-dark) 0%,
    var(--navy)      40%,
    #004aad          70%,
    #1565c0          100%
  );
  padding: 10rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.125rem;
  max-width: 560px;
  line-height: 1.75;
}

/* ────────────────────────────────────────────
   ABOUT PAGE
   ──────────────────────────────────────────── */
.about-intro { background: var(--white); }

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-intro-text h2 { margin-bottom: 1rem; }
.about-intro-text p {
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.about-visual {
  background: linear-gradient(145deg, var(--navy) 0%, #1565c0 100%);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-stat {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.about-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #e8f4fd;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.about-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* Pillars */
.pillars { background: var(--off-white); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.25rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.pillar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pillar-card h3 { margin: 1rem 0 0.25rem; }
.pillar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.875rem;
}
.pillar-card ul li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1.375rem;
  position: relative;
  line-height: 1.5;
}
.pillar-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 700;
  font-size: 0.8rem;
  top: 1px;
}

/* ────────────────────────────────────────────
   CONTACT PAGE
   ──────────────────────────────────────────── */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 0.875rem; }
.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  font-size: 0.95rem;
}
.contact-detail svg { flex-shrink: 0; color: var(--sky); }
.contact-detail a   { color: var(--navy); font-weight: 500; }
.contact-detail a:hover { color: var(--sky); }

/* "What happens next" mini steps */
.next-steps { margin-top: 2.5rem; }
.next-steps h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.125rem;
}
.next-step {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1.125rem;
  align-items: flex-start;
}
.next-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.next-step strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.next-step p      { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* Contact form card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { margin-bottom: 0.375rem; }
.contact-form-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0aec0; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23546e7a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}
.form-submit:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0, 43, 102, 0.28);
}
.form-submit:disabled {
  background: var(--blue);
  transform: none;
  box-shadow: none;
  cursor: default;
}

/* ────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 640px) {
  .nav-links    { display: none; }
  .hero-cta     { flex-direction: column; align-items: center; }
  .hero h1      { font-size: 2.25rem; }
  .hero-badges  { gap: 1.25rem; }
  .section      { padding: 3.75rem 0; }
  .page-hero    { padding: 8rem 0 4rem; }
  .steps        { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 1.75rem; }
}

@media (max-width: 440px) {
  .steps { grid-template-columns: 1fr; }
}
