/* ── SunComms Marketing Site ── */
:root {
  --orange: #ff9800;
  --orange-dark: #e68900;
  --green: #4caf50;
  --red: #f44336;
  --bg: #0a0a0a;
  --bg-dark: #111;
  --card-bg: #1a1a1a;
  --text: #e0e0e0;
  --text-dim: #888;
  --border: #222;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-align: center; margin-bottom: 16px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }

.accent { color: var(--orange); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.logo { font-size: 1.2rem; font-weight: 800; color: var(--orange); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--bg); padding: 16px 24px; gap: 12px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; background: var(--orange); color: #000;
  font-weight: 700; font-size: 0.9rem; border: none; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; transition: background 0.2s;
}
.btn:hover { background: var(--orange-dark); text-decoration: none; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-outline {
  background: transparent; border: 2px solid var(--orange); color: var(--orange);
}
.btn-outline:hover { background: rgba(255,152,0,0.1); }

/* ── HERO ── */
.hero {
  padding: 140px 0 80px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,152,0,0.08) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block; padding: 4px 14px; background: rgba(255,152,0,0.12);
  border: 1px solid rgba(255,152,0,0.3); border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; color: var(--orange); margin-bottom: 20px;
}
.hero-sub {
  max-width: 640px; margin: 20px auto 32px; font-size: 1.1rem;
  color: var(--text-dim); line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; margin-top: 48px;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--orange); }
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.bg-dark { background: var(--bg-dark); }
.section-sub {
  text-align: center; color: var(--text-dim); max-width: 600px;
  margin: 0 auto 40px; font-size: 1rem;
}

/* ── CARDS ── */
.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card-icon { font-size: 2rem; margin-bottom: 12px; }

/* ── FEATURES ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s;
}
.feature:hover { border-color: var(--orange); }
.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }

/* ── COMPARISON TABLE ── */
.comparison { overflow-x: auto; }
.comparison table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.comparison th, .comparison td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison th {
  font-weight: 700; color: var(--text-dim); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.comparison th.highlight { color: var(--orange); }
.comparison td.highlight { color: #fff; font-weight: 500; }

/* ── DEMO PLACEHOLDER ── */
.demo-placeholder { display: flex; justify-content: center; }
.demo-screen {
  background: #1a1a1a; border: 2px solid var(--border); border-radius: 12px;
  padding: 16px; width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.demo-header {
  font-weight: 700; color: var(--orange); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.demo-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.demo-val { font-weight: 600; }
.demo-val.green { color: var(--green); }

/* ── FORM ── */
.form { display: flex; flex-direction: column; gap: 12px; }
.form input, .form textarea {
  padding: 14px 16px; background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); color: #fff; font-size: 0.95rem;
  font-family: inherit;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--orange);
}
.form input::placeholder, .form textarea::placeholder { color: #555; }

/* ── FOOTER ── */
.footer {
  padding: 40px 0; border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-dim); font-size: 0.85rem; }
.footer-links a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
}
