/* ============================================
   FRANKLIN RIDGE — GEO Consulting Agency
   Bold, dark, cinematic — inspired by Rise at Seven
   ============================================ */

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

:root {
  --mint: #A8F0D4;
  --dark: #0a0a0a;
  --dark-2: #141414;
  --dark-3: #1a1a1a;
  --white: #FFFFFF;
  --cream: #F0EFED;
  --mid-gray: #888888;
  --light-gray: #D4D3D1;
  --accent: #A8F0D4;
  --section-pad: clamp(100px, 12vw, 180px);
  --side-pad: clamp(24px, 5vw, 80px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection {
  background: var(--mint);
  color: var(--dark);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.heading-hero {
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-align: center;
  text-shadow: 0 4px 60px rgba(0,0,0,0.4);
}

.heading-lg {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.heading-md {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.heading-sm {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
}

.text-body {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.text-body.dark {
  color: var(--mid-gray);
}

.text-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

/* --- Layout --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* --- Reveal Animations (upgraded) --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }

/* Split text animation */
.split-line {
  overflow: hidden;
  display: block;
}

.split-line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-line-inner.visible {
  transform: translateY(0);
}

/* Scale-in animation */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  font-family: inherit;
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-white-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-mint {
  background: var(--mint);
  color: var(--dark);
  border-color: var(--mint);
  font-weight: 700;
}

.btn-mint:hover {
  background: #8DE8C4;
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(168, 240, 212, 0.25);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: rgba(255,255,255,0.15);
}

.btn-dark:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.3s ease;
  font-size: 1.1em;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--mint);
  color: var(--dark);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1001;
}

.announcement-bar a {
  text-decoration: underline;
  font-weight: 700;
}

.announcement-bar a:hover {
  opacity: 0.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s ease;
}

.nav.has-announcement {
  top: 40px;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  top: 0 !important;
}

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

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-icon {
  width: 28px;
  height: 45px;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .logo-icon {
  transform: translateY(-4px);
}

.nav-logo .logo-icon svg {
  width: 100%;
  height: 100%;
}

.nav-logo .logo-text {
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.nav-center a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
  padding: 4px 0;
}

.nav-center a:hover {
  color: var(--white);
}

.nav-right .btn {
  padding: 12px 28px;
  font-size: 0.85rem;
}

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

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

/* ============================================
   HERO — Full-screen dark with massive centered type
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 160px var(--side-pad) 80px;
  background: var(--dark);
}

/* Background image — blurred, cinematic, like Rise at Seven */
.hero-bg {
  position: absolute;
  inset: -40px; /* overflow for blur edges */
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.4) brightness(1.1);
  transform: scale(1.04);
  animation: heroBgDrift 20s ease-in-out infinite alternate;
}

@keyframes heroBgDrift {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, 1%); }
}

/* Dark overlay — lighter center so earth image shows through */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.85) 100%);
}

/* Subtle noise over everything */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}

.hero-tagline {
  margin-bottom: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero h1 {
  margin-bottom: 28px;
  color: var(--white);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.01em;
  margin-bottom: 56px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Platform logos row */
.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.hero-platforms:hover {
  opacity: 0.7;
}

.hero-platforms .platform {
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   SCROLLING MARQUEE
   ============================================ */
.marquee-section {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  background: var(--dark);
}

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

.marquee-item {
  flex-shrink: 0;
  padding: 0 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 40px;
}

.marquee-item::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--mint);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============================================
   ABOUT — Dark section with big statement
   ============================================ */
.about {
  background: var(--dark-2);
}

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

.about-statement {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-statement em {
  font-style: normal;
  color: var(--mint);
}

.about-values {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 0;
  margin-top: 100px;
}

.value-card {
  padding: 52px 44px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: all 0.5s ease;
  position: relative;
}

.value-card:nth-child(2) {
  padding-top: 80px;
}

.value-card:last-child {
  border-right: none;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--white);
}

.value-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ============================================
   SERVICES — Large expandable rows
   ============================================ */
.services {
  background: var(--dark);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.services-header .heading-lg {
  max-width: 600px;
}

.service-item {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.service-item:hover {
  padding-left: 24px;
}

.service-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.05em;
}

.service-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  transition: all 0.4s ease;
}

.service-item:hover .service-content h3 {
  color: var(--mint);
}

.service-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  max-width: 550px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.7;
}

.service-item:hover .service-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 16px;
}

.service-arrow {
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
  transition: all 0.4s ease;
}

.service-item:hover .service-arrow {
  color: var(--mint);
  transform: translateX(10px) rotate(-45deg);
}

/* ============================================
   HOW IT WORKS — Process
   ============================================ */
.process {
  background: var(--dark-2);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 80px;
  background: rgba(255,255,255,0.04);
}

.process-step {
  padding: 56px 44px;
  position: relative;
  transition: all 0.5s ease;
  background: var(--dark-2);
}

.process-step:hover {
  background: rgba(168, 240, 212, 0.03);
}

.process-step:nth-child(even) {
  padding-top: 80px;
}

.step-number {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(168, 240, 212, 0.06);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.process-step h4 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--white);
}

.process-step p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 380px;
}

/* ============================================
   RESEARCH — Open source med spa research
   ============================================ */
.research {
  background: var(--dark);
  position: relative;
}

.research::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 240, 212, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.research-header {
  text-align: left;
  max-width: 600px;
  margin: 0 0 80px 0;
}

.research-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.research-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 44px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.research-card:first-child {
  grid-row: 1 / 3;
  padding: 52px;
}

.research-card:first-child h3 {
  font-size: 1.6rem;
}

.research-card:hover {
  border-color: rgba(168, 240, 212, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.research-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.research-card:hover::after {
  width: 100%;
}

.research-tag {
  display: inline-block;
  padding: 5px 12px;
  background: transparent;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(168, 240, 212, 0.25);
  border-radius: 0;
  margin-bottom: 20px;
}

.research-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.2;
}

.research-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 24px;
}

.research-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.research-link:hover {
  gap: 14px;
}

.research-cta {
  text-align: left;
  margin-top: 64px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--dark-2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.testimonial-card {
  padding: 44px;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 2px;
  transition: all 0.5s ease;
}

.testimonial-card:nth-child(2) {
  margin-top: 40px;
}

.testimonial-card:hover {
  border-color: rgba(168, 240, 212, 0.2);
}

.testimonial-quote {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(168, 240, 212, 0.2);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--dark);
}

.pricing-header {
  text-align: left;
  max-width: 600px;
  margin: 0 0 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}

.pricing-card {
  padding: 44px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  transition: all 0.5s ease;
  position: relative;
}

.pricing-card:first-child {
  margin-top: 32px;
}

.pricing-card:last-child {
  margin-top: 32px;
}

.pricing-card:hover {
  border-color: rgba(255,255,255,0.12);
}

.pricing-card.featured {
  border-color: var(--mint);
  background: var(--dark-3);
  padding: 52px 44px;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--mint);
  z-index: 1;
}

.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--mint);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
  margin-bottom: 24px;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--white);
}

.pricing-period {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 36px;
}

.pricing-features {
  margin-bottom: 40px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child { border: none; }

.pricing-check {
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
}

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

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: var(--mint);
  color: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: var(--dark);
  max-width: 800px;
  margin: 0 auto 24px;
  -webkit-text-fill-color: var(--dark);
  background: none;
}

.cta-section .cta-sub {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(10,10,10,0.6);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--dark-2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 64px;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--white);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-detail:last-child { border: none; }

.contact-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  color: var(--mint);
  border: 1px solid rgba(168, 240, 212, 0.15);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.contact-value {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
}

.contact-form {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px;
  border-radius: 2px;
  border-top: 2px solid rgba(168, 240, 212, 0.2);
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255,255,255,0.03);
  color: var(--white);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--mint);
  background: rgba(168, 240, 212, 0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  color: var(--mint);
}

.footer-col a {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  padding: 6px 0;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.25);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-social a:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .value-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding-top: 48px !important; }
  .value-card:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step:nth-child(even) { padding-top: 56px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card:first-child, .pricing-card:last-child { margin-top: 0; }
  .research-grid { grid-template-columns: 1fr; max-width: 560px; }
  .research-card:first-child { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .testimonial-card:nth-child(2) { margin-top: 0; }
}

@media (max-width: 768px) {
  .announcement-bar { font-size: 0.75rem; padding: 8px 16px; }
  .nav-center { display: none; }
  .nav-toggle { display: flex; }
  .nav-right { display: none; }

  .nav-center.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-center.active a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
  }

  .hero { padding-top: 140px; }
  .heading-hero { font-size: clamp(2.8rem, 12vw, 4.5rem); }

  .hero-platforms { gap: 16px; }
  .hero-platforms .platform { font-size: 0.7rem; }

  .service-item { grid-template-columns: 1fr; gap: 8px; }
  .service-number { display: none; }
  .service-arrow { display: none; }

  .process-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card:nth-child(2) { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============================================
   PREMIUM MICRO-INTERACTIONS
   ============================================ */

/* (Custom cursor removed) */

/* --- Scroll Progress Bar --- */
.fr-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--mint), rgba(168, 240, 212, 0.4));
  z-index: 10001;
  transition: width 0.1s linear;
  will-change: width;
}

/* --- Nav Link Underline Animation --- */
.nav-center a {
  position: relative;
  overflow: visible;
}

.nav-link-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-center a:hover .nav-link-underline {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Platform Logo Float Animation --- */
.platform-float {
  animation: platformFloat 4s ease-in-out infinite;
}

@keyframes platformFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* --- Floating Particles --- */
@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translate(15px, -20px) scale(1.2);
    opacity: 0.3;
  }
  50% {
    transform: translate(-10px, -35px) scale(0.8);
    opacity: 0.15;
  }
  75% {
    transform: translate(20px, -15px) scale(1.1);
    opacity: 0.25;
  }
}

/* --- Card Spotlight Effect --- */
.research-card,
.pricing-card,
.testimonial-card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  background-image: radial-gradient(
    300px circle at var(--spotlight-x) var(--spotlight-y),
    rgba(168, 240, 212, 0.04) 0%,
    transparent 100%
  );
  will-change: transform;
}

/* --- 3D Tilt ready — override hover transforms for tilt cards --- */
.research-card,
.pricing-card,
.testimonial-card,
.process-step {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease,
              box-shadow 0.5s ease;
}

/* --- Section Divider Lines --- */
.section-divider-line {
  position: absolute;
  top: 0;
  left: var(--side-pad);
  right: var(--side-pad);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 240, 212, 0.12), transparent);
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-divider-line.visible {
  transform: scaleX(1);
}

/* --- Text Shimmer on Headings --- */
.text-shimmer {
  background: linear-gradient(
    110deg,
    var(--white) 0%,
    var(--white) 40%,
    rgba(168, 240, 212, 0.6) 50%,
    var(--white) 60%,
    var(--white) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s ease-in-out infinite;
}

@keyframes textShimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

/* --- Stagger Grid Children --- */
.research-grid > *,
.pricing-grid > *,
.testimonials-grid > *,
.process-steps > *,
.about-values > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- Logo Breathing Animation --- */
.logo-breathe {
  animation: logoBreathe 3s ease-in-out infinite;
}

@keyframes logoBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.nav-logo:hover .logo-breathe {
  animation: logoFloat 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* --- Button Ripple Effect --- */
.btn {
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  animation: rippleExpand 0.7s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* --- Form Group Focus Animation --- */
.form-group {
  position: relative;
  transition: transform 0.3s ease;
}

.form-group-focused {
  transform: translateY(-2px);
}

.form-group-focused label {
  color: var(--mint) !important;
  transition: color 0.3s ease;
}

/* --- Section Active State --- */
.section-active {
  /* Enables any per-section transitions */
}

/* --- Service Row Enhanced Hover --- */
.service-item {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.service-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--mint);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:hover::before {
  width: 100%;
}

.service-item {
  position: relative;
}

/* --- Marquee Transition --- */
.marquee-track {
  transition: animation-duration 0.8s ease;
}

/* --- Page Load Animation --- */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.fr-loaded {
  opacity: 1;
}

/* --- Footer Social Hover Scale --- */
.footer-social a {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social a:hover {
  transform: scale(1.1) translateY(-2px);
}

/* --- Pricing Card Featured Glow Pulse --- */
.pricing-card.featured {
  animation: featuredGlow 3s ease-in-out infinite;
}

@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 240, 212, 0); }
  50% { box-shadow: 0 0 40px -10px rgba(168, 240, 212, 0.15); }
}

/* --- Research Tag Pulse --- */
.research-tag {
  transition: all 0.3s ease;
}

.research-card:hover .research-tag {
  background: rgba(168, 240, 212, 0.2);
  transform: translateY(-1px);
}

/* --- Promise Item Hover (Team Page) --- */
.promise-item {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.promise-item:hover {
  border-color: rgba(168, 240, 212, 0.15);
  transform: translateY(-3px);
  background: rgba(255,255,255,0.04);
}

.promise-item:hover .promise-number {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* (Experience card animations removed) */

/* --- CTA Section Animated Background --- */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: ctaShift 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaShift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -15px); }
}

/* --- Testimonial Quote Bounce --- */
.testimonial-card:hover .testimonial-quote {
  animation: quoteBounce 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes quoteBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* --- Smooth Global Transitions --- */
* {
  -webkit-tap-highlight-color: transparent;
}
