/* hauptsoft.com — corporate placeholder */

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

:root {
  --bg: #070b12;
  --bg-elevated: #0d1320;
  --bg-card: rgba(17, 24, 39, 0.72);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --accent-border: rgba(59, 130, 246, 0.35);
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

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

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

/* Background layers */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 20%, transparent 75%);
}

.bg-glow {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.bg-glow--top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
}

.bg-glow--bottom {
  bottom: -180px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-mark {
  color: var(--accent);
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-lang {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  font-weight: 600 !important;
}

.nav-lang:hover {
  border-color: var(--accent-border);
  color: var(--accent) !important;
}

/* Hero */
.hero {
  padding: 88px 0 72px;
}

.hero-inner {
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(13, 19, 32, 0.8);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.55);
  animation: pulse 2.4s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 620px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.hero-stats span {
  font-size: 13px;
  color: var(--text-subtle);
}

/* Sections */
.section {
  padding: 88px 0;
}

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

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 24px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* Products */
.products {
  padding-top: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}

.card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
}

.card-featured {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}

.card-featured:hover {
  border-color: rgba(59, 130, 246, 0.55);
  transform: translateY(-2px);
}

.card-muted {
  display: flex;
  flex-direction: column;
}

.card-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #cbd5e1;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

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

.card-meta {
  font-size: 13px;
  color: var(--text-subtle);
  font-weight: 500;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-link:hover {
  color: var(--accent);
}

.card-note {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(59, 130, 246, 0.06);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

/* Pricing comparison */
.compare {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.compare-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 11, 18, 0.55);
}

.compare-card--us {
  border-color: var(--accent-border);
  background: var(--bg-card);
}

.compare-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.compare-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.compare-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-subtle);
}

.compare-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.compare-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.compare-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-subtle);
}

/* Principles */
.principles {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.principle {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 11, 18, 0.55);
}

.principle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.principle h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.principle p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.about-copy strong {
  color: var(--text);
  font-weight: 600;
}

.about-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags li {
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(13, 19, 32, 0.6);
}

/* Contact */
.contact {
  text-align: center;
}

.contact-inner {
  max-width: 560px;
}

.contact h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-lead {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.contact-email:hover {
  opacity: 0.82;
}

/* Footer */
.footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px 32px;
}

.footer-brand p {
  margin-top: 6px;
  color: var(--text-subtle);
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 13px;
}

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

@media (max-width: 768px) {
  .hero {
    padding: 64px 0 56px;
  }

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

  .product-grid,
  .about-inner,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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

  .footer-nav {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.nav-lang) {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .status-dot {
    animation: none;
  }

  .btn,
  .card-featured {
    transition: none;
  }
}
