/* ============================================
   CRAMMTEC GmbH - Premium Dark Theme
   Apple-inspired, bold effects
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #ff6900;
  --color-primary-dark: #e05e00;
  --color-primary-glow: rgba(255, 105, 0, 0.4);
  --color-black: #0a0a0a;
  --color-dark: #0f0f0f;
  --color-surface: #1c1c1e;
  --color-surface-light: #2c2c2e;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 105, 0, 0.3);
  --color-text: #e8e8e8;
  --color-text-muted: #999;
  --color-text-dim: #777;
  --color-white: #ffffff;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --nav-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(255, 105, 0, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

/* --- Splash Intro --- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity;
}

.splash-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.splash-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Scanning lines */
.splash-line {
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
  opacity: 0;
}

.splash-line-h {
  width: 0;
  height: 2px;
  top: 50%;
  left: -60px;
  box-shadow: 0 0 20px var(--color-primary), 0 0 40px rgba(255, 105, 0, 0.3);
  animation: splash-scan-h 0.8s 0.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-line-v {
  width: 2px;
  height: 0;
  left: 50%;
  top: -30px;
  box-shadow: 0 0 20px var(--color-primary), 0 0 40px rgba(255, 105, 0, 0.3);
  animation: splash-scan-v 0.6s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splash-scan-h {
  0% { opacity: 1; width: 0; }
  50% { opacity: 1; width: calc(100% + 120px); }
  100% { opacity: 0; width: calc(100% + 120px); }
}

@keyframes splash-scan-v {
  0% { opacity: 1; height: 0; }
  50% { opacity: 1; height: calc(100% + 60px); }
  100% { opacity: 0; height: calc(100% + 60px); }
}

/* Splash logo image */
.splash-img {
  width: clamp(220px, 55vw, 450px);
  height: auto;
  opacity: 0;
  transform: scale(0.6);
  filter: blur(12px) brightness(0.5);
  animation: splash-logo-in 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splash-logo-in {
  40% {
    opacity: 1;
    filter: blur(0) brightness(1.3);
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}

/* Tagline */
.splash-tagline {
  font-family: var(--font-main);
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0;
  transform: translateY(10px);
  animation: splash-tagline-in 0.8s 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splash-tagline-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Corner brackets */
.splash-logo::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: -8px;
  left: -12px;
  border-color: var(--color-primary);
  border-style: solid;
  border-width: 2px 0 0 2px;
  opacity: 0;
  animation: splash-corners 0.3s 1s ease forwards;
}

.splash-glitch {
  position: absolute;
  inset: -4px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 105, 0, 0.06) 50%, transparent 100%);
  animation: splash-glitch 2s 1.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes splash-corners {
  to { opacity: 0.5; }
}

@keyframes splash-glitch {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

/* Particles in splash */
.splash-particles {
  position: absolute;
  inset: -100px;
  pointer-events: none;
}

/* Phase 1: extras fade, logo pulses and lifts */
#splash.shrink .splash-tagline,
#splash.shrink .splash-line,
#splash.shrink .splash-particles,
#splash.shrink .splash-glitch,
#splash.shrink .splash-logo::before {
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

#splash.shrink .splash-img {
  animation: splash-exit 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splash-exit {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  40% {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(0) brightness(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1.15) translateY(-30px);
    filter: blur(6px) brightness(1.4);
  }
}

/* Phase 2: black background fades away, page reveals */
#splash.done {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Page reveal */
body.splash-active .navbar,
body.splash-active main,
body.splash-active footer {
  opacity: 0;
}

body.splash-reveal .navbar {
  opacity: 1;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.splash-reveal main {
  opacity: 1;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

body.splash-reveal footer {
  opacity: 1;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

@keyframes splash-particle {
  0% { opacity: 0; transform: scale(0); }
  30% { opacity: 1; transform: scale(1); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-40px) scale(0.5); }
}

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

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

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

/* --- Typography (Apple-scale) --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff9a44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-large {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.btn-primary::after {
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px var(--color-primary-glow);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-3px) scale(1.02);
}

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

.btn-dark:hover {
  background: #f0f0f0;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  border: 1px solid var(--color-border-hover);
}

.btn-ghost:hover {
  background: rgba(255, 105, 0, 0.1);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

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

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
}

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

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

.nav-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 2px;
}

.nav-logo .logo-text span {
  color: var(--color-primary);
}

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

.btn-faq {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 20px;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-faq:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 0 20px var(--color-primary-glow);
  transform: translateY(-1px);
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
  opacity: 0.5;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown a svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  opacity: 0.7;
  flex-shrink: 0;
}

.dropdown a:hover {
  background: rgba(255, 105, 0, 0.08);
  color: var(--color-white);
}

.dropdown a:hover svg {
  opacity: 1;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-black);
  overflow: hidden;
  padding: 120px 24px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-bg .orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-bg .orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 105, 0, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  animation-delay: -4s;
}

.hero-bg .orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 154, 68, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: -2s;
}

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

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 105, 0, 0.1);
  border: 1px solid rgba(255, 105, 0, 0.2);
  border-radius: 50px;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

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

.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 650px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse-down 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes pulse-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.6; }
}

/* --- Page Hero (Unterseiten) --- */
.page-hero {
  padding: 180px 24px 100px;
  text-align: center;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 105, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 20px auto 0;
  position: relative;
  font-size: 1.15rem;
}

.page-hero .page-hero-line {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 28px auto 0;
  border-radius: 2px;
  position: relative;
}

/* --- Sections --- */
.section {
  padding: 140px 0;
  position: relative;
}

.section-dark {
  background: var(--color-dark);
}

.section-surface {
  background: var(--color-surface);
}

.section-gradient {
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-surface) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header p {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.15rem;
  line-height: 1.7;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-label svg {
  width: 16px;
  height: 16px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border-hover) 50%, transparent 100%);
  margin: 0;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

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

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: all var(--transition-slow);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 105, 0, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(255, 105, 0, 0.12);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255, 105, 0, 0.12);
  border: 1px solid rgba(255, 105, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-primary);
  transition: all var(--transition);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card:hover .card-icon {
  background: rgba(255, 105, 0, 0.2);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 40px rgba(255, 105, 0, 0.25);
}

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

.card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 20px;
  transition: all var(--transition);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

/* Glassmorphism Card */
.card-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 105, 0, 0.25);
}

/* Highlight Card */
.card-highlight {
  background: linear-gradient(135deg, rgba(255, 105, 0, 0.08) 0%, var(--color-surface) 100%);
  border-color: rgba(255, 105, 0, 0.2);
}

.card-highlight:hover {
  background: linear-gradient(135deg, rgba(255, 105, 0, 0.14) 0%, var(--color-surface) 100%);
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.feature-grid.reverse {
  direction: rtl;
}

.feature-grid.reverse > * {
  direction: ltr;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--color-border);
}

.feature-image svg {
  width: 80px;
  height: 80px;
  color: var(--color-primary);
  opacity: 0.3;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 105, 0, 0.08) 0%, transparent 60%);
}

.feature-content h2 {
  margin-bottom: 20px;
}

.feature-content p {
  margin-bottom: 28px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.feature-list {
  margin-bottom: 36px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  color: var(--color-text);
  font-size: 1rem;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Bento Grid (Apple-style mixed layout) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}

.bento-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.bento-item:hover {
  border-color: var(--color-border-hover);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 105, 0, 0.08);
}

.bento-item.span-2 {
  grid-column: span 2;
}

.bento-item.span-row-2 {
  grid-row: span 2;
}

.bento-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  opacity: 0.4;
  transition: all var(--transition);
}

.bento-item:hover .bento-icon {
  opacity: 0.9;
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 0 20px rgba(255, 105, 0, 0.3));
}

.bento-item h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.bento-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Marquee / Scroll Strip --- */
.marquee {
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: color 0.5s ease;
}

.marquee-item:hover {
  color: rgba(255, 105, 0, 0.2);
}

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

/* --- Testimonials --- */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.testimonial-card .quote-icon {
  color: var(--color-primary);
  opacity: 0.3;
  margin-bottom: 24px;
}

.testimonial-card .quote-icon svg {
  width: 40px;
  height: 40px;
}

.testimonial-card .quote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 28px;
  line-height: 1.8;
  font-weight: 400;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.05rem;
}

.testimonial-card .author-role {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

.testimonial-stars {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 105, 0, 0.1);
}

.stat-item h3 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 105, 0, 0.08) 0%, transparent 60%);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 20px;
  position: relative;
}

.cta-section p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  position: relative;
}

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

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.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: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 105, 0, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 105, 0, 0.1), 0 0 20px rgba(255, 105, 0, 0.05);
}

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

.form-group select option {
  background: #1a1a1a;
  color: var(--color-text);
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 105, 0, 0.08);
  border: 1px solid rgba(255, 105, 0, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-info-item .icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-dim);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-info-item p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--color-text);
  font-size: 1rem;
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.blog-card-image {
  height: 220px;
  background: var(--color-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  opacity: 0.3;
}

.blog-card-body {
  padding: 32px;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

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

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- Process / Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 105, 0, 0.18);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
  background: #0c0c0c;
  border-top: 1px solid var(--color-border);
  color: rgba(255, 255, 255, 0.6);
  padding: 100px 0 40px;
}

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

.footer h4 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

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

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--color-text-muted);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.footer-bottom a {
  color: var(--color-text-dim);
  transition: color var(--transition);
}

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

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(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.visible {
  opacity: 1;
  transform: translateY(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.visible {
  opacity: 1;
  transform: scale(1);
}

.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.visible {
  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.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Backwards compat: old class name */
.fade-in {
  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);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Image Sections --- */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.feature-image img,
.bento-item img,
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.feature-image:hover img,
.bento-item:hover img,
.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.feature-image.has-img,
.bento-item.has-img {
  background: none;
}

.feature-image.has-img::after {
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.bento-item.has-img {
  background: none;
}

.bento-item.has-img img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bento-item.has-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.bento-item.has-img > * {
  position: relative;
  z-index: 2;
}

.bento-item.has-img .bento-icon {
  z-index: 2;
}

/* Full-width image section */
.img-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.img-section img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
  left: 0;
}

.img-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-black) 0%, transparent 30%, transparent 70%, var(--color-black) 100%);
}

.img-section .img-section-content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
}

/* Parallax image */
.parallax-img {
  will-change: transform;
}

/* Image card with overlay text */
.img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

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

.img-card .img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background var(--transition);
}

.img-card:hover .img-card-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.9) 100%);
}

.img-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.img-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Image gallery grid */
.img-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.img-gallery .img-card:first-child {
  grid-row: span 2;
}

/* --- Scroll-linked parallax --- */
.scroll-parallax {
  will-change: transform;
}

/* Text split reveal */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.visible .text-reveal-inner {
  transform: translateY(0);
}

/* Horizontal scroll section */
.h-scroll-section {
  overflow: hidden;
  padding: 100px 0;
}

.h-scroll-track {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  will-change: transform;
}

.h-scroll-track .card {
  min-width: 380px;
  flex-shrink: 0;
}

/* Scale on scroll */
.scroll-scale {
  will-change: transform;
}

/* Rotate on scroll */
.scroll-rotate {
  will-change: transform;
}

/* Blur reveal */
.blur-reveal {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(40px);
  transition: opacity 1s ease, filter 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Clip reveal (wipe effect) */
.clip-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.clip-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* Counter grow bar */
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar-fill.visible {
  width: var(--progress, 80%);
}

/* Sticky section (pin while scrolling) */
.sticky-section {
  position: sticky;
  top: var(--nav-height);
}

/* --- FAQ Table of Contents --- */
.faq-toc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 100px;
}

.faq-toc a {
  display: block;
  padding: 18px 0;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  position: relative;
}

.faq-toc a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.faq-toc a:hover {
  color: var(--color-white);
}

.faq-toc a:hover::after {
  width: 100%;
}

/* --- FAQ Categories --- */
.faq-category {
  margin-bottom: 120px;
  scroll-margin-top: 120px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-category-header h3 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.faq-category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 105, 0, 0.08);
  border: 1px solid rgba(255, 105, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-category-icon svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .faq-toc {
    gap: 10px;
    margin-bottom: 64px;
  }

  .faq-toc a {
    padding: 14px 0;
    font-size: 0.95rem;
  }

  .faq-category {
    margin-bottom: 80px;
  }

  .faq-category-header {
    margin-bottom: 32px;
  }

  .faq-category-header h3 {
    font-size: 1.3rem;
    gap: 10px;
  }

  .faq-category-icon {
    width: 36px;
    height: 36px;
  }

  .faq-category-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* --- Glow line decorations --- */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
  opacity: 0.3;
}

.glow-line-vertical {
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
  opacity: 0.3;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 1px solid var(--color-border);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-faq {
    margin-right: auto;
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 16px 0;
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0 0 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-item.open .dropdown {
    max-height: 500px;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 0;
  }

  .dropdown a:hover {
    color: var(--color-primary);
    background: transparent;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-grid.reverse {
    direction: ltr;
  }

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

  .bento-item.span-2 {
    grid-column: span 1;
  }

  .img-gallery {
    grid-template-columns: 1fr;
  }

  .img-gallery .img-card:first-child {
    grid-row: span 1;
  }

  .h-scroll-track .card {
    min-width: 300px;
  }

  .img-section {
    height: 50vh;
    min-height: 350px;
  }

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

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

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

  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

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

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

  .hero {
    padding: 140px 20px 80px;
  }

  .page-hero {
    padding: 140px 20px 60px;
  }

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

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}
