/* 
   STAR INFOWAVE — Light Theme Design System
   Inspired by Kloudera: clean white canvas, deep navy text,
   vibrant orange→violet gradient accents, modern SaaS aesthetics.
*/

/* ─── 1. Design Tokens ─────────────────────────────────────────────── */
:root {
  /* Color Palette */
  --bg:             #ffffff;          /* Pure white canvas */
  --bg-alt:         #f5f6fa;          /* Soft off-white panels */
  --bg-alt2:        #eef0f8;          /* Slightly deeper tint for zebra */
  --surface:        #ffffff;          /* Card / form surfaces */
  --surface-border: #e4e6ef;          /* Subtle card borders */

  /* Text */
  --text:           #15151f;          /* Deep charcoal — Kloudera's primary */
  --text-muted:     #5a5d7a;          /* Muted secondary body */
  --text-light:     #9295b0;          /* Placeholder / de-emphasized */

  /* Accent — gradient from orange-red → purple (Kloudera gradient) */
  --accent:         #6e3ffc;          /* Primary violet/purple */
  --accent-rgb:     110, 63, 252;
  --accent-warm:    #ff4006;          /* Warm orange-red end */
  --accent-warm-rgb:255, 64, 6;
  --gradient:       linear-gradient(135deg, #ff4006 0%, #c44aff 60%, #6e3ffc 100%);
  --gradient-soft:  linear-gradient(135deg, rgba(255,64,6,0.08) 0%, rgba(110,63,252,0.08) 100%);

  /* Navy (icon / hero accent colour from Kloudera) */
  --navy:           #0b2641;

  /* Brand teal — STAR INFOWAVE logo mark colour */
  --brand:          #15485a;
  --brand-rgb:      21, 72, 90;

  /* Structural */
  --border:         #e4e6ef;
  --border-focus:   #6e3ffc;
  --shadow-xs:      0 1px 3px rgba(21,21,31,0.06);
  --shadow-sm:      0 4px 12px rgba(21,21,31,0.08);
  --shadow-md:      0 8px 28px rgba(21,21,31,0.10);
  --shadow-lg:      0 16px 48px rgba(21,21,31,0.12);

  /* Spacing (4px grid) */
  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Fluid Typography */
  --font-h1:    clamp(2.75rem, 6vw,  4.25rem);
  --font-h2:    clamp(2rem,    4vw,  3rem);
  --font-h3:    clamp(1.375rem,2.5vw,2rem);
  --font-h4:    clamp(1.125rem,1.8vw,1.375rem);
  --font-body:  clamp(1rem,    1.1vw,1.0625rem);
  --font-small: 0.875rem;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-pill:9999px;

  /* Easing */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --t-fast:     0.15s;
  --t-base:     0.25s;
  --t-slow:     0.4s;
}

/* ─── 2. Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Inter Tight', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: var(--bg);
}

/* Subtle dot grid — replaces dark grid; very faint on white */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(21,21,31,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Manrope', sans-serif;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  font-size: var(--font-body);
  text-wrap: pretty;
  max-width: 65ch;
}

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

/* ─── 3. Layout Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  position: relative;
  z-index: 2;
}
@media (min-width: 640px)  { .container { padding-inline: var(--space-xl); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-2xl); } }

/* ─── 4. Header ─────────────────────────────────────────────────────── */
.header-wrapper {
  position: fixed;            /* sticky — always visible */
  inset-block-start: 0;
  inset-inline: 0;
  height: 76px;
  /* Frosted glass */
  background: linear-gradient(180deg, rgba(255,255,255,0.60) 0%, rgba(255,255,255,0.38) 100%);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65),
              0 1px 0 rgba(228,230,239,0.55);
  z-index: 200;
  transition: height var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

/* Thin gradient hairline along the top edge */
.header-wrapper::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.header-wrapper.scrolled {
  height: 66px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.64) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7),
              0 10px 30px rgba(21,21,31,0.10);
}
.header-wrapper.scrolled::after { opacity: 1; }

.header-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255,255,255,0.95) 0%, rgba(243,238,255,0.85) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.16),
              inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.logo-link:hover .logo-mark {
  transform: translateY(-1px) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.28);
}

.logo-icon { width: 30px; height: 30px; color: var(--brand); display: block; }

.logo-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  /* "STAR" painted with the site's signature gradient */
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent); /* fallback if background-clip unsupported */
}
.logo-text span {
  font-weight: 600;
  letter-spacing: 0.04em;
  -webkit-text-fill-color: var(--navy);
  color: var(--navy);
}

/* Desktop nav */
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: var(--space-xl);
  }
}

.nav-link {
  text-decoration: none;
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t-base) var(--ease);
  position: relative;
  padding-block: var(--space-xs);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: var(--radius-pill);
  transition: width var(--t-base) var(--ease-out);
}

.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Hamburger */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-base) var(--ease);
}
.menu-btn:hover { background: var(--bg-alt); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ─── 5. Mobile Drawer ──────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 500;
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl) var(--space-md);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.drawer-overlay.active { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.drawer-nav { display: flex; flex-direction: column; gap: var(--space-md); }

.drawer-link {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color var(--t-base) var(--ease);
}
.drawer-link:hover { color: var(--accent); }

/* ─── 6. Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 11px var(--space-lg);
  font-family: inherit;
  font-size: var(--font-small);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-base) var(--ease);
  min-height: 48px;
  white-space: nowrap;
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(110,63,252,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(110,63,252,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:active { transform: translateY(0); }

/* Focus rings */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── 7. Hero Section ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 130px var(--space-4xl);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  /* Soft top-tinted canvas */
  background:
    linear-gradient(180deg, #fbfaff 0%, #ffffff 42%, #fcfbff 100%);
}

/* Layered gradient mesh glow */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 12%, rgba(110,63,252,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 12% 18%, rgba(255,64,6,0.10) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 88%, rgba(196,74,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(110,63,252,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Faint engineered grid, masked so it fades toward the edges */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,38,65,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,38,65,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 35%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(255,255,255,0.6) 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-container {
  position: relative;
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

/* Kloudera-style pill badge */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 5px var(--space-md);
  background: var(--gradient-soft);
  border: 1px solid rgba(110,63,252,0.2);
  border-radius: var(--radius-pill);
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background: var(--gradient);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.7; }
}

.hero-title {
  font-size: var(--font-h1);
  font-weight: 700;
  color: var(--navy);
  max-width: 18ch;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

/* Gradient word highlight */
.hero-title .gradient-word {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 58ch;
  margin-bottom: var(--space-xl);
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* Trust pill strip */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: var(--font-small);
  color: var(--text-light);
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--gradient);
  margin-left: -8px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.hero-trust-avatar:first-child { margin-left: 0; }

/* ─── 8. Trust Banner / Partner Marquee ─────────────────────────────── */
.trust-banner {
  padding-block: var(--space-3xl);
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.trust-head {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.trust-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trust-sub {
  margin: 8px auto 0;
  max-width: 48ch;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.marquee-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  user-select: none;
  /* Edge fade */
  mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--space-md);
  min-width: 100%;
  animation: marquee 34s linear infinite;
  padding-right: var(--space-md);
}
.marquee-container:hover .marquee-content { animation-play-state: paused; }

/* Partner logo chip */
.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 18px 10px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  cursor: default;
}
.partner-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(110,63,252,0.25);
  box-shadow: var(--shadow-sm);
}

.partner-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #6e3ffc), var(--c2, #c44aff));
  box-shadow: 0 3px 8px rgba(21,21,31,0.14);
  flex-shrink: 0;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ─── 9. Section Commons ────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--accent);
  background: var(--gradient-soft);
  border: 1px solid rgba(110,63,252,0.18);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  margin-bottom: var(--space-sm);
}

.section-header { margin-bottom: var(--space-3xl); }
.section-title  { font-size: var(--font-h2); color: var(--navy); }
.section-desc   { color: var(--text-muted); margin-top: var(--space-sm); max-width: 60ch; }

/* ─── 10. Bento Services Grid ───────────────────────────────────────── */
.services-section {
  padding-block: var(--space-4xl);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 640px)  { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento-grid { grid-template-columns: repeat(3, 1fr); } }

.bento-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-xs);
  transition:
    transform  var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}

/* Gradient top-border on hover via pseudo */
.bento-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(110,63,252,0.2);
}
.bento-card:hover::before { opacity: 1; }

.bento-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid rgba(110,63,252,0.15);
  border-radius: var(--radius-md);
  color: var(--accent);
}

.bento-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.bento-card-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.bento-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.spec-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--gradient-soft);
  border: 1px solid rgba(110,63,252,0.15);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}

/* ─── 11. Scrollytelling Section ─────────────────────────────────────── */
.scroll-section {
  padding-block: var(--space-4xl);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.scrolly-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}
@media (min-width: 1024px) {
  .scrolly-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.scrolly-sticky {
  position: relative;
}
@media (min-width: 1024px) {
  .scrolly-sticky {
    position: sticky;
    top: 110px;
  }
}

.metric-row {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.metric-number {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.metric-label {
  font-size: var(--font-small);
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.scrolly-list { display: flex; flex-direction: column; gap: var(--space-lg); }

.scrolly-card {
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease),
              transform    var(--t-base) var(--ease);
}

.scrolly-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 4px;
  background: var(--gradient);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.scrolly-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.scrolly-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
}

/* ─── 12. Contact Section ───────────────────────────────────────────── */
.contact-section {
  padding-block: var(--space-4xl);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; }
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-xl); }

.contact-item { display: flex; align-items: flex-start; gap: var(--space-md); }

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid rgba(110,63,252,0.15);
  border-radius: var(--radius-md);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.contact-item-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 3px;
}

/* Form */
.contact-form-wrapper {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .contact-form-wrapper { padding: var(--space-2xl); } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--navy);
}

.form-control {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px var(--space-md);
  font-family: inherit;
  font-size: var(--font-body);
  width: 100%;
  transition: border-color var(--t-base) var(--ease),
              box-shadow   var(--t-base) var(--ease);
}
.form-control::placeholder { color: var(--text-light); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110,63,252,0.12);
}

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

.form-alert {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-small);
  font-weight: 500;
  display: none;
}
.form-alert.success {
  display: block;
  background: #edfaf4;
  border: 1px solid #34d399;
  color: #065f46;
}
.form-alert.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ─── 13. Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding-block: var(--space-3xl) var(--space-xl);
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: var(--space-md); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: #fff;
  text-decoration: none;
}

.footer-logo .logo-mark {
  background: linear-gradient(150deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 100%);
  border-color: rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.footer-logo .logo-icon { color: #bcd7e2; }
/* "STAR" keeps its gradient on navy; "INFOWAVE" switches to a light tint */
.footer-logo .logo-text span {
  -webkit-text-fill-color: rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.6);
}

.footer-text { font-size: 0.9375rem; color: rgba(255,255,255,0.55); max-width: 32ch; }

.footer-title {
  font-size: var(--font-small);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-xs); }

.footer-link {
  text-decoration: none;
  font-size: var(--font-small);
  color: rgba(255,255,255,0.5);
  transition: color var(--t-base) var(--ease);
  width: max-content;
}
.footer-link:hover { color: #fff; }

.social-links { display: flex; gap: var(--space-md); margin-top: var(--space-sm); }

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
}
.social-icon:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ─── 14. Scroll-Driven Reveal Animations ───────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {

    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(32px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal-item {
      view-timeline: --reveal-tl block;
      animation: reveal-up auto linear both;
      animation-timeline: --reveal-tl;
      animation-range: entry 5% entry 45%;
    }
  }
}

/* ─── 15. Custom Cursor ──────────────────────────────────────────────── */
.custom-cursor, .custom-cursor-ring { display: none; }

@media (min-width: 1024px) and (pointer: fine) {
  .custom-cursor {
    display: block;
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gradient);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
  }

  .custom-cursor-ring {
    display: block;
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
  }
}
