/*
Theme Name: Nikasio
Theme URI: https://nikasio.com
Author: Nikasio
Author URI: https://nikasio.com
Description: Localization Infrastructure theme for Nikasio – AI-powered multilingual communication.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nikasio
Tags: one-page, dark, business, localization
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:      #050816;
  --panel:   #0d1322;
  --card:    #111827;
  --text:    #f5f7ff;
  --muted:   #9aa4c2;
  --border:  rgba(255,255,255,.08);
  --accent:  #7cecff;
  --accent2: #68ffc2;
}

body.light {
  --bg:      #f4f7fb;
  --panel:   #ffffff;
  --card:    #ffffff;
  --text:    #121826;
  --muted:   #5f677c;
  --border:  rgba(0,0,0,.08);
  --accent:  #008cff;
  --accent2: #00b894;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}
body.lang-hi, body.lang-mr { font-family: 'Noto Sans Devanagari', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: min(1240px, calc(100vw - 40px));
  margin: auto;
}
section { padding: 100px 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, calc(100vw - 20px));
  z-index: 999;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(10,15,28,.75);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
}
body.light .nav { background: rgba(255,255,255,.85); }
.logo { font-weight: 900; letter-spacing: .18em; font-size: 1rem; }
.controls { display: flex; gap: 10px; align-items: center; }
.switch {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: auto;
}
.switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: .85rem;
}
.switch button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #041018;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.tag {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  color: var(--accent);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  line-height: .92;
  letter-spacing: -.06em;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 24px;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.positioning {
  margin-top: 34px;
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
}
.positioning p { color: var(--muted); margin-bottom: 8px; }
.positioning h3 { font-size: 1.7rem; line-height: 1.15; }
.buttons { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  display: inline-block;
}
.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #041018;
}
.secondary {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
}

/* ============================================================
   HERO VISUAL
   ============================================================ */
.visual {
  position: relative;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent) 45%, transparent 70%);
  box-shadow: 0 0 120px rgba(124,236,255,.35);
}
.glass {
  position: absolute;
  width: 300px;
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
}
.glass.top { top: 40px; right: 0; }
.glass.bottom { bottom: 40px; left: 0; }
.glass p { margin-top: 10px; color: var(--muted); }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.title { margin-bottom: 50px; }
.title h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: .95;
  margin-top: 14px;
}
.title p { margin-top: 18px; color: var(--muted); max-width: 720px; }

/* ============================================================
   GRID & CARDS
   ============================================================ */
.grid4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.card {
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
}
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.point {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  background: rgba(255,255,255,.03);
  font-size: .9rem;
}

/* ============================================================
   STATS
   ============================================================ */
.stats .card strong {
  display: block;
  font-size: 2.4rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step { display: flex; gap: 16px; margin-bottom: 24px; }
.num {
  min-width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #041018;
  flex-shrink: 0;
}

/* ============================================================
   LANGUAGES
   ============================================================ */
.languages { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.chip {
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-size: .9rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px;
  border-radius: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
}
.contact p, .contact a { color: var(--muted); line-height: 1.6; }
.contact a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: 70px 0 40px; }
.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
}
.footer a, .footer p { color: var(--muted); display: block; margin-top: 10px; font-size: .9rem; }
.footer a:hover { color: var(--accent); }
.footer h3, .footer h4 { font-size: 1rem; letter-spacing: .1em; }
.bottomline {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: .85rem;
}

/* ============================================================
   POPUP / OVERLAY
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  backdrop-filter: blur(8px);
}
.overlay.active { display: flex; }
.popup {
  width: min(720px, 100%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}
.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.popup p { margin: 12px 0 24px; color: var(--muted); }
.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, textarea, select {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { min-height: 120px; resize: vertical; }
select option { background: var(--card); }
.success {
  display: none;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0,255,140,.12);
  border: 1px solid rgba(0,255,140,.25);
  color: var(--accent2);
  margin-bottom: 16px;
}
.success.show { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid,
  .grid4,
  .process,
  .contact,
  .footer { grid-template-columns: 1fr; }
  .visual { height: 420px; }
  .row { grid-template-columns: 1fr; }
  .glass.top, .glass.bottom { position: static; width: 100%; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
  .nav { padding: 10px 14px; }
  .popup { padding: 24px 18px; }
}
