/* ===== CallixONE — premium dark theme ===== */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --border: #262626;
  --text: #f5f5f5;
  --text-muted: #9ca3af;
  --accent: #f59e0b;
  --accent-deep: #d97706;
  --radius: 14px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; letter-spacing: -0.02em; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 96px 0; }

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1c1917, #0a0a0a);
  border: 1px solid #3a2a12;
  display: grid; place-items: center;
  color: var(--accent);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.brand-name b { color: var(--accent); }
.brand-tag { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-2);
}
.lang-btn {
  appearance: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--accent); color: #0a0a0a; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 50% -10%, #1a1206 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-pattern { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 65%);
  filter: blur(10px);
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: 24px; }
.hero-sub { font-size: 1.12rem; max-width: 600px; margin-bottom: 36px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  list-style: none;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats strong {
  display: block;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 800;
}
.hero-stats span { font-size: 0.82rem; letter-spacing: 0.04em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: #3d3d3d;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; }

/* ===== About ===== */
.about { background: var(--bg-2); border-bottom: 1px solid var(--border); }
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }
.about-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 28px;
}
.about-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  font-size: 0.9rem;
}
.about-card-row + .about-card-row { border-top: 1px solid var(--border); }
.about-card-row strong { color: var(--text); font-weight: 600; text-align: right; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, #17130c 0%, var(--bg-2) 100%);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { font-size: 0.92rem; }

/* ===== Why us ===== */
.why { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefit {
  display: flex;
  gap: 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.benefit:hover { border-color: rgba(245, 158, 11, 0.4); transform: translateY(-4px); }
.benefit-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent);
  display: grid; place-items: center;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.08rem; margin-bottom: 8px; }
.benefit p { font-size: 0.92rem; }

/* ===== Careers ===== */
.careers-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.careers h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.careers p { max-width: 560px; }

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 50% 115%, rgba(245, 158, 11, 0.22) 0%, transparent 60%),
    radial-gradient(700px 500px at 85% 20%, rgba(120, 60, 10, 0.25) 0%, transparent 60%),
    radial-gradient(600px 400px at 10% 30%, rgba(60, 40, 90, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #0c0a08 0%, #171009 45%, #241607 100%);
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(700px 400px at 50% 100%, #000 0%, transparent 70%);
  mask-image: radial-gradient(700px 400px at 50% 100%, #000 0%, transparent 70%);
}
.cta-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin-bottom: 18px; }
.cta p { font-size: 1.08rem; margin-bottom: 36px; }

/* ===== Footer ===== */
.site-footer { background: #070707; border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col .brand-name { font-size: 1.2rem; }
.footer-col p { font-size: 0.9rem; margin-bottom: 6px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 100px 0 90px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px 6%;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .brand-tag { display: none; }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .section { padding: 72px 0; }
  .careers-inner { flex-direction: column; align-items: flex-start; }
}
