/* ============================================
   AGENCIY DESIGN SYSTEM
   Grayscale-only creative agency design tokens
   ============================================ */

/* --- CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #EEEEEE;
  background-color: #0A0A0A;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
  /* --- Logo Gradient Button --- */
  --color-1: 330 81% 60%;   /* pink   #ec4899 */
  --color-2: 217 91% 60%;   /* blue   #3b82f6 */
  --color-3: 262 83% 58%;   /* purple #8b5cf6 */
  --color-4: 271 91% 65%;   /* violet #a855f7 */
  --color-5: 239 84% 67%;   /* indigo #6366f1 */
  --speed: 2s;
  --animate-rainbow: rainbow var(--speed, 2s) infinite linear;

  /* --- Background Surfaces --- */
  --bg-page: #0A0A0A;
  --bg-elevated-1: #0E0E0E;
  --bg-elevated-2: #121212;
  --bg-card: #1B1B1B;
  --bg-card-alt: #202020;
  --bg-surface: #262626;
  --bg-surface-mid: #292929;
  --bg-surface-high: #2B2B2B;
  --bg-overlay-subtle: rgba(255, 255, 255, 0.07);
  --bg-overlay-tint: rgba(255, 255, 255, 0.1);

  /* --- Border Colors --- */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-default: rgba(255, 255, 255, 0.15);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-strong: rgba(255, 255, 255, 0.3);
  --border-solid-dark: #2F2F2F;
  --border-solid-mid: #333333;
  --border-solid-light: #494949;

  /* --- Text Colors --- */
  --text-primary: #FFFFFF;
  --text-light: #E7E7E7;
  --text-body: #EEEEEE;
  --text-secondary: #CECECE;
  --text-muted: #BBBBBB;
  --text-tertiary: #999999;
  --text-subtle: #9C9C9C;
  --text-disabled: #808080;
  --text-faint: #6E6E6E;
  --text-ghost: #666666;
  --text-dark: #454545;
  --text-on-white: #000000;

  /* --- Special Colors --- */
  --overlay-dark: rgba(0, 0, 0, 0.3);
  --half-white: rgba(255, 255, 255, 0.5);

  /* --- Border Radius --- */
  --radius-none: 0px;
  --radius-xs: 5px;
  --radius-sm: 12px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --radius-xl: 56px;
  --radius-full: 100px;

  /* --- Shadows --- */
  --shadow-subtle: 0 10px 20px rgba(0, 0, 0, 0.05);
  --shadow-card: 0px 4px 6px rgba(0, 0, 0, 0.25);
  --shadow-card-inset: 2px 4px 8px rgba(0, 0, 0, 0.25), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.1);
  --shadow-heavy: 0px 36px 52px rgba(0, 0, 0, 0.55);
  --shadow-layered: 0px 0.6px 1.57px -1.5px rgba(0, 0, 0, 0.17), 0px 2.29px 5.95px -3px rgba(0, 0, 0, 0.14), 0px 10px 26px -4.5px rgba(0, 0, 0, 0.02);
  --shadow-inset-highlight: inset 0.5px 0.5px 0px rgba(134, 134, 134, 0.5);

  /* --- Spacing --- */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 100px;
  --space-6xl: 120px;
  --space-7xl: 150px;

  /* --- Container --- */
  --container-max: 1200px;
  --container-outer: 1440px;
  --container-narrow: 636px;
  --container-padding: 24px;

  /* --- Transitions --- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Legacy aliases for project detail pages migrating from style.css --- */
  --border-light: var(--border-subtle);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0px 20px 40px rgba(0, 0, 0, 0.4);
  --bg-gradient-hero: #0A0A0A;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.text-display-hero {
  font-family: 'Inter', sans-serif;
  font-size: 140px;
  font-weight: 700;
  line-height: 128px;
  letter-spacing: -8.4px;
}

.text-display-xl {
  font-family: 'Inter', sans-serif;
  font-size: 128px;
  font-weight: 700;
  line-height: 128px;
  letter-spacing: -5.6px;
}

.text-display-lg {
  font-family: 'Inter', sans-serif;
  font-size: 100px;
  font-weight: 700;
  line-height: 100px;
  letter-spacing: -5.12px;
}

h1, .text-h1 {
  font-family: 'Inter', sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 80px;
  letter-spacing: -1.92px;
  color: var(--text-primary);
}

h2, .text-h2 {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: -1.92px;
  color: var(--text-primary);
}

.text-h2-sm {
  font-family: 'Inter', sans-serif;
  font-size: 51px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -0.8px;
}

h3, .text-h3 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.48px;
  color: var(--text-primary);
}

h4, .text-h4 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -0.32px;
  color: var(--text-primary);
}

h5, .text-h5 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0;
  color: var(--text-primary);
}

.text-body-lg {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.text-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.text-body-sm {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.text-caption {
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.text-small {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.text-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-102 {
  background: linear-gradient(102deg, #FFFFFF 27%, #9E9E9E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-106 {
  background: linear-gradient(106deg, #FFFFFF 58%, #999999 88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-119 {
  background: linear-gradient(119deg, #FFFFFF 45%, #999999 91%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-75 {
  background: linear-gradient(75deg, #FFFFFF 52%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-90 {
  background: linear-gradient(90deg, #FFFFFF 35%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-lg {
  padding: var(--space-7xl) 0;
}

.center { text-align: center; }

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.navbar .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar .logo img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  flex-shrink: 0;
  position: relative;
  border: 2px solid transparent !important;
  background:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff 50%, rgba(255,255,255,0.6) 80%, rgba(0,0,0,0)),
    linear-gradient(90deg,
      hsl(var(--color-1)),
      hsl(var(--color-5)),
      hsl(var(--color-3)),
      hsl(var(--color-4)),
      hsl(var(--color-2))
    ) !important;
  background-size: 200% !important;
  background-clip: padding-box, border-box, border-box !important;
  background-origin: border-box !important;
  animation: var(--animate-rainbow);
  color: #000 !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  z-index: -1;
  height: 20%;
  width: 60%;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    hsl(var(--color-1)),
    hsl(var(--color-5)),
    hsl(var(--color-3)),
    hsl(var(--color-4)),
    hsl(var(--color-2))
  );
  background-size: 200%;
  animation: var(--animate-rainbow);
  filter: blur(0.75rem);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  position: relative;
  border: 2px solid transparent !important;
  background:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff 50%, rgba(255,255,255,0.6) 80%, rgba(0,0,0,0)),
    linear-gradient(90deg,
      hsl(var(--color-1)),
      hsl(var(--color-5)),
      hsl(var(--color-3)),
      hsl(var(--color-4)),
      hsl(var(--color-2))
    ) !important;
  background-size: 200% !important;
  background-clip: padding-box, border-box, border-box !important;
  background-origin: border-box !important;
  animation: var(--animate-rainbow);
  color: #000 !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  z-index: -1;
  height: 20%;
  width: 60%;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    hsl(var(--color-1)),
    hsl(var(--color-5)),
    hsl(var(--color-3)),
    hsl(var(--color-4)),
    hsl(var(--color-2))
  );
  background-size: 200%;
  animation: var(--animate-rainbow);
  filter: blur(0.75rem);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-outline:hover {
  border-color: var(--border-strong);
  background: var(--bg-overlay-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--text-tertiary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-sm {
  font-size: 14px;
  padding: 10px 20px;
}

.btn-lg {
  font-size: 18px;
  padding: 18px 36px;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card-inset);
}

.card-body {
  padding: var(--space-lg);
}

/* --- Project Card --- */
.project-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  transition: transform var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 16px;
  margin-bottom: 0;
  width: calc(100% - 32px);
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card-img img {
  transform: scale(1.02);
}

.project-card-body {
  padding: 24px;
}

.project-card-body h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-card-body p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 24px;
}

/* --- Service Card --- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card-inset);
}

.service-card .card-number {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.service-card h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 24px;
}

/* --- Testimonial Card --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 32px;
}

.testimonial-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-card .stars svg {
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
}

.testimonial-card blockquote {
  font-size: 18px;
  color: var(--text-body);
  line-height: 28px;
  margin-bottom: 24px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-card .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card .author-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card .author-role {
  display: block;
  font-size: 14px;
  color: var(--text-tertiary);
}

/* --- Stat Card --- */
.stat-card {
  text-align: center;
  padding: 32px;
}

.stat-card .stat-number {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1.92px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 16px;
  color: var(--text-tertiary);
}

.stat-card .stat-index {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-faint);
  margin-bottom: 16px;
}

/* ============================================
   TAGS / CHIPS
   ============================================ */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--bg-overlay-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.tag-sm {
  padding: 4px 10px;
  font-size: 12px;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--border-strong);
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: -1.92px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-tertiary);
  line-height: 28px;
  max-width: 600px;
  margin-top: 16px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  padding: 0;
  cursor: pointer;
  gap: 16px;
}

.faq-question .faq-icon {
  font-size: 24px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}

.faq-answer p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 24px;
}

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

.footer {
  background: var(--bg-page);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 24px;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-tertiary);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-faint);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--text-primary);
}

.footer-wordmark {
  width: 100%;
  margin-top: 64px;
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 700;
  letter-spacing: -6px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  cursor: default;
  user-select: none;
  /* Mouse-tracking glow — JS updates --wm-x / --wm-y on mousemove */
  --wm-x: 50%;
  --wm-y: 200%; /* starts off-bottom so glow is invisible by default */
  background:
    radial-gradient(circle 600px at var(--wm-x) var(--wm-y), rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.0) 58%),
    rgba(255,255,255,0.05);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================
   LOGO TICKER / MARQUEE
   ============================================ */

.logo-ticker {
  overflow: hidden;
  padding: 32px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-ticker-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.logo-ticker-track span {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-faint);
  white-space: nowrap;
  opacity: 0.6;
}

.logo-ticker-track .logo-item {
  display: flex;
  align-items: center;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.logo-ticker-track .logo-item:hover {
  opacity: 0.85;
}

.logo-ticker-track .logo-item img {
  height: 28px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}

/* Per-logo height balancing — target ~130–180px visual width each */
.logo-ticker-track .logo-item img[alt="Omniyat"]       { height: 13px !important; } /* 13.6:1 ratio → ~177px wide */
.logo-ticker-track .logo-item img[alt="Tata Elxsi"]    { height: 18px !important; } /* 7.67:1 ratio → ~138px wide */
.logo-ticker-track .logo-item img[alt="Adda 247"]      { height: 30px !important; } /* 4.74:1 ratio → ~142px wide */
.logo-ticker-track .logo-item img[alt="Betacrew Labs"]  { height: 28px !important; } /* 4.74:1 ratio → ~133px wide */
.logo-ticker-track .logo-item img[alt="LIV Residences"]{ height: 32px !important; } /* 2.5:1  ratio → ~80px wide  */
.logo-ticker-track .logo-item img[alt="Kelp Global"]   { height: 36px !important; } /* 2.13:1 ratio → ~77px wide  */

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

@keyframes rainbow {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}


/* ============================================
   PROCESS STEPS
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
}

.process-step .step-number {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.process-step h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step .step-time {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.process-step p {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 24px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  text-align: center;
  padding: var(--space-7xl) 0;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* .reveal always visible - removed opacity:0 trick that hid content if JS observer didn't fire */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

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

@media (max-width: 1024px) {
  h1, .text-h1 { font-size: 56px; line-height: 60px; }
  h2, .text-h2, .section-title { font-size: 44px; line-height: 50px; letter-spacing: -1px; }
  h3, .text-h3 { font-size: 32px; line-height: 36px; }
  h4, .text-h4 { font-size: 26px; line-height: 30px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }

  h1, .text-h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.8px; }
  h2, .text-h2, .section-title { font-size: 32px; line-height: 38px; letter-spacing: -0.5px; }
  h3, .text-h3 { font-size: 26px; line-height: 30px; }
  h4, .text-h4 { font-size: 22px; line-height: 28px; }

  .section { padding: var(--space-3xl) 0; }
  .section-lg { padding: var(--space-4xl) 0; }

  .navbar {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 24px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-wordmark {
    font-size: clamp(36px, 14vw, 56px);
    letter-spacing: -2px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-card .stat-number {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  h1, .text-h1 { font-size: 32px; line-height: 36px; }
  h2, .text-h2, .section-title { font-size: 28px; line-height: 34px; }

  .btn { padding: 12px 24px; font-size: 15px; }
  .btn-lg { padding: 14px 28px; font-size: 16px; }
}
