/* ========================================
   Freigeber Consulting — Design System
   Clean, fast, <15KB CSS
   ======================================== */

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

:root {
  --blue-900: #0f172a;
  --blue-800: #1e293b;
  --blue-700: #334155;
  --blue-600: #475569;
  --blue-400: #94a3b8;
  --blue-200: #e2e8f0;
  --blue-100: #f1f5f9;
  --blue-50:  #f8fafc;
  --green-500: #38a169;
  --green-600: #2f855a;
  --green-400: #68d391;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-w: 1100px;
  --transition: 0.2s ease;
}

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

body {
  font-family: var(--font);
  color: var(--blue-200);
  background: var(--blue-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-400); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-500); }

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

/* Typography */
h1, h2, h3 { color: var(--blue-50); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-50);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.logo .dot { color: var(--green-500); }

.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
  color: var(--blue-400);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav a:hover { color: var(--blue-50); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blue-200);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 161, 105, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(56, 161, 105, 0.12);
  color: var(--green-400);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(56, 161, 105, 0.2);
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--green-400); }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--blue-400);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--green-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 161, 105, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--blue-200);
  border: 1px solid var(--blue-700);
}
.btn-secondary:hover {
  border-color: var(--blue-400);
  color: var(--blue-50);
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ========================================
   Problem / Solution
   ======================================== */
.problem {
  background: var(--blue-800);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.problem-text .label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-400);
  margin-bottom: 1rem;
}

.problem-text p {
  color: var(--blue-400);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  background: var(--blue-900);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--blue-400);
}

/* ========================================
   Services
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--blue-800);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(56, 161, 105, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(56, 161, 105, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 { margin-bottom: 0.75rem; }

.service-card p {
  color: var(--blue-400);
  font-size: 0.95rem;
}

.service-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.75rem;
  background: rgba(56, 161, 105, 0.1);
  color: var(--green-400);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ========================================
   About
   ======================================== */
.about {
  background: var(--blue-800);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

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

.about-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--green-500), var(--blue-700));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-name {
  font-size: 1.4rem;
  color: var(--blue-50);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-role {
  color: var(--green-400);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-text p {
  color: var(--blue-400);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-text p:first-of-type { color: var(--blue-200); }

.about-facts {
  list-style: none;
  margin-top: 1.5rem;
}

.about-facts li {
  padding: 0.5rem 0;
  color: var(--blue-400);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-facts li::before {
  content: '→';
  color: var(--green-400);
  font-weight: 700;
}

/* ========================================
   Pricing
   ======================================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--blue-400);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--blue-800);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}

.price-card.featured {
  border-color: var(--green-500);
  background: linear-gradient(180deg, rgba(56, 161, 105, 0.05) 0%, var(--blue-800) 100%);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-500);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 { margin-bottom: 0.5rem; }
.price-card .price-desc { color: var(--blue-400); font-size: 0.9rem; margin-bottom: 1.5rem; }

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-50);
  line-height: 1;
}

.price-amount span { font-size: 1rem; color: var(--blue-400); font-weight: 500; }

.price-features {
  list-style: none;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.4rem 0;
  color: var(--blue-400);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li::before {
  content: '✓';
  color: var(--green-400);
  font-weight: 700;
}

/* ========================================
   CTA / Contact
   ======================================== */
.cta {
  background: var(--blue-800);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  text-align: center;
}

.cta h2 { margin-bottom: 1rem; }
.cta p { color: var(--blue-400); font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }

.contact-methods {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blue-400);
  font-size: 0.95rem;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(56, 161, 105, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--blue-600);
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--blue-600); }
.footer-links a:hover { color: var(--blue-400); }

/* ========================================
   Mobile Responsive
   ======================================== */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-900);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .nav-toggle { display: block; }

  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 3rem; }

  .footer .container { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .contact-methods { flex-direction: column; align-items: center; }
}
