/* ============================================================
   VIRTOMIZE – Official CI
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-color-bright:           #fff;
  --bg-color-dark:             #e6f1f2;
  --bg-color-nav:              #379099;
  --bg-color-btn:              #1e828c;
  --bg-color-btn-hover:        #69acb2;
  --bg-color-hero-transparent: rgba(255,255,255,0.13);
  --text-color-bright:         #e3e7e8;
  --text-color-dark:           #062832;
  --text-color-nav:            #e3e7e8;
  --text-color-btn:            #e3e7e8;
  --text-color-btn-hover:      #062832;
  --action-color:              #1e828c;
  --action-color-70:           rgba(12,51,55,0.7);
  --action-color-nav:          #062832;
  --border-color:              #69acb2;
  --border-color-btn:          #1e828c;
  --hero-color:                #69acb2;
  --bg-color-1:                #fcfcfc;
  --bg-color-2:                #e6f1f2;

  --radius:     10px;
  /* Geogrotesque for logo wordmark + headings; Inter for body */
  --font-brand: geogrotesque, 'Space Grotesk', sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-color-bright);
  color: var(--text-color-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ──────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.accent { color: var(--action-color); }

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-color-nav);
  box-shadow: 0 2px 12px rgba(6,40,50,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  display: block;
  flex-shrink: 0;
}

/* Geogrotesque wordmark — matches real Virtomize brand */
.logo-wordmark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--text-color-nav);
  text-transform: uppercase;
}

.nav { display: flex; gap: 2px; align-items: center; }

.nav-link {
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color-nav);
  text-decoration: none;
  transition: background .15s;
}
.nav-link:hover { background: rgba(6,40,50,0.18); }
.nav-link.active { background: var(--action-color-nav); color: #fff; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 110px;
  background: var(--bg-color-nav);
  overflow: hidden;
}

.hero::before {
  pointer-events: none;
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero::after {
  pointer-events: none;
  content: '';
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(105,172,178,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-color-bright);
  background: var(--bg-color-hero-transparent);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--hero-color); }

.hero-sub {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-color-bright);
  opacity: 0.88;
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--bg-color-btn);
  color: var(--text-color-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--border-color-btn);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .15s;
}
.btn-primary:hover {
  background: var(--bg-color-btn-hover);
  color: var(--text-color-btn-hover);
  border-color: var(--bg-color-btn-hover);
  transform: translateY(-2px);
}
.btn-primary.large { padding: 15px 36px; font-size: 16px; }

.btn-secondary {
  display: inline-block;
  padding: 11px 24px;
  background: transparent;
  color: var(--action-color);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-secondary:hover {
  background: var(--bg-color-btn);
  color: var(--text-color-btn);
  border-color: var(--bg-color-btn);
}

/* ── SECTION SHARED ──────────────────────────────────── */
.section-title {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-color-dark);
  margin-bottom: 14px;
}
.section-sub {
  color: #4a6a72;
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.7;
}

/* ── EXPERTISE ───────────────────────────────────────── */
.expertise {
  padding: 96px 0;
  background: var(--bg-color-1);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.tech-card {
  background: var(--bg-color-bright);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tech-card:hover {
  border-color: var(--action-color);
  box-shadow: 0 6px 24px rgba(30,130,140,0.12);
  transform: translateY(-3px);
}

.tech-icon {
  width: 44px; height: 44px;
  color: var(--action-color);
  margin-bottom: 18px;
}

.tech-card h3 {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color-dark);
}

.tech-card p {
  font-size: 0.9rem;
  color: #4a6a72;
  line-height: 1.65;
}

/* ── ABOUT ───────────────────────────────────────────── */
.about {
  padding: 96px 0;
  background: var(--bg-color-2);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: #3a5a62;
  margin-bottom: 16px;
}
.about-text .btn-secondary { margin-top: 12px; }

.code-block {
  background: var(--text-color-dark);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(6,40,50,0.15);
}
.code-bar {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(105,172,178,0.2);
}
.code-bar span { width: 12px; height: 12px; border-radius: 50%; }
.code-bar span:nth-child(1) { background: #ff5f57; }
.code-bar span:nth-child(2) { background: #febc2e; }
.code-bar span:nth-child(3) { background: #28c840; }
.code-block pre { padding: 24px; overflow-x: auto; }
.code-block code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre;
  color: #e3e7e8;
}
.c-kw  { color: #69acb2; }
.c-pkg { color: #b8d9dc; }
.c-str { color: #a8d8a8; }
.c-fn  { color: #b8d9dc; }

/* ── CONTACT ─────────────────────────────────────────── */
.contact {
  padding: 96px 0;
  background: var(--bg-color-nav);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contact .section-title { color: #fff; }
.contact .section-sub {
  color: var(--text-color-bright);
  opacity: 0.85;
  margin: 0 auto 36px;
}

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--text-color-dark);
  border-top: 3px solid var(--action-color);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-wordmark {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-color-bright);
}
.footer-logo-icon { opacity: 0.9; }

.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 13px;
  color: var(--text-color-bright);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity .15s, color .15s;
}
.footer-nav a:hover { opacity: 1; color: var(--hero-color); }

.footer-copy {
  font-size: 13px;
  color: var(--text-color-bright);
  opacity: 0.45;
}

/* ── LEGAL PAGES ─────────────────────────────────────── */
.legal-page {
  padding: 72px 0 100px;
  min-height: 70vh;
  background: var(--bg-color-1);
}
.legal-inner { max-width: 760px; }

.legal-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-color-dark);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
}

.legal-content h2 {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 40px 0 10px;
  color: var(--text-color-dark);
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--action-color);
}
.legal-content p {
  margin-bottom: 14px;
  color: #3a5a62;
  line-height: 1.8;
}
.legal-content a { color: var(--action-color); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

.legal-content ul { list-style: none; padding: 0; margin-bottom: 16px; }
.legal-content ul li {
  color: #3a5a62;
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.92rem;
}
.legal-content ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--action-color);
}

.legal-content code {
  background: var(--bg-color-2);
  border: 1px solid var(--border-color);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: monospace;
  color: var(--action-color);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero { padding: 80px 0 70px; }
  .expertise, .about, .contact { padding: 64px 0; }
}
@media (max-width: 480px) {
  .nav-link { padding: 6px 10px; font-size: 13px; }
  .hero-title { font-size: 2rem; }
}
