/*
Theme Name: CXD Technologies
Theme URI: https://cxdtechnologies.com
Author: CXD Technologies
Description: Official website theme for CXD Technologies — AI-powered communications platform
Version: 1.0.0
License: Private
Text Domain: cxd-technologies
*/

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --navy:   #0A1628;
  --cyan:   #00BDD1;
  --white:  #ffffff;
  --slate:  #4a6a80;
  --light:  #eef2f7;
  --muted:  #8ab0c4;
  --mid:    #162038;
  --border: rgba(0,189,209,0.15);
  --font-head: 'Orbitron', monospace;
  --font-body: 'Rajdhani', 'Segoe UI', sans-serif;
  --radius: 12px;
  --max: 1100px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--navy); color: var(--white); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { opacity: 0.85; }

/* ─── Utility ───────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-dark { background: var(--navy); }
.section-mid  { background: var(--mid); }
.section-light { background: var(--light); }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.tag { display: inline-block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { font-size: 1rem; color: var(--muted); }
.lead { font-size: 1.15rem; max-width: 600px; color: rgba(255,255,255,0.75); }
.section-light p, .section-light .lead { color: var(--slate); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--navy); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--font-body); font-size: .85rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: .85rem 2rem; border-radius: 6px; border: none; cursor: pointer; transition: opacity .2s, transform .15s; }
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ─── Header / Nav ──────────────────────────────────────── */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,22,40,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.site-logo { display: flex; align-items: center; gap: .85rem; }
.logo-svg { width: 140px; height: auto; }
.logo-sub { font-family: var(--font-body); font-size: .6rem; letter-spacing: .45em; color: var(--muted); display: none; }

#site-nav ul { display: flex; list-style: none; gap: 2rem; }
#site-nav a { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); transition: color .2s; }
#site-nav a:hover { color: var(--cyan); }
.nav-cta { margin-left: 1.5rem; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.5rem; }

/* ─── Hero ──────────────────────────────────────────────── */
#hero { min-height: 88vh; display: flex; align-items: center; padding-top: 70px; position: relative; overflow: hidden; }
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 60%, rgba(0,189,209,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-pro-inner { max-width: 780px; }
.hero-eyebrow { font-family: var(--font-body); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem; }
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--cyan); }
.hero-title { margin-bottom: 1.75rem; }
.hero-title span { color: var(--cyan); }
.hero-lead { margin-bottom: 2.5rem; max-width: 620px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Stats bar ─────────────────────────────────────────── */
#stats { background: var(--mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; color: var(--cyan); }
.stat-label { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-top: .25rem; }

/* ─── Features ──────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .lead { margin: 1rem auto 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature-card { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: rgba(0,189,209,.4); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(0,189,209,.1); border: 1px solid rgba(0,189,209,.2); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.feature-icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-family: var(--font-head); font-size: 1rem; color: var(--white); margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; }

/* ─── How It Works ──────────────────────────────────────── */
#how { background: var(--mid); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 16.5%; right: 16.5%; height: 1px; background: var(--border); }
.step { text-align: center; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); border: 1px solid var(--cyan); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-family: var(--font-head); font-size: .9rem; color: var(--cyan); position: relative; z-index: 1; }
.step h3 { font-family: var(--font-head); font-size: .9rem; color: var(--white); margin-bottom: .5rem; }
.step p { font-size: .9rem; }

/* ─── Products ──────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product-card { border-radius: var(--radius); padding: 2.5rem; border: 1px solid var(--border); }
.product-card.bridge { background: rgba(255,255,255,.03); }
.product-card.cloud  { background: rgba(0,189,209,.06); border-color: rgba(0,189,209,.3); }
.product-badge { display: inline-block; font-family: var(--font-body); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; padding: .25rem .75rem; border-radius: 4px; margin-bottom: 1.25rem; }
.product-badge.bridge { background: rgba(255,255,255,.08); color: var(--muted); }
.product-badge.cloud  { background: rgba(0,189,209,.15); color: var(--cyan); }
.product-card h3 { font-family: var(--font-head); font-size: 1.3rem; color: var(--white); margin-bottom: .5rem; }
.product-card .product-desc { font-size: .95rem; margin-bottom: 1.5rem; }
.product-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.product-list li { font-family: var(--font-body); font-size: .9rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: .6rem; }
.product-list li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }

/* ─── Pricing ───────────────────────────────────────────── */
#pricing { background: var(--mid); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card { border-radius: var(--radius); padding: 2.25rem; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.pricing-card.featured { background: rgba(0,189,209,.07); border-color: rgba(0,189,209,.35); position: relative; }
.featured-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--cyan); color: var(--navy); font-family: var(--font-body); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; padding: .25rem .9rem; border-radius: 20px; white-space: nowrap; }
.pricing-name { font-family: var(--font-head); font-size: .95rem; color: var(--white); margin-bottom: 1.25rem; }
.pricing-price { margin-bottom: 1.5rem; }
.price-setup { font-family: var(--font-head); font-size: 1.8rem; color: var(--white); }
.price-mo { font-family: var(--font-body); font-size: .9rem; color: var(--muted); margin-top: .2rem; }
.pricing-rule { height: 1px; background: var(--border); margin: 1.5rem 0; }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.pricing-list li { font-family: var(--font-body); font-size: .88rem; color: rgba(255,255,255,.7); display: flex; align-items: flex-start; gap: .6rem; }
.pricing-list li::before { content: '✓'; color: var(--cyan); font-size: .8rem; flex-shrink: 0; margin-top: .1rem; }
.pricing-card .btn { width: 100%; text-align: center; }

/* ─── CTA ───────────────────────────────────────────────── */
#cta { background: var(--navy); text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner .lead { margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ────────────────────────────────────────────── */
#site-footer { background: #060e1c; border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .9rem; margin-top: .75rem; max-width: 260px; }
.footer-col h4 { font-family: var(--font-head); font-size: .75rem; color: var(--white); letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col li a { font-family: var(--font-body); font-size: .88rem; color: var(--muted); transition: color .2s; }
.footer-col li a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; gap: 1rem; }
  .menu-toggle { display: block; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
}
