/* ===== SURPLUSIFY - Professional Redesign ===== */

/* --- Local Fonts --- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'League Spartan';
  src: url('../fonts/LeagueSpartan-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --primary: #0151A0;
  --primary-dark: #003d7a;
  --primary-light: #e8f1fa;
  --accent: #0073e6;
  --dark: #0a0a1a;
  --text: #2c2c3e;
  --text-light: #5a5a72;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --border: #dde4ed;
  --gradient-hero: linear-gradient(135deg, #0151A0 0%, #003366 50%, #001a33 100%);
  --gradient-section: linear-gradient(180deg, #f7f9fc 0%, #e8f1fa 100%);
  --shadow-sm: 0 2px 8px rgba(1, 81, 160, 0.08);
  --shadow-md: 0 8px 32px rgba(1, 81, 160, 0.12);
  --shadow-lg: 0 16px 48px rgba(1, 81, 160, 0.16);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

/* --- Typography --- */
h1, h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
}

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

.section-padding {
  padding: 100px 0;
}

/* --- Scroll Animation Classes --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

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

/* --- Hero Entrance Animations --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideFromLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroSlideFromRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroDriftRight {
  from { transform: translateX(0); }
  to { transform: translateX(80px); }
}

@keyframes heroDriftLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-80px); }
}

@keyframes heroScaleIn {
  from { opacity: 0; transform: scale(0.6) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.hero-animate {
  opacity: 0;
}

.hero-animate.animate-in {
  animation-fill-mode: forwards;
}

.hero h1.animate-in {
  opacity: 1;
}

.hero h1.animate-in .hero-line {
  opacity: 0;
}

.hero h1.animate-in .hero-line-1 {
  animation: heroSlideFromLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero h1.animate-in .hero-line-2 {
  animation: heroSlideFromRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero h1.animate-in .hero-line-3 {
  animation: heroSlideFromLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-line-inner {
  display: inline-block;
}

.hero h1.animate-in .hero-line-1 .hero-line-inner {
  animation: heroDriftRight 35s ease-out 1s forwards;
}

.hero h1.animate-in .hero-line-2 .hero-line-inner {
  animation: heroDriftLeft 35s ease-out 1.2s forwards;
}

.hero-subtitle.animate-in {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-cta-group.animate-in {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.hero-visual.animate-in {
  animation: heroScaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-left: 100px;
}

.nav-logo-img {
  height: 24px;
  width: auto;
}

.nav-logo-white {
  display: block;
}

.nav-logo-black {
  display: none;
}

.navbar.scrolled .nav-logo-white {
  display: none;
}

.navbar.scrolled .nav-logo-black {
  display: block;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition);
}

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

.navbar.scrolled .nav-links a {
  color: var(--text);
}

.navbar.scrolled .nav-links a::after {
  background: var(--primary);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 7px 24px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--white) !important;
  border: 2.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.4s ease !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background-size: 200% 100% !important;
  background-image: linear-gradient(to left, rgba(255,255,255,0.06) 50%, var(--white) 50%) !important;
  background-position: right !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-position: left !important;
  color: var(--primary) !important;
  border-color: var(--white) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

.navbar.scrolled .nav-cta {
  background-image: linear-gradient(to left, rgba(1,81,160,0.1) 50%, var(--primary) 50%) !important;
  background-position: right !important;
  color: var(--primary) !important;
  border-color: rgba(1, 81, 160, 0.3) !important;
}

.navbar.scrolled .nav-cta:hover {
  background-position: left !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.navbar.scrolled .menu-toggle span {
  background: var(--dark);
}

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

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

.menu-toggle.open span {
  background: var(--white) !important;
}

/* When mobile menu is open, disable backdrop-filter so it doesn't
   create a containing block that breaks fixed-position overlay */
.navbar.menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.menu-open {
  overflow: hidden;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}


/* --- Tagline Section --- */
.tagline-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tagline-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 48px 60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.tagline-section .tagline-blue {
  color: #60b4ff;
  font-weight: 700;
}

.tagline-section .tagline-bold {
  color: var(--white);
  font-weight: 700;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.hero-content {
  color: var(--white);
  position: relative;
  z-index: 2;
  margin-top: -180px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.0;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-line-1 {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.hero-line-2 {
  font-weight: 500;
  padding-left: 1em;
}

.hero-line-3 {
  font-weight: 900;
  position: relative;
  z-index: 2;
  margin-top: -0.3em;
}

.hero h1 .accent {
  font-family: 'Calistoga', serif;
  font-weight: 400;
  display: inline;
  text-shadow:
    0 0 20px rgba(96, 180, 255, 0.7),
    0 0 40px rgba(96, 180, 255, 0.5),
    0 0 80px rgba(96, 180, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 76px;
  margin-bottom: 32px;
  line-height: 1.7;
  text-align: left;
}

.hero-cta-group {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  font-size: 1.1rem;
  padding: 11px 38px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin-left: -100px;
}

.hero-logo-container {
  position: relative;
  width: 1020px;
  height: 1020px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  margin-top: 100px;
}

.hero-logo-container > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(96, 180, 255, 0.35))
          drop-shadow(0 30px 80px rgba(0, 0, 0, 0.2));
  transition: transform 0.15s ease-out;
  will-change: transform;
  animation: butterflyIdle 8s ease-in-out infinite;
}

@keyframes butterflyIdle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-8px) rotate(2deg);
  }
  66% {
    transform: translateY(4px) rotate(-1.5deg);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 34px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.btn-blue {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(1, 81, 160, 0.3);
}

.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(1, 81, 160, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: none;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  color: #60b4ff;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform 0.3s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Dark Band (wraps Info + Process + Notifications) --- */
.dark-band {
  background: linear-gradient(to top, #0151A0 0%, #003366 50%, #001a33 100%);
  position: relative;
  overflow: hidden;
}

.dark-band::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  pointer-events: none;
}

/* --- Info Section (Interactive Slideshow) --- */
.info-section {
  position: relative;
}

.info-section .container {
  position: relative;
  z-index: 1;
}

.info-header {
  text-align: center;
  margin-bottom: 60px;
}

.info-header .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
}

.info-header h2 {
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  line-height: 1.5;
}

.info-header h2 strong {
  font-weight: 700;
  color: var(--white);
}

/* Slideshow */
.slideshow {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid #60b4ff;
}

.slide {
  display: none;
  animation: slideFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-image {
  position: relative;
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide:hover .slide-image img {
  transform: scale(1.03);
}

.slide-image .slide-number {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.slide-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-content h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.5rem;
  line-height: 1.35;
}

.slide-content p {
  margin-bottom: 16px;
}

.slide-content .btn {
  align-self: flex-start;
  margin-top: 20px;
}

/* Slideshow controls */
.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.slide-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.slide-dots {
  display: flex;
  gap: 10px;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.slide-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.slide-counter {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --- Process Section --- */
.process-section {
  position: relative;
}

.process-section .container {
  position: relative;
  z-index: 2;
}

.process-header {
  text-align: center;
  margin-bottom: 70px;
  color: var(--white);
}

.process-header .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #60b4ff;
  margin-bottom: 16px;
}

.process-header h2 {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 16px;
  font-size: clamp(3.5rem, 8vw, 6rem);
}

.process-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Timeline layout */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, rgba(96, 180, 255, 0.1), rgba(96, 180, 255, 0.4), rgba(96, 180, 255, 0.4), rgba(96, 180, 255, 0.1));
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: -48px;
  position: relative;
}

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

.timeline-left {
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
}

.timeline-right {
  justify-content: flex-start;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 4px;
  background: #60b4ff;
  border: none;
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 0 12px rgba(96, 180, 255, 0.4);
}

.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 28px;
  background: rgba(96, 180, 255, 0.4);
}

.timeline-left .timeline-dot::before {
  right: 100%;
}

.timeline-right .timeline-dot::before {
  left: 100%;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  max-width: 380px;
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.timeline-num {
  position: absolute;
  top: -14px;
  width: 32px;
  height: 32px;
  background: #60b4ff;
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.timeline-left .timeline-num {
  right: 20px;
}

.timeline-right .timeline-num {
  left: 20px;
}

.timeline-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(96, 180, 255, 0.15);
  border: 2px solid rgba(96, 180, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.timeline-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Process closing */
.process-closing {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-closing p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.process-closing p strong {
  font-weight: 700;
  color: var(--white);
}

/* --- Notification & Notarize Cards Section --- */
.notify-section {
  position: relative;
}

.notify-section .container {
  position: relative;
  z-index: 2;
}

.notify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.notify-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.notify-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
}

.notify-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(96, 180, 255, 0.15);
  border: 2px solid rgba(96, 180, 255, 0.3);
  color: #60b4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.notify-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--white);
}

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

/* --- County Section --- */
.county-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.county-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.county-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

.county-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.county-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(96, 180, 255, 0.15);
  border: 2px solid rgba(96, 180, 255, 0.3);
  color: #60b4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.county-content h2 {
  color: var(--white);
  margin-bottom: 24px;
  white-space: nowrap;
  text-align: center;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.county-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 20px;
}

.county-content p:last-of-type {
  margin-bottom: 36px;
}

.county-content .btn {
  margin-top: 8px;
}

/* --- Why Surplusify Section --- */
.why-section {
  background: var(--white);
  position: relative;
}

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

.why-image {
  position: relative;
}

.why-image img {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(1, 81, 160, 0.15));
  transform: rotate(45deg);
}

.why-image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: var(--primary-light);
  border-radius: 50%;
  z-index: -1;
}

.why-content h2 {
  margin-bottom: 12px;
}

.why-content h2 .italic {
  font-style: italic;
  color: var(--primary);
}

.why-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

.why-subtitle strong {
  color: var(--text);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(8px);
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.why-feature h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.why-feature p {
  font-size: 0.92rem;
  margin: 0;
}

/* --- Features Cards Section --- */
.features-section {
  background: var(--gradient-section);
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-header .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--white);
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  color: var(--dark);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-blue {
  font-size: 1.1rem;
  padding: 11px 40px;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-brand h3 {
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Contact Page --- */
.contact-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  text-align: center;
  color: var(--white);
}

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

.contact-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding: 40px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail p {
  margin: 0;
  line-height: 1.6;
}

.contact-detail h4 {
  margin: 0 0 2px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero-content {
    order: 2;
    margin-top: 0;
  }

  .hero-visual {
    order: 1;
    margin-left: 0;
    margin-top: 24px;
  }

  .hero h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-line {
    text-align: center;
  }

  .hero-line-2 {
    padding-left: 0 !important;
  }

  .hero-line-3 {
    font-size: clamp(7.5rem, 30vw, 12rem) !important;
    margin-top: -0.15em;
    line-height: 0.75;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 96px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-logo-container {
    width: 280px;
    height: 280px;
    margin-top: -60px;
  }

  .hero h1.animate-in .hero-line-1 .hero-line-inner,
  .hero h1.animate-in .hero-line-2 .hero-line-inner,
  .hero h1.animate-in .hero-line-3 .hero-line-inner {
    animation: none !important;
    transform: none !important;
  }

  .slide.active {
    grid-template-columns: 1fr;
  }

  .slide-image {
    max-height: 300px;
  }

  .process-timeline {
    padding: 10px 0;
  }

  .timeline-line {
    left: 24px;
  }

  .timeline-step {
    margin-bottom: 30px;
  }

  .timeline-left,
  .timeline-right {
    justify-content: flex-start;
    padding-left: 68px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 24px;
  }

  .timeline-content {
    max-width: 100%;
  }

  .timeline-left .timeline-num,
  .timeline-right .timeline-num {
    left: 20px;
    right: auto;
  }

  .notify-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .why-image {
    order: -1;
  }

  .why-image img {
    max-width: 300px;
  }

  .why-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .county-content h2 {
    white-space: normal;
    width: auto;
    margin-left: 0;
    transform: none;
    font-size: clamp(2.2rem, 6vw, 3rem);
    text-align: center;
  }

  .mobile-break {
    display: inline;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

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

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

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

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
    padding: 0 24px;
  }

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

  .nav-links a {
    font-size: 1.3rem;
    color: var(--white) !important;
  }

  .nav-links li:last-child {
    display: none;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.open {
    position: fixed;
    top: 20px;
    right: 24px;
  }

  .hero {
    min-height: 100vh;
    padding: 60px 0 40px;
  }

  .hero-logo-container {
    width: 220px;
    height: 220px;
  }

  .hero-visual {
    margin-left: 0;
  }

  .nav-logo {
    margin-left: 0;
  }

  .tagline-section {
    padding: 40px 0;
  }

  .tagline-section h2 {
    padding: 32px 24px;
  }

  .slide-content {
    padding: 30px;
  }

  .slideshow-controls {
    padding: 20px;
  }

  .contact-hero {
    padding: 120px 0 60px;
  }

  .contact-hero h1 {
    margin-bottom: 40px;
  }

  .contact-hero p {
    font-size: 1rem;
  }
}

/* --- Utility --- */
.mobile-break { display: none; }

.calistoga { font-family: 'Calistoga', serif; }
.calistoga-primary { font-family: 'Calistoga', serif; color: var(--primary); }
.fw-light { font-weight: 300; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0; }
