/* ============================================
   VOITT — Virtual Operations Intelligent Tech & Telecom
   Static site stylesheet — Dark tech theme, mobile-first
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0e14;
  --bg-card:   #131720;
  --bg-card-h: #1a1f2e;
  --accent:    #00d4ff;
  --accent2:   #7b61ff;
  --text:      #e2e8f0;
  --text-dim:  #8892a4;
  --text-bright:#ffffff;
  --border:    #1e2535;
  --sale-bg:   #0d2a1a;
  --sale-border:#00ff8855;
  --radius:    12px;
  --max-w:     1140px;
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text-bright); }

img { max-width: 100%; display: block; }

/* --- Utility --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 14, 20, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: .5rem; }
.nav-logo svg { height: 32px; width: auto; }
.nav-logo span {
  font-size: .7rem; font-weight: 500; letter-spacing: .08em;
  color: var(--text-dim); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-dim);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-bright); }

.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem; border-radius: 6px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  font-size: .8rem; color: var(--text-dim); cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-switch:hover { background: rgba(255,255,255,.12); color: var(--text-bright); }
.lang-switch svg { width: 14px; height: 14px; }

/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: .5rem; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(11, 14, 20, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a, .nav-links .lang-switch {
    display: block; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
    width: 100%;
  }
}

/* --- Hero --- */
.hero {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 20%, rgba(0,212,255,.08), transparent),
    radial-gradient(ellipse 400px 300px at 70% 60%, rgba(123,97,255,.06), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  padding: .4rem 1rem; margin-bottom: 1.5rem;
  border-radius: 50px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  font-size: .75rem; font-weight: 600;
  color: var(--accent); letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 600px; margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all .25s; border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
}
.btn-primary:hover {
  background: #33dfff; color: var(--bg);
  box-shadow: 0 0 24px rgba(0,212,255,.3);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(0,212,255,.05);
}
.btn-sale {
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #0b0e14; font-weight: 700;
}
.btn-sale:hover {
  box-shadow: 0 0 28px rgba(0,200,83,.35);
  transform: translateY(-1px);
  color: #0b0e14;
}
.btn svg { width: 18px; height: 18px; }

/* --- Sale Banner --- */
.sale-banner {
  background: var(--sale-bg);
  border: 1px solid var(--sale-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 0 auto 4rem;
  max-width: 700px;
  position: relative;
}
.sale-banner::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,255,136,.15), transparent 60%);
  pointer-events: none; z-index: 0;
}
.sale-banner > * { position: relative; z-index: 1; }
.sale-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,200,83,.15); margin-bottom: 1rem;
}
.sale-icon svg { width: 24px; height: 24px; color: #00e676; }
.sale-banner h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--text-bright);
  margin-bottom: .5rem;
}
.sale-banner p {
  font-size: .9rem; color: var(--text-dim);
  margin-bottom: 1.25rem;
}

/* --- Section shared --- */
.section { padding: 5rem 0; }
.section-label {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700; color: var(--text-bright);
  margin-bottom: 1rem; letter-spacing: -.01em;
}
.section-desc {
  font-size: 1rem; color: var(--text-dim);
  max-width: 640px; margin-bottom: 3rem;
}
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* --- Articles Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.article-card:hover {
  border-color: rgba(0,212,255,.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.article-tag {
  display: inline-block; font-size: .7rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: .75rem;
}
.article-card h3 {
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-bright); margin-bottom: .5rem;
  line-height: 1.4;
}
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--accent); }
.article-card p {
  font-size: .875rem; color: var(--text-dim);
  flex: 1; margin-bottom: 1rem; line-height: 1.65;
}
.article-meta {
  font-size: .75rem; color: var(--text-dim);
  display: flex; align-items: center; gap: .35rem;
}

/* --- About / Features --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .25s;
}
.feature-card:hover { border-color: rgba(0,212,255,.25); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(0,212,255,.08);
}
.feature-icon svg { width: 22px; height: 22px; color: var(--accent); }
.feature-icon.purple { background: rgba(123,97,255,.1); }
.feature-icon.purple svg { color: var(--accent2); }
.feature-icon.green { background: rgba(0,200,83,.1); }
.feature-icon.green svg { color: #00e676; }
.feature-card h3 {
  font-size: 1rem; font-weight: 600;
  color: var(--text-bright); margin-bottom: .5rem;
}
.feature-card p { font-size: .875rem; color: var(--text-dim); }

/* --- Article Page --- */
.article-page { padding: 8rem 0 4rem; }
.article-page .container { max-width: 780px; }
.article-header { margin-bottom: 2.5rem; }
.article-header .article-tag { margin-bottom: 1rem; }
.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; color: var(--text-bright);
  line-height: 1.25; margin-bottom: 1rem;
}
.article-header .article-meta { font-size: .85rem; }
.article-body { font-size: 1.05rem; line-height: 1.8; }
.article-body h2 {
  font-size: 1.4rem; font-weight: 600;
  color: var(--text-bright); margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-bright); margin: 2rem 0 .75rem;
}
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol {
  margin-bottom: 1.25rem; padding-left: 1.5rem;
}
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem; margin: 1.5rem 0;
  background: rgba(0,212,255,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-dim); font-style: italic;
}
.article-back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; margin-top: 3rem;
}

/* --- About Page --- */
.about-page { padding: 8rem 0 4rem; }
.about-page .container { max-width: 780px; }
.about-intro { margin-bottom: 3rem; }
.about-intro h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800; color: var(--text-bright);
  margin-bottom: 1rem;
}
.about-intro p { font-size: 1.05rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 1rem; }
.about-section { margin-bottom: 2.5rem; }
.about-section h2 {
  font-size: 1.35rem; font-weight: 600;
  color: var(--text-bright); margin-bottom: .75rem;
}
.about-section p { font-size: 1rem; line-height: 1.8; margin-bottom: .75rem; }

/* --- Contact --- */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem; text-align: center;
}
.contact-box h3 {
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-bright); margin-bottom: .5rem;
}
.contact-box p { font-size: .9rem; color: var(--text-dim); margin-bottom: 1.25rem; }
.contact-email {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1rem; font-weight: 600; color: var(--accent);
}

/* --- Footer --- */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: .5rem; }
.footer-brand svg { height: 24px; width: auto; opacity: .6; }
.footer-copy { font-size: .8rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 1.25rem; list-style: none; }
.footer-links a { font-size: .8rem; color: var(--text-dim); }
.footer-links a:hover { color: var(--text-bright); }
.disclaimer {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .72rem; color: var(--text-dim);
  text-align: center; line-height: 1.6;
  opacity: .7;
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0; animation: fadeUp .6s ease forwards;
}
.fade-up:nth-child(2) { animation-delay: .1s; }
.fade-up:nth-child(3) { animation-delay: .2s; }
.fade-up:nth-child(4) { animation-delay: .3s; }
.fade-up:nth-child(5) { animation-delay: .4s; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2a3045; }
