/* ═══════════════════════════════════════════
   GatrishScales — Premium Light Landing Page
   ═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --off-white: #f7f7f8;
  --gray-100: #ebebeb;
  --gray-200: #d4d4d4;
  --gray-300: #9a9a9a;
  --gray-400: #6b6b6b;
  --gray-500: #3d3d3d;
  --gray-600: #2a2a2a;
  --gray-700: #1a1a1a;
  --gray-800: #111111;
  --black: #000000;
  --accent: #000000;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-primary);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* ─── CURSOR GLOW ─── */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  will-change: transform;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 0 24px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  background-color: #ffffff;
  filter: brightness(1.05) contrast(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--black);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
  background: transparent;
  color: var(--black);
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--white);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #00c96a;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 201, 106, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0, 201, 106, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--black);
}

.hero-title span {
  display: block;
}

.hero-title em {
  font-style: italic;
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  right: -4px;
  height: 35%;
  background: rgba(0,0,0,0.07);
  border-radius: 4px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gray-500);
  border: 1px solid rgba(0,0,0,0.12);
}

.btn-ghost:hover {
  color: var(--black);
  border-color: rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.03);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ─── SCROLL INDICATOR ─── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--black), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ─── MARQUEE ─── */
.marquee-section {
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  background: var(--white);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
}

.marquee-dot {
  font-size: 0.5rem !important;
  color: var(--gray-200) !important;
}

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

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--black);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 540px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ─── PAIN POINTS ─── */
.pain-section {
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  cursor: default;
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,0,0,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-card:hover {
  border-color: rgba(0,0,0,0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.pain-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  background: rgba(0,0,0,0.05);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.pain-card p {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--black);
}

.pain-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--gray-300);
  opacity: 0.4;
}

/* ─── PROCESS ─── */
.process-section {
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.1) 90%, transparent);
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 56px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--off-white);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--black);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
}

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

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.services-left {
  background: var(--off-white);
  border-radius: 24px;
  padding: 48px 40px;
  border: 1px solid rgba(0,0,0,0.06);
}

.services-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  color: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.service-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-500);
  line-height: 1.5;
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expect-card {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s var(--ease-out-expo);
}

.expect-card:hover {
  border-color: rgba(0,0,0,0.12);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.expect-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.expect-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ─── FIT SECTION (Is This Right For Your Business?) ─── */
.fit-section {
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.fit-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 40px 36px;
  transition: all 0.3s var(--ease-out-expo);
}

.fit-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.fit-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.5;
}

.fit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

.fit-icon.yes {
  background: #e8f9ef;
  color: #1a9d52;
}

.fit-icon.no {
  background: #fde8e8;
  color: #d63031;
}

/* ─── DFY SECTION ─── */
.dfy-section {
  background: var(--white);
  padding: 80px 0;
}

.dfy-card {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dfy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.02) 0%, transparent 60%);
}

.dfy-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  position: relative;
  color: var(--black);
}

.dfy-title em {
  font-style: italic;
  color: var(--gray-500);
}

.dfy-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  background: rgba(0,0,0,0.04);
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
}

.dfy-box {
  max-width: 580px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
  position: relative;
}

.dfy-box p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--white);
  padding: 120px 0;
}

.cta-inner {
  text-align: center;
  padding: 80px 48px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 32px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,255,255,0.03) 90deg, transparent 180deg, rgba(255,255,255,0.03) 270deg, transparent 360deg);
  animation: cta-spin 15s linear infinite;
}

@keyframes cta-spin {
  to { transform: rotate(360deg); }
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  color: var(--white);
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
}

.cta-inner .btn {
  position: relative;
}

.cta-inner .btn-primary {
  background: var(--white);
  color: var(--black);
}

.cta-inner .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}

.cta-inner .section-tag {
  position: relative;
  color: var(--gray-300);
  border-color: rgba(255,255,255,0.15);
}

.cta-inner .highlight::after {
  background: rgba(255,255,255,0.1);
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 32px 0;
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: cover;
  background-color: #ffffff;
  filter: brightness(1.05) contrast(1.1);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */

@media (max-width: 1024px) {
  .services-layout {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }

  .fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }



  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
  }

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

  .nav-links a {
    font-size: 1.2rem;
    color: var(--black);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    gap: 20px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }

  .timeline-line {
    left: 24px;
  }

  .services-left {
    padding: 32px 24px;
  }

  .dfy-card {
    padding: 48px 24px;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .fit-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

  .pain-card {
    padding: 28px 24px;
  }

  .pain-icon {
    display: none;
  }
}
