:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.4);
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* --- Daylight (Light) Mode Overrides --- */
html[data-theme="light"] {
  color-scheme: light;
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-card: #e2e8f0;
  --border-highlight: rgba(99, 102, 241, 0.4);
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.15);
  --accent: #0284c7;
  --text-main: #0f172a;
  --text-muted: #475569;
}

html[data-theme="light"] header.navbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e2e8f0;
}

html[data-theme="light"] .brand {
  color: #0f172a;
}

html[data-theme="light"] .brand-badge {
  background: linear-gradient(135deg, #0f172a 20%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero h1 {
  background: linear-gradient(180deg, #0f172a 40%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero-title-sub {
  background: linear-gradient(135deg, #0f172a 25%, #0284c7 65%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero-pill {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.25);
  color: #4338ca;
}

html[data-theme="light"] .stats-grid {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .stat-value {
  background: linear-gradient(135deg, #0f172a 30%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .card:hover {
  background: #f8fafc;
  border-color: #6366f1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .card-tag {
  background: rgba(0, 0, 0, 0.05);
  color: #475569;
}

html[data-theme="light"] .card h3 {
  color: #0f172a;
}

html[data-theme="light"] .btn-outline {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

html[data-theme="light"] .btn-outline:hover {
  background: #f1f5f9;
  border-color: #6366f1;
}

html[data-theme="light"] .contact-box {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] footer {
  border-top-color: #e2e8f0;
}

html[data-theme="light"] .legal-section {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .legal-section:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .legal-section-head {
  border-bottom: 1px solid #e2e8f0;
}

html[data-theme="light"] .legal-section-head h2 {
  color: #0f172a;
}

html[data-theme="light"] .legal-section p,
html[data-theme="light"] .legal-section li {
  color: #334155;
}

html[data-theme="light"] .legal-highlight-box {
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-left: 4px solid #0284c7;
}

html[data-theme="light"] .legal-highlight-box p {
  color: #0f172a;
}

html[data-theme="light"] .legal-title {
  background: linear-gradient(180deg, #0f172a 40%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .legal-back-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}

html[data-theme="light"] .legal-back-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

html[data-theme="light"] .lang-switcher {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .lang-btn {
  color: #475569;
}

html[data-theme="light"] .lang-btn.active {
  background: var(--primary);
  color: #ffffff;
}

html[data-theme="light"] .glow-blob {
  opacity: 0.10;
}

/* --- Standard Theme Switcher Button --- */
.theme-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FBBF24;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.theme-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}

.theme-switcher-btn svg {
  width: 18px;
  height: 18px;
}

.theme-switcher-btn .icon-sun {
  display: block;
}

.theme-switcher-btn .icon-moon {
  display: none;
}

html[data-theme="light"] .theme-switcher-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #4F46E5;
}

html[data-theme="light"] .theme-switcher-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .theme-switcher-btn .icon-sun {
  display: none;
}

html[data-theme="light"] .theme-switcher-btn .icon-moon {
  display: block;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient glow blobs */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  left: 20%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: 10%;
  right: 15%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.8);
  border-bottom: 1px solid var(--border-card);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo-img {
  transform: rotate(15deg) scale(1.08);
}

.brand-badge {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-left: -2px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

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

.nav-links a:hover {
  color: var(--text-main);
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2px 4px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.btn-icon-right {
  margin-right: 0;
  margin-left: 8px;
}

.btn:hover .btn-icon-right {
  transform: translateX(4px);
}

.btn:hover .btn-icon:not(.btn-icon-right) {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  padding: 70px 0 80px;
  text-align: center;
  position: relative;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.45), 0 0 70px rgba(99, 102, 241, 0.25);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.hero-logo-img:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.65), 0 0 100px rgba(99, 102, 241, 0.45);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both 0.1s;
}

.hero-pill-icon {
  width: 16px;
  height: 16px;
  color: #38bdf8;
  flex-shrink: 0;
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.4)); }
  50% { opacity: 1; transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8)); }
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 900px;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.7s ease both 0.1s;
}

.hero-title-sub {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(135deg, #ffffff 25%, #38bdf8 65%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.7s ease both 0.2s;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 0.7s ease both 0.3s;
}

/* Stats Section */
.stats-section {
  padding: 10px 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card {
  text-align: center;
  padding: 10px;
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-icon-wrap {
  transform: translateY(-3px) scale(1.08);
}

.stat-icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.stat-icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.stat-icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.stat-icon-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.2px;
}

/* Products & Tech Sections */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
}

/* Glass Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-head .card-tag,
.tech-icon-wrap .card-tag {
  margin-bottom: 0;
}

.card-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.card:hover .card-icon-badge {
  transform: scale(1.08) rotate(3deg);
}

.badge-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.2);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.2);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.2);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex-grow: 1;
}

.card-link {
  margin-top: 20px;
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #fff;
}

.link-icon {
  transition: transform 0.25s ease;
}

.card-link:hover .link-icon {
  transform: translate(3px, -3px);
}

/* Tech Card specifics */
.tech-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tech-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.tech-card:hover .tech-icon-badge {
  transform: scale(1.08) rotate(-3deg);
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-chips span {
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

/* Contact Section */
.contact-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e2e8f0;
  font-weight: 500;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #22d3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.2);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.contact-item:hover .contact-icon-box {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

#form-status {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: fadeInDown 0.35s ease both;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-card);
  padding: 36px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 60px;
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; padding: 32px 24px; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-logo-img { width: 92px; height: 92px; }
  .hero h1 { font-size: 2.1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .footer-wrap { flex-direction: column; gap: 14px; text-align: center; }
}

/* Language Display Toggle */
html[lang="en"] .lang-content-hu { display: none !important; }
html[lang="hu"] .lang-content-en { display: none !important; }
html:not([lang="en"]) .lang-content-en { display: none !important; }

/* Legal Pages (Privacy & Terms) */
.legal-page {
  padding: 50px 0 90px;
  position: relative;
}

.legal-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 20px;
}

.legal-pill-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.legal-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-meta span {
  color: var(--accent);
  font-weight: 600;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-section:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.legal-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin: 0;
}

.legal-section p,
.legal-section li {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-section li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.legal-highlight-box {
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 20px 0;
}

.legal-highlight-box p {
  color: #e2e8f0;
  margin: 0;
  font-size: 0.95rem;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  transition: all 0.2s ease;
}

.legal-back-btn:hover {
  color: #fff;
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-3px);
}

@media (max-width: 600px) {
  .legal-title { font-size: 2.1rem; }
  .legal-section { padding: 24px 20px; }
  .legal-section-head h2 { font-size: 1.15rem; }
}
