/* Base Theme */
:root {
  /* Entellitek brand palette */
  --navy: #0c1d33;       /* dark background */
  --navy-700: #0e2a4a;
  --entel-blue: #1e64b7; /* primary brand blue */
  --entel-gray: #8b97a6; /* hex outline */
  --accent: #18e0b5;     /* accent for CTAs */

  --bg: var(--navy);
  --bg-alt: #10223d;
  --panel: #0f1f39;
  --text: #eef2f8;
  --muted: #aab4c5;
  --brand: var(--entel-blue);
  --brand-600: #17579f;
  --brand-700: #134b8b;
  --danger: #ff6b6b;
  --card: #121f3b;
  --border: #1e3357;
  --success: #2ecc71;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, #1a2454, transparent),
              radial-gradient(1000px 600px at 120% 10%, #14204a, transparent),
              var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(8px); background: rgba(10,14,30,0.55); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; }
.brand.small { font-size: 14px; }
.brand .logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; }
.brand .logo img { width: 28px; height: 28px; display: block; }
.brand-name { font-weight: 700; }

.site-nav { display: flex; gap: 18px; align-items: center; }
.site-nav a { padding: 8px 10px; border-radius: 8px; color: var(--muted); border: 1px solid transparent; }
.site-nav a:hover { color: var(--text); border-color: var(--border); background: rgba(255,255,255,0.03); }
.site-nav .cta { color: #071226; background: var(--accent); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.site-nav .cta:hover { filter: brightness(1.05); }

.nav-toggle { display: none; background: none; color: var(--text); border: 1px solid var(--border); padding: 8px 10px; border-radius: 8px; }

/* Hero */
.hero { padding: 80px 0; }
.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.15; margin: 0 0 14px; }
.hero p { color: var(--muted); margin: 0 0 22px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 16px; }
.trust { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.hero-art { display: grid; gap: 14px; }
.hero-art .card { background: linear-gradient(180deg, rgba(79,124,255,0.15), rgba(79,124,255,0.03)); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; box-shadow: var(--shadow); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 28px; margin: 0 0 10px; }
.section-lead { color: var(--muted); margin: 0 0 24px; }

.grid { display: grid; gap: 18px; }
.grid.cards { grid-template-columns: repeat(3, 1fr); }
.grid.pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.form-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.form-grid .full { grid-column: 1 / -1; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-top: 0; }

.price-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.price-card .price { font-size: 28px; margin: 0; }
.price-card .price span { font-size: 14px; color: var(--muted); margin-left: 4px; }
.price-card.featured { border-color: var(--brand); background: linear-gradient(180deg, rgba(19,75,139,0.55), rgba(18,31,59,0.9)); }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); }

.domain-search { display: flex; gap: 10px; align-items: center; }
.domain-search input { flex: 1; }
.note { color: var(--muted); font-size: 14px; margin-top: 8px; }

details.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 18px;
}

details.card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
}

details.card summary::-webkit-details-marker {
  display: none;
}

details.card summary::after {
  content: '+';
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

details.card[open] summary::after {
  transform: rotate(45deg);
}

.legal-body {
  margin-top: 16px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-body h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.02rem;
}

.legal-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body p {
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Forms */
label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; }
input, textarea { width: 100%; padding: 12px 12px; color: var(--text); background: #0b122b; border: 1px solid var(--border); border-radius: 10px; outline: none; }
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,124,255,0.25); }

/* Buttons */
.btn { display: inline-block; padding: 10px 14px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-align: center; }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #eef3ff; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.secondary { background: #0b122b; color: var(--text); border-color: var(--border); }
.btn.secondary:hover { background: #0d1530; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--border); background: rgba(5,10,25,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; align-items: start; }
.site-footer nav a { display: block; color: var(--muted); padding: 6px 0; }
.site-footer nav a:hover { color: var(--text); }
.legal { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
.legal a[aria-disabled="true"] { color: var(--muted); opacity: 0.7; pointer-events: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid.cards, .grid.pricing, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,14,30,0.95); border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .site-nav.open { display: grid; grid-auto-rows: min-content; gap: 6px; }
}
