/* =========================================
   BAYFRONT CLOUD – FUTURISTIC THEME
   ========================================= */

:root {
  /* Brand */
  --brand-blue: #3b82f6;
  --brand-blue-strong: #2563eb;
  --brand-green: #22c55e;
  --accent-cyan: #22d3ee;
  --accent-purple: #a855f7;

  /* Neutral palette (dark mode first) */
  --bg-body: #020617;
  --bg-elevated: #020617;
  --bg-card: rgba(15, 23, 42, 0.92);
  --bg-soft: #020617;
  --fg: #e5e7eb;
  --fg-muted: #9ca3af;
  --fg-subtle: #6b7280;
  --border-soft: rgba(148, 163, 184, 0.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.8);
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #000000 100%);
  color: var(--fg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* Layout */

.container {
  width: min(100% - 3rem, 1200px);
  margin: 0 auto;
  padding: 0;
}

.section {
  padding: 4rem 1.5rem;
}

.section-sm {
  padding: 2.5rem 1.5rem;
}

/* =========================================
   HEADER + NAVIGATION
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.9),
      rgba(15, 23, 42, 0.75),
      transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 2rem;
}

.logo img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

/* Main nav */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--fg-muted);
  padding: 0.25rem 0;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.nav-link:hover {
  color: #e5e7eb;
}

.nav-link:hover::after,
.nav-link-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Nav CTA */

.nav-cta {
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  background: #0075FF; /* Logo blue */
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  
  /* Remove glow & heavy shadow */
  box-shadow: none;
  border: none;
  
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: #005FCC; /* darker version */
  transform: translateY(-1px);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }

body.nav-open .nav-toggle span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* Mobile menu */

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    width: 100%;
    max-width: 320px;
    background: rgba(15, 23, 42, 0.98);
    border-left: 1px solid rgba(148, 163, 184, 0.4);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-link::after {
    bottom: -0.15rem;
  }
}

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  padding: 4.5rem 1.5rem 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.20), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  width: min(100% - 3rem, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 3.3fr);
  gap: 3.5rem;
  align-items: center;
  z-index: 1;
}

/* left copy */

.hero-copy {
  max-width: 34rem;
}

.hero-eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-copy p {
  font-size: 1rem;
  color: var(--fg-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 0.9rem;
}

.hero-footnote {
  font-size: 0.85rem;
  color: var(--fg-subtle);
}

/* hero media */

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-illustration {
  max-width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.95);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background: #0075FF; /* logo blue */
  color: #ffffff;
  
  /* Remove glow */
  box-shadow: none;
  border: none;

  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn.primary:hover {
  background: #005FCC; /* subtle darken */
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--fg-muted);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
}

/* Responsive hero */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hero-inner {
    width: 100%;
  }
}

/* =========================================
   LOGO STRIP / BENEFIT BAND
   ========================================= */

.logo-strip {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
  padding: 1.5rem 1.5rem;
}

.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-strip-label {
  font-size: 0.8rem;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.logo-strip-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.logo-strip-logos span {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* =========================================
   SECTIONS & GRIDS
   ========================================= */

.section-header {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--fg-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

/* =========================================
   CARDS, CALLOUTS, CHECKLISTS
   ========================================= */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(15, 23, 42, 0.98);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin-top: 0;
  color: var(--fg-muted);
}

.card-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.card.compact {
  padding: 1.3rem;
}

.callout {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.9);
}

/* Checklist */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  color: var(--brand-green);
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.testimonial {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--border-soft);
  font-size: 0.95rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.85);
}

.testimonial-quote {
  margin-bottom: 0.75rem;
  color: var(--fg-muted);
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--fg-subtle);
}

/* =========================================
   INDUSTRIES
   ========================================= */

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.industry-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* =========================================
   CTA STRIP
   ========================================= */

.cta-section {
  padding: 3rem 1.5rem 3.25rem;
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.cta-inner {
  width: min(100% - 3rem, 1200px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin: 0 0 0.5rem;
}

.cta-inner p {
  margin: 0;
  max-width: 32rem;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  padding: 1.6rem 1.5rem 1.8rem;
  background: #020617;
  color: #6b7280;
  font-size: 0.85rem;
}

.footer-inner {
  width: min(100% - 3rem, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

/* =========================================
   FORMS / CONTACT (for other pages)
   ========================================= */

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--fg-subtle);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font: inherit;
  background: rgba(15, 23, 42, 0.85);
  color: var(--fg);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--accent-cyan);
  outline-offset: 1px;
  border-color: var(--accent-cyan);
}

/* =========================================
   RESPONSIVE TWEAKS
   ========================================= */

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section,
  .section-sm {
    padding-inline: 1.25rem;
  }

  .container {
    width: 100%;
  }

  .grid-3,
  .grid-2,
  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .logo img {
    max-height: 30px;
  }

  .cta-section {
    padding-inline: 1.25rem;
  }
}
