/* ============================================================
   IT SHARKS — Website Styles
   Brand manual v1.0 · 2026
   ============================================================ */

/* ---- Design tokens (brand manual §04 + §05) ---- */
:root {
  --night:  #0B1B33;   /* darkest bg */
  --navy:   #0B3A8C;   /* primary brand */
  --blue:   #1F6FE5;   /* signature accent */
  --ice:    #F4F7FB;   /* light surface */
  --slate:  #4A5C7A;   /* secondary text */
  --white:  #FFFFFF;

  --blue-glow:  rgba(31, 111, 229, 0.14);
  --navy-glow:  rgba(11,  58, 140, 0.18);

  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--night);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button, input, textarea, select { font-family: inherit; }


/* ---- Layout ---- */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 40px;
}


/* ---- Scroll Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity  0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}
[data-animate].visible { opacity: 1; transform: none; }

/* Service card stagger */
.service-grid .service-card[data-animate]:nth-child(2) { transition-delay: 0.1s; }
.service-grid .service-card[data-animate]:nth-child(3) { transition-delay: 0.2s; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  transition: background 0.25s var(--ease-std), backdrop-filter 0.25s var(--ease-std), box-shadow 0.25s var(--ease-std);
}
.site-header.scrolled {
  background: rgba(11, 27, 51, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 40px;
  gap: 32px;
}

.nav-brand svg {
  width: 150px;
  height: auto;
  display: block;
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--white); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: 8px 18px;
  border-radius: 7px;
  transition: opacity 0.15s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}


/* ============================================================
   HERO — full screen, Night bg, parallax depth
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--night);
}

/* Parallax background layer — extended top+bottom for movement room */
.hero-bg {
  position: absolute;
  inset: -45% 0;
  will-change: transform;
  background-color: var(--night);
  background-image:
    /* Blue glow — top right */
    radial-gradient(ellipse 65% 55% at 75% 15%, rgba(31,111,229,0.18) 0%, transparent 58%),
    /* Navy glow — bottom left */
    radial-gradient(ellipse 70% 60% at 20% 85%, rgba(11,58,140,0.30) 0%, transparent 55%),
    /* Subtle dot grid */
    radial-gradient(circle, rgba(31,111,229,0.07) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px;
}

/* Thin angled separator at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--ice);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 100px 40px 100px;
  max-width: 800px;
  width: 100%;
  animation: heroIn 0.9s var(--ease-out) 0.1s both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}

/* Wordmark — brand manual minimum: 20px wide; hero version is large */
.hero-wordmark {
  width: min(440px, 82vw);
  height: auto;
}

.hero-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: -8px;
}

.hero-heading {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* The italics on the hero heading reflect the wordmark's forward motion */
.hero-heading em {
  font-style: italic;
  color: var(--blue);
}

.hero-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: var(--white); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 96px;   /* above the clip-path separator */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.28);
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}


/* ============================================================
   SERVICES — Ice background, 3-column card grid
   ============================================================ */
.services {
  background: var(--ice);
  padding: 96px 0 100px;
}

/* Section header shared styles */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow--dim { color: rgba(255,255,255,0.38); }

.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 700;
  color: var(--night);
  line-height: 1.2;
  letter-spacing: -0.022em;
}
.section-title--light { color: var(--white); }

.section-sub {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 14px;
}

/* Three-column grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Base card */
.service-card {
  background: var(--white);
  border: 1px solid rgba(11, 26, 51, 0.08);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s var(--ease-std), box-shadow 0.2s var(--ease-std);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(11, 58, 140, 0.12);
}

/* Featured card — navy deep */
.service-card--featured {
  background: var(--navy);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(11, 58, 140, 0.28);
}
.service-card--featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(11, 58, 140, 0.38);
}

/* Card top row: number + icon */
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.service-card--featured .card-num { color: rgba(255,255,255,0.35); }

/* Icon circle */
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }

.card-icon--navy  { background: rgba(11, 58, 140, 0.08); color: var(--navy); }
.card-icon--blue  { background: rgba(31, 111, 229, 0.10); color: var(--blue); }
.card-icon--light { background: rgba(255,255,255,0.12); color: var(--white); }

/* Title row — for the card that has a badge next to the title */
.card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--night);
  line-height: 1.2;
}
.service-card--featured .card-title { color: var(--white); }

.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--blue);
  color: var(--white);
  letter-spacing: 0.02em;
}

.card-desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.68;
  flex: 1;
}
.service-card--featured .card-desc { color: rgba(255,255,255,0.58); }

/* Feature bullet list */
.card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--slate);
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.card-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.service-card--featured .card-features       { color: rgba(255,255,255,0.55); }
.service-card--featured .card-features li::before { background: rgba(255,255,255,0.30); }

/* Get started link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
  padding-top: 4px;
  transition: gap 0.15s, color 0.15s;
}
.card-link:hover { gap: 10px; }
.card-link--light { color: rgba(255,255,255,0.70); }
.card-link--light:hover { color: var(--white); }


/* ============================================================
   STATS — Night background, parallax, counter animation
   ============================================================ */
.stats {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background: var(--night);
}

/* Parallax background layer */
.stats-bg {
  position: absolute;
  inset: -45% 0;
  will-change: transform;
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 70% 65% at 20% 30%, rgba(11,58,140,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 80% 70%, rgba(31,111,229,0.14) 0%, transparent 52%),
    radial-gradient(circle, rgba(31,111,229,0.055) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px;
}

/* Content sits above bg layer */
.stats > .container { position: relative; z-index: 1; }

/* Stats grid */
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 48px;
  gap: 8px;
}

.stat-num-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat-num {
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}


/* ============================================================
   CONTACT — Ice background, split layout
   ============================================================ */
.contact {
  background: var(--ice);
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

/* Left: info panel */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 6px;
}

.contact-desc {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
}

.contact-checks {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 4px;
}
.contact-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--slate);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(31,111,229,0.10);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-email {
  margin-top: 8px;
}
.contact-email a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1.5px solid rgba(11,58,140,0.20);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.contact-email a:hover { color: var(--blue); border-color: var(--blue); }

/* Right: form card */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(11, 26, 51, 0.08), 0 1px 0 rgba(11,26,51,0.05);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(11,26,51,0.12);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--night);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,111,229,0.11);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(74,92,122,0.5); }

.form-field textarea { min-height: 128px; resize: vertical; }

/* Select arrow */
.form-field 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='%234A5C7A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-1px); }
.btn-submit:active { transform: scale(0.99); }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--night);
  padding: 52px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

.footer-wordmark {
  width: 150px;
  height: auto;
}

.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.40);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--white); }

.footer-email {
  font-size: 14px;
  color: rgba(255,255,255,0.40);
  transition: color 0.15s;
}
.footer-email:hover { color: var(--blue); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.20);
  text-align: center;
}


/* ============================================================
   RESPONSIVE — Tablet (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {
  .service-grid    { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
  .contact-info    { padding-top: 0; }
  .stat-item       { padding: 0 32px; }
}


/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .container    { padding-inline: 24px; }
  .nav-inner    { padding-inline: 24px; }
  .nav-toggle   { display: flex; }

  #nav-links {
    display: none;
    position: fixed;
    top: 64px;
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(11, 27, 51, 0.97);
    backdrop-filter: blur(16px);
    padding: 28px 24px 32px;
    gap: 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 199;
  }
  #nav-links.open  { display: flex; }
  #nav-links .nav-link { font-size: 16px; color: rgba(255,255,255,0.75); }
  #nav-links .nav-cta  { font-size: 15px; padding: 10px 22px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { justify-content: center; }

  .service-grid    { max-width: 100%; }

  .stats-grid      { flex-direction: column; gap: 36px; }
  .stat-divider    { width: 48px; height: 1px; }
  .stat-item       { padding: 0; }

  .form-row        { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer-inner    { flex-direction: column; align-items: flex-start; }
  .footer-nav      { flex-wrap: wrap; gap: 20px; }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  [data-animate]      { opacity: 1; transform: none; transition: none; }
  .hero-content       { animation: none; }
  .hero-scroll-hint   { animation: none; }
  html                { scroll-behavior: auto; }
}
