/* ============================================
   FINXPAT - Premium Wealth-Tech Design System
   ============================================ */

:root {
  /* Deep Ocean Wealth palette */
  --color-bg: #0a0e1a;
  --color-bg-secondary: #0f1524;
  --color-bg-elevated: #161d30;
  --color-surface: #1a2236;
  --color-border: rgba(212, 175, 55, 0.15);
  --color-border-strong: rgba(212, 175, 55, 0.35);
  --color-gold: #d4af37;
  --color-gold-light: #e8c870;
  --color-gold-soft: rgba(212, 175, 55, 0.08);
  --color-text: #f4f1e8;
  --color-text-muted: #8a93a8;
  --color-text-dim: #5a6378;
  --color-accent: #5eead4;
  --color-danger: #ef4444;
  --color-success: #10b981;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4a1 50%, #d4af37 100%);
  --gradient-dark: linear-gradient(180deg, #0a0e1a 0%, #161d30 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15), transparent 60%);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --container-max: 1280px;
  --section-padding: clamp(4rem, 10vw, 8rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.nav.scrolled {
  padding: 0.875rem 2rem;
  background: rgba(10, 14, 26, 0.95);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

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

.logo:hover .logo-mark {
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.7));
  transform: rotate(15deg);
}

.logo-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-text-fin {
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
}

.logo-text-x {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.logo-text-pat {
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
  font-weight: 600;
}

/* Footer Logo - bigger, more prominent */
.footer .logo-mark {
  width: 48px;
  height: 48px;
}
.footer .logo-text {
  font-size: 1.6rem;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.7rem 1.4rem;
  background: var(--gradient-gold);
  color: var(--color-bg) !important;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  color: var(--color-bg) !important;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

@media (max-width: 968px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

/* ============================================
   HERO SECTION - 3D Effects
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(94, 234, 212, 0.05), transparent 60%);
}

/* Animated 3D Background Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4), transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.25), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
}

@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); }
}

/* Grid Background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-container { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 100px;
  background: var(--color-gold-soft);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeUp 0.8s ease-out;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeUp 1s ease-out 0.1s backwards;
}

.hero h1 em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero p.lead {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.7;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.3s backwards;
}

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

/* Buttons */
.btn {
  padding: 1rem 1.8rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-bg);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn-secondary:hover {
  background: var(--color-gold-soft);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s;
}

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

/* Hero Visual - 3D Card Stack */
.hero-visual {
  position: relative;
  height: 580px;
  perspective: 1500px;
  animation: fadeUp 1.2s ease-out 0.4s backwards;
}

.card-3d {
  position: absolute;
  border-radius: 24px;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(26, 34, 54, 0.95), rgba(15, 21, 36, 0.95));
  border: 1px solid var(--color-border-strong);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-3d-1 {
  width: 320px;
  top: 40px;
  left: 0;
  transform: rotateY(-15deg) rotateX(8deg) translateZ(40px);
  animation: floatCard 6s ease-in-out infinite;
}

.card-3d-2 {
  width: 280px;
  top: 200px;
  right: 0;
  transform: rotateY(12deg) rotateX(-5deg) translateZ(20px);
  animation: floatCard 6s ease-in-out infinite 1.5s;
}

.card-3d-3 {
  width: 240px;
  bottom: 30px;
  left: 80px;
  transform: rotateY(-8deg) rotateX(10deg) translateZ(60px);
  animation: floatCard 6s ease-in-out infinite 3s;
}

@keyframes floatCard {
  0%, 100% { transform: rotateY(-15deg) rotateX(8deg) translateZ(40px) translateY(0); }
  50% { transform: rotateY(-12deg) rotateX(6deg) translateZ(40px) translateY(-15px); }
}

.card-3d-2 { animation-name: floatCard2; }
@keyframes floatCard2 {
  0%, 100% { transform: rotateY(12deg) rotateX(-5deg) translateZ(20px) translateY(0); }
  50% { transform: rotateY(15deg) rotateX(-3deg) translateZ(20px) translateY(-12px); }
}

.card-3d-3 { animation-name: floatCard3; }
@keyframes floatCard3 {
  0%, 100% { transform: rotateY(-8deg) rotateX(10deg) translateZ(60px) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(8deg) translateZ(60px) translateY(-10px); }
}

.card-3d-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-dim);
  margin-bottom: 0.5rem;
}

.card-3d-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.card-3d-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--color-success);
  font-weight: 500;
}

.card-3d-chart {
  margin-top: 1rem;
  height: 60px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.card-3d-bar {
  flex: 1;
  background: var(--gradient-gold);
  border-radius: 2px;
  opacity: 0.7;
  animation: barGrow 1.5s ease-out;
}

@keyframes barGrow {
  from { height: 0 !important; }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 1s ease-out 1s backwards;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================
   SECTIONS - General
   ============================================ */
.section {
  position: relative;
  padding: var(--section-padding) 2rem;
  z-index: 2;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--color-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .stat-item:not(:last-child)::after { display: none; }
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-gold-soft);
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: rotate(-5deg) scale(1.1);
  background: var(--gradient-gold);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gold);
  transition: stroke 0.3s;
}

.service-card:hover .service-icon svg { stroke: var(--color-bg); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.service-link {
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
  transition: gap 0.3s;
}

.service-card:hover .service-link {
  gap: 0.8rem;
}

/* ============================================
   PROCESS / NUMBERED STEPS
   ============================================ */
.process {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 3rem 2rem 2rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: all 0.4s;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.process-number {
  position: absolute;
  top: -30px;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  opacity: 0.9;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

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

.process-step-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gold-soft);
  border: 1px solid var(--color-border-strong);
  margin-bottom: 1rem;
}

.process-step-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold);
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator-section {
  background: var(--color-bg-secondary);
}

.calculator {
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-surface));
  border: 1px solid var(--color-border-strong);
  border-radius: 28px;
  padding: 3rem;
  margin-top: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.calculator::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
}

.calc-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
  padding-bottom: 0;
  flex-wrap: wrap;
}

.calc-tab {
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.calc-tab.active {
  color: var(--color-gold);
}

.calc-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
}

.calc-tab:hover { color: var(--color-text); }
.calc-tab.active:hover { color: var(--color-gold); }

.calc-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 968px) {
  .calc-content { grid-template-columns: 1fr; }
  .calculator { padding: 2rem 1.5rem; }
}

.calc-inputs h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calc-inputs > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.input-group label span {
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.input-group input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--color-bg);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--gradient-gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  transition: transform 0.2s;
  border: 2px solid var(--color-bg);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

.input-group input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--color-gold);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.input-group select,
.input-group input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.input-group select:focus,
.input-group input:focus { border-color: var(--color-gold); }

.calc-results {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.calc-results::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 60%);
  pointer-events: none;
}

.calc-result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.calc-result-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}

.calc-result-sub {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.calc-breakdown-row span:first-child { color: var(--color-text-muted); }
.calc-breakdown-row span:last-child { color: var(--color-text); font-weight: 600; font-family: var(--font-mono); }

.calc-cta {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-bg-elevated);
}

.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-track { background: var(--color-bg-elevated); border-radius: 3px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 3px; }

.testimonial-card {
  flex: 0 0 380px;
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  scroll-snap-align: start;
  transition: transform 0.4s, border-color 0.4s;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-strong);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
  overflow: hidden;
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-surface));
  border: 1px solid var(--color-border-strong);
  border-radius: 32px;
  padding: clamp(3rem, 8vw, 5rem);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-gold), transparent, var(--color-gold));
  border-radius: 32px;
  opacity: 0.3;
  z-index: -1;
}

.cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(94, 234, 212, 0.1), transparent 50%);
  pointer-events: none;
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-box h2 em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-box p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 5rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

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

.footer-social a:hover svg { stroke: var(--color-bg); }

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-text-muted);
  transition: stroke 0.3s;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--color-gold); }

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--color-bg-elevated);
  transition: border-color 0.3s;
}

.faq-item.open { border-color: var(--color-border-strong); }

.faq-question {
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  width: 100%;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--color-gold); }

.faq-toggle svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-gold);
  transition: stroke 0.3s;
}

.faq-item.open .faq-toggle svg { stroke: var(--color-bg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   ANIMATIONS - SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
  padding: 10rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08), transparent 60%);
}

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

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

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--color-gold); }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.page-hero h1 em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ============================================
   FEATURE LIST (Subpages)
   ============================================ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  padding: 2rem;
  border-radius: 16px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.feature-item:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
}

.feature-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-check svg { width: 16px; height: 16px; stroke: var(--color-gold); }

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   TWO COLUMN (Subpages)
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

.two-col img {
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.prose h2 em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prose p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.prose ul {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  background: var(--color-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg-elevated);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--color-border-strong);
  position: relative;
}

@media (max-width: 768px) {
  .contact-form { padding: 2rem 1.5rem; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-gold);
}

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

/* Image Card with hover (about page team) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-6px);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--color-gold);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-surface));
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.pricing-card.featured::before {
  content: 'Beliebt';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--color-bg);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: bold;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-bg-secondary);
  z-index: 200;
  padding: 5rem 2rem 2rem;
  transition: right 0.4s ease;
  border-left: 1px solid var(--color-border);
}

.mobile-menu.open { right: 0; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  font-size: 1.2rem;
  color: var(--color-text);
}

.mobile-menu .btn {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.blog-image {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.blog-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,14,26,0.6) 100%);
}

.blog-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.blog-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.4;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-readmore {
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  align-self: flex-start;
  position: relative;
}

.blog-readmore::after {
  content: ' →';
  transition: transform 0.3s;
  display: inline-block;
}

.blog-card:hover .blog-readmore::after {
  transform: translateX(4px);
}

/* Map placeholder */
.map-placeholder {
  aspect-ratio: 16/9;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
}

.map-pin {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-bg);
  position: relative;
  z-index: 2;
  animation: pin-pulse 2s ease-in-out infinite;
}

@keyframes pin-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(212,175,55,0); }
}

.map-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text);
}

.map-sub {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Contact info card */
.contact-info {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
}

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

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

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212,175,55,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-info-value a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-info-value a:hover { color: var(--color-gold); }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 100px;
  padding: 3px;
  margin-left: 1rem;
  font-family: 'Inter', sans-serif;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--gradient-gold);
  color: var(--color-dark);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

/* Mobile menu lang switcher */
.mobile-menu .lang-switcher {
  margin: 1.5rem auto 0;
  display: inline-flex;
}

/* Hide content based on active language */
html[lang="en"] [data-lang="de"],
html[lang="de"] [data-lang="en"] {
  display: none !important;
}

/* For inline text that needs switching */
html[lang="en"] .lang-de,
html[lang="de"] .lang-en {
  display: none !important;
}

/* Smooth transition when switching */
[data-lang] {
  animation: langFade 0.3s ease;
}

@keyframes langFade {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive: smaller switcher on mobile */
@media (max-width: 768px) {
  .nav .lang-switcher {
    margin-left: 0.5rem;
    padding: 2px;
  }
  .nav .lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  .nav .lang-flag {
    font-size: 0.85rem;
  }
}
