/* WaveCall Solutions - Main Stylesheet */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand:    #0ea5e9;
  --brand-dark: #0284c7;
  --brand-2:  #6366f1;
  --dark:     #0a0f1e;
  --dark-2:   #111827;
  --dark-3:   #1f2937;
  --text:     #f1f5f9;
  --muted:    #94a3b8;
  --border:   rgba(255,255,255,.08);
  --ok:       #22c55e;
  --warn:     #f59e0b;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; }

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

/* ---- LOGO LIGHTBOX ---- */
.logo-lightbox { display:none; position:fixed; inset:0; z-index:1000; background:rgba(0,0,0,.85); align-items:center; justify-content:center; cursor:zoom-out; }
.logo-lightbox.open { display:flex; }
.logo-lightbox .lb-box { position:relative; background:#fff; border-radius:20px; padding:20px; display:flex; align-items:center; justify-content:center; }
.logo-lightbox img { height:104px; width:104px; object-fit:contain; display:block; }
.logo-lightbox .lb-close { position:absolute; top:-14px; left:-14px; width:32px; height:32px; border-radius:50%; background:#fff; color:#0a0f1e; font-size:20px; font-weight:700; cursor:pointer; line-height:1; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.3); }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(10,15,30,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-logo { font-size: 22px; font-weight: 900; color: var(--text); letter-spacing: -1px; }
.nav-logo span { color: var(--brand); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.nav-active { color: var(--brand); font-weight: 700; }
.nav-cta { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: rgba(255,255,255,.06); text-decoration: none; color: var(--text); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-white { background: #fff; color: #0a0f1e; }
.btn-white:hover { background: #e2e8f0; text-decoration: none; color: #0a0f1e; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* language dropdown */
.lang-dropdown { position: relative; }
.lang-drop-btn {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 4px; white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.lang-drop-btn:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.lang-drop-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 10px; min-width: 140px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 200;
}
.lang-drop-menu.open { display: block; }
.lang-drop-menu a {
  display: block; padding: 10px 14px; font-size: 13px; color: var(--muted);
  transition: background .15s, color .15s;
}
.lang-drop-menu a:hover { background: rgba(255,255,255,.05); color: var(--text); text-decoration: none; }
.lang-drop-menu a.active { color: var(--brand); font-weight: 700; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 5% 60px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14,165,233,.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(99,102,241,.12) 0%, transparent 60%),
              var(--dark);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,165,233,.12); border: 1px solid rgba(14,165,233,.3);
  color: var(--brand); font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px); font-weight: 900; line-height: 1.1;
  letter-spacing: -2px; margin-bottom: 20px; max-width: 860px; margin-inline: auto;
}
.hero h1 .accent { color: var(--brand); }
.hero p {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted);
  max-width: 600px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border);
}
.hero-stat .num { font-size: 36px; font-weight: 900; color: var(--brand); line-height: 1; }
.hero-stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---- SECTIONS ---- */
section { padding: 90px 5%; }
.section-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--brand); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; }
.section-head { margin-bottom: 56px; }
.centered { text-align: center; }
.centered .section-sub { margin-inline: auto; }

/* ---- SERVICES ---- */
#services { background: var(--dark-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.services-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
.services-extra { text-align: center; font-size: 15px; color: #fff; background: var(--brand); display: inline-block; padding: 10px 28px; border-radius: 30px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .service-card-wide { width: 100%; } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: rgba(14,165,233,.4); transform: translateY(-3px); }
a.service-card { text-decoration: none; color: inherit; cursor: pointer; display: block; }
.service-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(14,165,233,.12); border: 1px solid rgba(14,165,233,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 12px;
}
.service-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---- WHY US ---- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-features { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.why-feature { display: flex; gap: 16px; }
.why-feature .icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(14,165,233,.12); border: 1px solid rgba(14,165,233,.2);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.why-feature h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.why-feature p { font-size: 13px; color: var(--muted); }
.why-visual {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; position: relative; overflow: hidden;
}
.why-visual::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.2), transparent 70%);
}
.stat-block { margin-bottom: 24px; }
.stat-block .label { font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.stat-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.stat-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.stat-block .val { font-size: 13px; color: var(--muted); margin-top: 5px; }

/* ---- LANGUAGES ---- */
#languages { background: var(--dark-2); }
.lang-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.lang-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 50px; padding: 10px 20px; font-size: 14px; font-weight: 600;
  transition: border-color .2s;
}
.lang-pill:hover { border-color: rgba(14,165,233,.4); }
.lang-flag { font-size: 22px; }

/* ---- PRICING ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
.pricing-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; position: relative;
}
.pricing-card.featured {
  border-color: var(--brand); background: linear-gradient(135deg, rgba(14,165,233,.08), rgba(99,102,241,.06));
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pricing-card .price { font-size: 42px; font-weight: 900; color: var(--brand); line-height: 1; margin: 16px 0 4px; }
.pricing-card .price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.pricing-card .price-note { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--ok); font-weight: 800; flex-shrink: 0; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(14,165,233,.15), rgba(99,102,241,.1));
  border: 1px solid rgba(14,165,233,.2); border-radius: 24px;
  padding: 60px 40px; text-align: center; max-width: 860px; margin: 0 auto;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; }
.cta-banner p { color: var(--muted); font-size: 16px; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FORMS ---- */
#contact, #signup, #apply { background: var(--dark-2); }
.form-wrap {
  max-width: 620px; margin: 0 auto;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
}
/* contact layout */
.contact-layout { display: flex; gap: 40px; align-items: flex-start; max-width: 1100px; margin: 0 auto; padding: 0 5%; }
.contact-layout .form-wrap { max-width: 100%; margin: 0; }
.contact-info { min-width: 260px; }
.contact-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-icon { font-size: 22px; margin-top: 2px; }
.contact-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 3px; }
.contact-val { font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.contact-val:hover { text-decoration: underline; }
@media (max-width: 768px) { .contact-layout { flex-direction: column; } .contact-info { min-width: unset; width: 100%; } }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--dark-3); }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; padding: 13px; font-size: 15px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-msg.ok  { background: rgba(34,197,94,.12); color: var(--ok); border: 1px solid rgba(34,197,94,.3); display: block; }
.form-msg.err { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.3); display: block; }

/* tabs */
.lang-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.lang-tab {
  padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--muted);
  transition: all .2s;
}
.lang-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---- AGENT PAGE ---- */
.requirements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 48px; }
.req-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
}
.req-card .req-icon { font-size: 28px; margin-bottom: 12px; }
.req-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.req-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark-2); border-top: 1px solid var(--border);
  padding: 50px 5% 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.footer-brand .logo span { color: var(--brand); }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--muted); }

/* ---- FLASH ---- */
.flash { position: fixed; top: 80px; right: 20px; z-index: 500; max-width: 340px; }
.flash-msg {
  padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  margin-bottom: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  animation: slideIn .3s ease;
}
.flash-msg.ok  { background: rgba(34,197,94,.15); color: var(--ok); border: 1px solid rgba(34,197,94,.3); }
.flash-msg.err { background: rgba(239,68,68,.15); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--dark-2); padding: 20px 5%; border-bottom: 1px solid var(--border); gap: 16px; }
  .hamburger { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-banner { padding: 40px 24px; }
}
