/* LIGHTMEDIA — Tech / dev company */
:root {
  --bg: #0a0c0f;
  --bg-card: #111318;
  --bg-elevated: #181b22;
  --text: #e6e8ec;
  --text-muted: #8b92a0;
  --accent: #22d3ee;
  --accent-dim: #06b6d4;
  --accent-hover: #67e8f9;
  --border: #252a33;
  --grid: rgba(34, 211, 238, 0.03);
  --radius: 6px;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}

.logo:hover {
  color: var(--accent);
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.lang-switcher {
  display: flex;
  gap: 0.2rem;
}

.lang-btn {
  padding: 0.3rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.lang-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .lang-switcher {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 50%, rgba(6, 182, 212, 0.06), transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 44ch;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-hover);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
  color: var(--text);
}

/* Services */
.services {
  background: var(--bg-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--border);
  transition: border-left-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-left-color: var(--accent);
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.card-icon {
  margin-bottom: 0.85rem;
  color: var(--accent);
  line-height: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* About */
.about-text {
  max-width: 58ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Contact */
.contact {
  background: var(--bg-card);
}

.contact-text {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--accent-hover);
}

/* Footer */
.footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  width: 100%;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Policy pages */
.page-header {
  padding: 3.5rem 0 1.75rem;
}

.page-header h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.page-header .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  font-family: var(--font-mono);
}

.policy-content {
  padding-bottom: 3.5rem;
  max-width: 680px;
}

.policy-content h2 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
  color: var(--text);
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.policy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.policy-content a {
  color: var(--accent);
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}
