/* =============================================
   IBACH-IT — Professional Dark Design System
   Version 2.0 — March 2026
   ============================================= */

/* ── Fonts ── */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@600,700&f[]=satoshi@400,500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --bg-primary:      #0d1117;
  --bg-surface:      #161b22;
  --bg-elevated:     #21262d;
  --bg-hover:        #292e36;
  --border:          #30363d;
  --border-light:    #3d444d;

  --text-primary:    #f0f0f0;
  --text-secondary:  #8b949e;
  --text-muted:      #484f58;

  --accent:          #00b4c8;
  --accent-hover:    #00d4e8;
  --accent-glow:     rgba(0, 180, 200, 0.15);
  --accent-glow-strong: rgba(0, 180, 200, 0.3);
  --accent-bg:       #0d2d32;

  --success:         #3fb950;
  --error:           #f85149;
  --warning:         #d29922;

  /* Typography */
  --font-heading:    'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:       'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding:  100px 0;
  --container-width:  1200px;
  --card-radius:      16px;
  --btn-radius:       12px;

  /* Transitions */
  --transition:       0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent-hover);
}

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

/* ── Matrix Canvas ── */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.07;
  pointer-events: none;
}

/* ── Container ── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

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

.text-accent {
  color: var(--accent);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #009db0);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow-strong);
  color: #fff;
}

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

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

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid rgba(0, 180, 200, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.badge-new {
  background: linear-gradient(135deg, var(--accent), #009db0);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  padding: 4px 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Header / Navigation ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(13, 17, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-links a.nav-highlight {
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(0, 180, 200, 0.2);
}

.nav-links a.nav-highlight:hover {
  background: rgba(0, 180, 200, 0.2);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border: none;
  background: none;
  gap: 6px;
  padding: 0;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* Mobile Drawer */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: 1000;
  padding: 80px 24px 24px;
  transition: right var(--transition);
  overflow-y: auto;
}

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

.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 12px;
  transition: all var(--transition);
  text-decoration: none;
  margin-bottom: 4px;
}

.nav-drawer a:hover,
.nav-drawer a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-drawer a.nav-highlight {
  color: var(--accent);
  background: var(--accent-bg);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* ── Sections ── */
.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section-sm {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 80px 0 60px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  z-index: 2;
}

.hero-content .badge {
  margin-bottom: 24px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content h1 .accent-word {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 520px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-logo-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px var(--accent-glow));
  animation: float 6s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-logo-wrapper {
    width: 250px;
    height: 250px;
  }
}

/* ── Cards ── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.card-highlight {
  border-color: rgba(0, 180, 200, 0.3);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(0, 180, 200, 0.05) 100%);
}

.card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border: 1px solid rgba(0, 180, 200, 0.15);
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 10px;
}

/* Two-column card grid */
.cards-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .cards-duo {
    grid-template-columns: 1fr;
  }
}

/* Service card grid (2x3) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Bento Grid (for KI-Agenten use cases) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-grid .card {
  padding: 28px;
}

.bento-grid .card .ideal-for {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--border), var(--accent));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

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

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

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 39px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process-step {
    text-align: left;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: start;
  }
  .step-number {
    margin: 0;
  }
}

/* ── 5-Step Timeline ── */
.timeline {
  display: flex;
  gap: 0;
  position: relative;
  margin: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.timeline-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  box-shadow: 0 0 24px var(--accent-glow);
  transition: all var(--transition);
}

.timeline-step:hover .timeline-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

.timeline-step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    gap: 24px;
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 35px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .timeline-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    text-align: left;
  }
  .timeline-icon {
    margin: 0;
  }
}

/* ── Trust Signals ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--card-radius);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.trust-item:hover {
  border-color: var(--border-light);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

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

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.recommended {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0, 180, 200, 0.08) 0%, var(--bg-surface) 50%);
  transform: scale(1.03);
}

.pricing-card.recommended:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--accent), #009db0);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(48, 54, 61, 0.4);
}

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

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

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

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .pricing-card.recommended {
    transform: none;
    order: -1;
  }
  .pricing-card.recommended:hover {
    transform: translateY(-4px);
  }
}

/* ── Analogy Box ── */
.analogy-box {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 180, 200, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--card-radius);
  padding: 28px 32px;
  margin: 32px 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.analogy-box .label {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* ── Multi-Step Form ── */
.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 40px;
  position: relative;
}

.form-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.form-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.form-progress-step.active {
  color: var(--accent);
}

.form-progress-step.completed {
  color: var(--success);
}

.form-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.form-progress-step.active .form-progress-dot {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.form-progress-step.completed .form-progress-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.form-progress-line {
  width: 40px;
  height: 2px;
  background: var(--border);
  transition: background var(--transition);
}

.form-progress-step.completed + .form-progress-line,
.form-progress-line.completed {
  background: var(--success);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeUp 0.4s ease;
}

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

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

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

.form-group label .required {
  color: var(--error);
}

.form-group label .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b949e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.form-checkbox:hover {
  border-color: var(--border-light);
}

.form-checkbox input[type="checkbox"],
.form-checkbox input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-checkbox input:checked ~ span {
  color: var(--text-primary);
}

.form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.form-radio-option:hover {
  border-color: var(--border-light);
}

.form-radio-option input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.form-summary {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.form-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(48, 54, 61, 0.4);
  font-size: 0.9rem;
}

.form-summary-row:last-child {
  border-bottom: none;
}

.form-summary-label {
  color: var(--text-muted);
}

.form-summary-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-privacy input {
  margin-top: 4px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Success / Error Message */
.form-message {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.3);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.3);
  color: var(--error);
}

/* ── Simple Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

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

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(48, 54, 61, 0.4);
}

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.95rem;
}

.contact-detail-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text span {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Skill Tags ── */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.skill-tag {
  padding: 6px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
  transition: all var(--transition);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

/* ── Profile Section ── */
.profile-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .profile-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-photo {
    margin: 0 auto;
    width: 160px;
    height: 160px;
  }
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 300px;
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-bg);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand .nav-logo {
    justify-content: center;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Content Section (for legal pages etc.) ── */
.content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.content-section h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-section h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-section ul,
.content-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-section li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-section a {
  color: var(--accent);
}

/* ── Utility ── */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  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; }

/* ── RustDesk Section ── */
.rustdesk-section {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
}

.rustdesk-steps {
  list-style: none;
  counter-reset: rd-step;
  margin: 20px 0;
}

.rustdesk-steps li {
  counter-increment: rd-step;
  padding: 12px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(48,54,61,0.3);
}

.rustdesk-steps li:last-child {
  border-bottom: none;
}

.rustdesk-steps li::before {
  content: counter(rd-step);
  width: 36px;
  height: 36px;
  background: var(--accent-bg);
  border: 1px solid rgba(0,180,200,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Google Review Section ── */
.review-section {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Pricing note ── */
.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Explanation Grid ── */
.explanation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.explanation-text h2 {
  margin-bottom: 16px;
}

.explanation-text p {
  font-size: 1.05rem;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .explanation-grid {
    grid-template-columns: 1fr;
  }
}
