/* ============================================================
   IMPROVED THEME - DilmeTech
   ============================================================ */

:root {
  --bg: #0B1120;
  --surface: #151E32;
  --surface-hover: #1E2A44;
  --primary: #14B8A6;
  --primary-hover: #0FA396;
  --secondary: #FB7185;
  --text: #F1F5F9;
  --muted: #94A3B8;
  --border: #243149;
  --border-hover: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.muted { color: var(--muted); }
.accent { color: var(--primary); }

/* ============================================================
   BUTTONS (Fixed contrast)
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
}
.btn-primary {
  background: var(--primary);
  color: #04201C; /* Dark text on teal button */
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.2);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
  color: #04201C;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
@media(max-width: 700px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
  position: relative;
}
.hero .tag {
  display: inline-block;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.hero p.sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 20px auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 64px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}
.hero-stats .lbl {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text); }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .tags {
  display: block;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: center;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.price-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 10px 30px -10px rgba(20, 184, 166, 0.15);
  transform: scale(1.02);
}
.price-card.popular:hover { transform: scale(1.02) translateY(-5px); }
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #04201C;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price { font-size: 2.4rem; font-weight: 800; margin: 16px 0 8px; color: var(--text); letter-spacing: -1px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: normal; }
.price-card ul { list-style: none; margin: 24px 0; flex: 1; }
.price-card li {
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}
.price-card li:last-child { border-bottom: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
@media(max-width: 760px) {
  .about { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-stats .num { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.about-stats .lbl { font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}
.step:hover { border-color: var(--border-hover); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 32px;
  background: var(--primary);
  color: #04201C;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(20, 184, 166, 0.3);
}
.step h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote {
  background: linear-gradient(145deg, var(--surface), var(--surface-hover));
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  padding: 40px;
  margin-top: 48px;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}
.quote .who {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote .who::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
}
.quote .who strong { color: var(--text); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
@media(max-width: 600px) { .contact { padding: 32px; } }
.contact form { display: grid; gap: 16px; margin-top: 32px; text-align: left; }
.contact input, .contact textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.contact input:focus, .contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.contact textarea { resize: vertical; min-height: 120px; }
.contact-info { margin-top: 32px; color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.contact-info a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
.contact-info a:hover { color: var(--primary-hover); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--primary-hover); }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.policy h1 { font-size: 2.4rem; margin-bottom: 8px; }
.policy .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 48px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.policy h2 { font-size: 1.3rem; margin: 40px 0 16px; color: var(--text); }
.policy p, .policy li { color: var(--muted); margin-bottom: 16px; }
.policy ul { padding-left: 24px; }
.policy strong { color: var(--text); }
.policy a { color: var(--primary); text-decoration: none; }
.policy a:hover { text-decoration: underline; }
.back {
  display: inline-block;
  margin-top: 56px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: var(--surface);
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.back:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--surface-hover);
}