/* ===== VARIABLES ===== */
:root {
  --primary:        hsl(229, 82%, 56%);
  --primary-light:  hsl(229, 95%, 61%);
  --primary-dark:   hsl(229, 55%, 38%);
  --primary-bg:     hsl(229, 54%, 19%);

  --bg:             hsl(217, 50%, 11%);
  --bg-card:        hsl(217, 36%, 17%);
  --bg-surface:     hsl(217, 26%, 27%);

  --text:           #e8ecf4;
  --text-muted:     hsl(217, 11%, 66%);
  --border:         hsl(215, 25%, 26%);

  --success:        hsl(155, 44%, 54%);
  --radius:         0.75rem;
  --radius-sm:      0.5rem;
  --shadow:         0 4px 24px rgba(0,0,0,0.3);

  font-family: "Inter", system-ui, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-muted); }

/* ===== LAYOUT ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-light); }
.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ===== BADGE ===== */
.badge {
  display: inline-block; padding: 0.3rem 0.8rem;
  background: var(--primary-bg); color: var(--primary-light);
  border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--primary-dark);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: hsla(217, 50%, 11%, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
.navbar-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  text-decoration: none !important;
}
.navbar-brand span { color: var(--primary-light); }
.navbar-logo {
  width: 2rem; height: 2rem;
  background: var(--primary); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 1rem;
}
.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 0.25rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted); padding: 0.6rem 0;
  font-weight: 500; border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  padding: 6rem 0 5rem;
  background: radial-gradient(ellipse at 60% 0%, hsl(229,54%,22%) 0%, var(--bg) 65%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-badge { margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--primary-light); }
.hero p { font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.hero-visual {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.5rem;
  box-shadow: var(--shadow);
}
.hero-visual-header {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.visual-title { margin-left: auto; font-size: 0.8rem; color: var(--text-muted); }
.metric-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem;
  margin-bottom: 1rem;
}
.metric {
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 0.75rem; border: 1px solid var(--border);
}
.metric-val { font-size: 1.5rem; font-weight: 700; color: var(--primary-light); }
.metric-lbl { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.service-list { display: flex; flex-direction: column; gap: 0.5rem; }
.service-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem; border: 1px solid var(--border);
  font-size: 0.82rem;
}
.service-status {
  padding: 0.2rem 0.6rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600;
}
.status-done  { background: hsl(155,44%,15%); color: var(--success); }
.status-prog  { background: hsl(229,54%,18%); color: var(--primary-light); }
.status-pend  { background: hsl(18,37%,18%);  color: hsl(18,94%,69%); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-top: 0.75rem; margin-bottom: 1rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--primary-dark); transform: translateY(-2px); }
.feature-icon {
  width: 3rem; height: 3rem; background: var(--primary-bg);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.feature-card h3 { color: var(--text); margin-bottom: 0.5rem; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem; align-items: start;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; position: relative;
}
.pricing-card.featured {
  border-color: var(--primary); background: var(--bg-surface);
}
.pricing-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.9rem; border-radius: 999px;
}
.pricing-name { font-size: 1rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.25rem; }
.price-amount { font-size: 2.5rem; font-weight: 700; color: var(--text); }
.price-period { color: var(--text-muted); font-size: 0.9rem; }
.pricing-desc { font-size: 0.875rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-features li { display: flex; gap: 0.6rem; font-size: 0.875rem; color: var(--text-muted); }
.pricing-features li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no::before { content: "✗"; color: var(--border); }
.pricing-features li.no { opacity: 0.5; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.5rem; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.team-avatar {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--primary-bg); margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; border: 2px solid var(--primary-dark);
}
.team-name { color: var(--text); font-weight: 600; margin-bottom: 0.25rem; }
.team-role { font-size: 0.825rem; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 2.5rem; height: 2.5rem; background: var(--primary-bg);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-item h4 { color: var(--text); font-size: 0.9rem; margin-bottom: 0.2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: inherit; font-size: 0.9rem; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: radial-gradient(ellipse at 50% 100%, var(--primary-bg) 0%, var(--bg) 70%);
  text-align: center; padding: 5rem 0;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 1.1rem 1.25rem;
  background: none; border: none; color: var(--text);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-question::after { content: "+"; font-size: 1.25rem; color: var(--primary-light); }
.faq-question.open::after { content: "−"; }
.faq-answer { padding: 0 1.25rem 1.1rem; display: none; }
.faq-answer p { font-size: 0.9rem; }
.faq-answer.open { display: block; }

/* ===== VALUES ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.value-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-card h3 { color: var(--text); margin-bottom: 0.5rem; font-size: 1rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2.5rem;
}
.footer-brand p { font-size: 0.875rem; margin-top: 0.75rem; max-width: 260px; }
.footer-col h4 { color: var(--text); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 0.5rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(ellipse at 50% 0%, hsl(229,54%,22%) 0%, var(--bg) 60%);
  text-align: center;
}
.page-hero h1 { margin: 0.75rem 0 1rem; }
.page-hero p { max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* ===== DIVIDER ===== */
.divider { border: none; border-top: 1px solid var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
