:root {
  --bg-color: #03040A;
  --surface-color: #09090E;
  --surface-hover: #111116;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;

  --accent-color: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #2563eb, #8b5cf6);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background effects */
.background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110vh;
  pointer-events: none;
  z-index: -1;
  background: url('assets/wave-bg.png') no-repeat;
  /* Anchor to bottom-left and aggressively scale height to steepen the rightward slope to the top border */
  background-position: left bottom;
  background-size: 100vw 130vh;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}


.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAVBAR (Premium Floating Glass) */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1280px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, background 0.3s ease;
}

.navbar.navbar-hidden {
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none;
}

.navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* SECTIONS */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.bg-subtle {
  background-color: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-header.flex-between {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
}

/* REVEAL ON SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* GRIDS */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

/* UTILS */
.mt-4 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 3rem;
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
  filter: brightness(1.1);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px) scale(1.02);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* Shimmer Effect for Buttons */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(25deg);
  transition: none;
}

.btn:hover::after {
  left: 150%;
  transition: all 0.6s ease;
}

/* HERO SECTION */
.hero-section {
  padding-top: clamp(80px, 10vh, 110px);
  padding-bottom: clamp(40px, 6vh, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-height: 100vh;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 90%;
}

.capability-line {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* HERO RIGHT SHOWCASE */
.hero-showcase {
  position: relative;
  animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.showcase-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--text-muted);
}

.showcase-card {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
  background: #0A0A0A;
  aspect-ratio: 16/9;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: scale(0.95);
}

.showcase-card.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: scale(1);
}

.showcase-card:hover {
  transform: scale(1.02);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
}

.showcase-card iframe,
.showcase-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
}

/* Dark Overlay on Video */
.video-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 2;
}

/* Glassmorphism Overlay Panel */
.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.showcase-text-block {
  max-width: 70%;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.showcase-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Pill Glass Button */
.btn-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-glass-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.showcase-card:hover .btn-glass-pill {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Product Toggle */
.product-toggle-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.product-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 100px;
  gap: 4px;
}

.toggle-btn {
  padding: 8px 24px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.toggle-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.toggle-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.showcase-container {
  position: relative;
  width: 100%;
  min-height: 300px;
  /* Base height to prevent jump */
}

/* LABEL PILL */
.label-small {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: #E4E4E7;
}

/* WHAT WE BUILD CARDS */
.service-card {
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--surface-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--surface-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  position: relative;
  text-decoration: none;
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.05));
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.service-card:hover .card-link {
  opacity: 1;
  transform: translateY(0);
}

/* PREMIUM INVINCIA METHOD SECTION */
/* PREMIUM INVINCIA METHOD SECTION */
.premium-method-section {
  padding: 100px 0;
  background: radial-gradient(circle at center top, rgba(37, 99, 235, 0.05), transparent 60%);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-header {
  margin: 0 auto 3.5rem;
  max-width: 650px;
  text-align: center;
}

.center-header .section-subtitle {
  margin: 0 auto;
}

.method-rows-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.method-row-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 2.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.method-row-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.method-row-card:hover {
  transform: translateX(8px);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
}

.method-row-card:hover::before {
  opacity: 1;
}

.method-row-badge {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 8px 16px;
  border-radius: 100px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.method-row-info {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}

.method-row-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF;
  min-width: 140px;
  margin: 0;
  letter-spacing: -0.01em;
}

.method-row-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* SPLIT SECTION & FEATURED PRODUCT (SOCO CARD REDESIGN) */
.soco-section {
  background-color: var(--bg-color);
  padding: 60px 0;
  min-height: 80vh;
  /* Reduced from 100vh */
}

.soco-card {
  background-color: #9AD8DF;
  border-radius: 40px;
  padding: 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.soco-card .section-title {
  color: #0E2239;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: none;
  -webkit-text-fill-color: initial;
  margin-bottom: 1.25rem;
}

.soco-card .section-subtitle {
  color: #0E2239;
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 100%;
}

.soco-card .label-small {
  background: rgba(14, 34, 57, 0.05);
  color: #0E2239;
  border: 1px solid rgba(14, 34, 57, 0.1);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Feature Mockup Inside Card */
.mockup-wrapper {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-container {
  width: 100%;
  max-width: 380px;
  /* Increased for better visual presence */
  margin: 0 auto;
  background: none;
  /* Removes the black background */
  border: none;
  /* Removes the sharp border box */
  overflow: visible;
  /* Prevents cutting off the phone/shadow */
  box-shadow: none;
  /* Removes the container shadow */
}

.mockup-container img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  /* Overrides the 4/3 crop */
  object-fit: contain;
  /* Ensures the whole phone is visible */
  filter: drop-shadow(0 30px 60px rgba(14, 34, 57, 0.25));
  animation: socoFloat 5s ease-in-out infinite;
  display: block;
}

@keyframes socoFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Specific buttons for this card */
.soco-card .btn-primary {
  background: #0E2239;
  color: #fff;
}

.soco-card .btn-primary:hover {
  background: #fff;
  color: #0E2239;
}

.soco-card .btn-secondary {
  border-color: #0E2239;
  color: #0E2239;
}

.soco-card .btn-secondary:hover {
  background: rgba(14, 34, 57, 0.05);
}

@media (max-width: 1024px) {
  .soco-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 40px;
  }

  .soco-card .section-subtitle {
    margin: 0 auto 2rem;
  }

  .mockup-container {
    max-width: 280px;
    margin-top: 2rem;
  }
}

/* CURA FEATURED SECTION */
.cura-featured-section {
  background-color: var(--bg-color);
  padding: 80px 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh;
  width: 100%;
}

.cura-featured-section .container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
}

.cura-premium-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-radius: 40px;
  padding: 80px 50px 80px 70px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.cura-premium-card .section-title {
  color: #1e293b;
  background: none;
  -webkit-text-fill-color: initial;
}

.cura-premium-card .section-subtitle {
  color: #64748b;
}

.cura-premium-card .label-small {
  background: rgba(37, 99, 235, 0.05);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.cura-premium-card .btn-primary {
  background: #1e293b;
  border: none;
}

.cura-premium-card .btn-primary:hover {
  background: #0f172a;
}

.cura-premium-card .mockup-container {
  max-width: 550px !important;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
}

@media (max-width: 1024px) {
  .cura-premium-card {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
    gap: 3rem;
  }

  .cura-premium-card .mockup-container {
    max-width: 280px;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .soco-card {
    padding: 40px 24px;
    border-radius: 30px;
  }

  .soco-card .section-title {
    font-size: 2.25rem;
  }

  .product-toggle-wrapper {
    top: -3.5rem;
    max-width: 220px;
  }

  .toggle-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* CALL TO ACTION */
.cta-section {
  padding: 120px 0;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  clear: both;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  scroll-snap-align: end;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.brand-col .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  display: block;
}

.footer-desc {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* RESPONSIVE */
@media (max-width: 1024px) {

  .hero-section,
  .split-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .sidebar-sticky {
    position: relative;
    top: 0;
  }

  .method-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .feature-item {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .hero-content {
    align-items: center;
  }

  .capability-line {
    justify-content: center;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {

  /* Navbar Mobile Adjustment */
  .navbar {
    width: 95%;
    top: 1rem;
  }

  .nav-container {
    height: auto;
    padding: 0.75rem 1.25rem;
    flex-direction: column;
    gap: 1rem;
    border-radius: 24px;
  }

  .nav-links {
    gap: 1.25rem;
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }

  .logo {
    font-size: 1.1rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* mobile specific overrides */
  .hero-headline {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   CURA PAGE SAFEGUARDS & REFINEMENTS
   Ensures sections have height even if page-specific assets are slow
   ========================================================================== */

.hero,
.system-definition,
.golden-minutes,
.problem,
.how-it-works,
.safety-boundaries,
.partners-block {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  z-index: 1;
}



/* Frosted Glass Navbar for Cura Page Theme */
.page-template-page-cura-php .navbar {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
}

.page-template-page-cura-php .navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1) !important;
}

.page-template-page-cura-php .navbar .logo {
  color: #0F172A !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
}

.page-template-page-cura-php .navbar .nav-links a {
  color: #475569 !important;
  font-weight: 500 !important;
}

.page-template-page-cura-php .navbar .nav-links a:hover,
.page-template-page-cura-php .navbar .nav-links a.active {
  color: #2563EB !important;
  font-weight: 700 !important;
}

/* Fix for background persistence */
.background-base {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: -2;
}

/* Ensure Cura page remains light */
.page-template-page-cura-php .background-base {
  background: #fff;
}

/* --- PREMIUM AMBIENT GLOW EFFECTS & CARD STYLINGS --- */

/* Glow Bubbles Definition */
.glow-bubble {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  opacity: 0.45;
  z-index: 0;
}

.glow-blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 80%);
}

.glow-purple {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 80%);
}

/* What We Build Section Glowing Backdrops */
#services {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05), transparent 45%), radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05), transparent 45%);
  overflow: hidden;
}

#services .container {
  position: relative;
  z-index: 1;
}

/* Premium Timeline Background Adjustments */
#method {
  background: radial-gradient(circle at right top, rgba(37, 99, 235, 0.06), transparent 45%), radial-gradient(circle at left bottom, rgba(139, 92, 246, 0.05), transparent 45%) !important;
}

/* Premium Floating CTA Card */
.cta-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.06), transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6rem 4rem;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-glow-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.cta-card .section-title {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

.cta-card .section-subtitle {
  position: relative;
  z-index: 2;
  margin: 0 auto 2.5rem !important;
}

.cta-card .btn {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .method-row-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem 1.35rem;
  }

  .method-row-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .method-row-title {
    min-width: auto;
    font-size: 1.25rem;
  }

  .method-row-card:hover {
    transform: translateY(-4px);
  }

  .cta-card {
    padding: 3rem 1.5rem;
    border-radius: 24px;
  }

  .cta-glow-bubble {
    width: 280px;
    height: 280px;
  }

  .glow-bubble {
    width: 300px;
    height: 300px;
  }
}

height: 300px;
}
}

margin-right: 0.4rem;
flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.hero-headline {
  font-size: clamp(2rem, 6.5vw, 2.75rem);
}

.section-title {
  font-size: 1.85rem;
}

.cta-card {
  padding: 3rem 1.5rem;
  border-radius: 24px;
}

.cta-glow-bubble {
  width: 280px;
  height: 280px;
}
}

/* Small Mobile Devices (< 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }

  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cura-premium-card,
  .soco-card {
    padding: 30px 18px;
    border-radius: 28px;
  }

  .cura-premium-card .mockup-container,
  .soco-card .mockup-container {
    max-width: 240px !important;
  }

  .brand-col {
    grid-column: span 1;
    text-align: center;
  }

  .footer-col {
    text-align: center;
  }
}