:root {
  --bg-dark: #05070f;
  --bg-card: rgba(10, 16, 28, 0.78);
  --bg-card-hover: rgba(14, 23, 40, 0.9);
  --cyan-bright: #00f3ff;
  --cyan-glow: rgba(0, 243, 255, 0.35);
  --cyan-dim: rgba(0, 243, 255, 0.12);
  --blue-accent: #0066ff;
  --magenta-accent: #ff007f;
  --text-main: #f0f6fc;
  --text-muted: #94a3b8;
  --border-neon: rgba(0, 243, 255, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1240px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  background-image: 
    linear-gradient(rgba(0, 243, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  overflow-x: hidden;
}

a {
  color: var(--cyan-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--cyan-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Slim Responsive Header */
.site-header {
  width: 100%;
  background: rgba(5, 7, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-neon);
  box-shadow: 0 4px 25px rgba(0, 243, 255, 0.08);
  position: relative;
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 6px var(--cyan-bright));
}

.brand-logo span {
  color: var(--cyan-bright);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan-bright);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan-bright);
  box-shadow: 0 0 8px var(--cyan-bright);
}

.nav-cta {
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue-accent));
  color: #000;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px var(--cyan-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px var(--cyan-bright);
  color: #000;
  text-shadow: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--cyan-bright);
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, rgba(5, 7, 15, 0) 70%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-tag {
  display: inline-block;
  background: var(--cyan-dim);
  color: var(--cyan-bright);
  border: 1px solid var(--border-neon);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff 30%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue-accent));
  color: #000;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px var(--cyan-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--cyan-bright);
  color: #000;
  text-shadow: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-neon);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan-bright);
  color: #fff;
  text-shadow: none;
}

/* Grid & Cards */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--cyan-bright);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.15);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0d1322;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 7, 15, 0.85);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
  line-height: 1.35;
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-action {
  margin-top: auto;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--cyan-dim);
  color: var(--cyan-bright);
  border: 1px solid var(--border-neon);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-btn:hover {
  background: var(--cyan-bright);
  color: #000;
  box-shadow: 0 0 15px var(--cyan-bright);
  text-shadow: none;
}

/* Feature Detail Page Layouts */
.detail-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.detail-banner {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.12);
  margin-bottom: 2.5rem;
}

.content-body {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.content-body h2 {
  color: var(--cyan-bright);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-neon);
}

.content-body h2:first-child {
  margin-top: 0;
}

.content-body h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 1.5rem 0 0.8rem;
}

.content-body p {
  margin-bottom: 1.2rem;
}

.content-body ul, .content-body ol {
  margin: 0 0 1.5rem 1.5rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  background: rgba(5, 7, 15, 0.6);
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-neon);
  margin: 1.5rem 0;
}

.spec-item strong {
  display: block;
  color: var(--cyan-bright);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.spec-item span {
  color: #fff;
  font-weight: 600;
}

/* Legal & Contact Content Styles */
.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-box h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-box h2 {
  font-size: 1.4rem;
  color: var(--cyan-bright);
  margin: 1.8rem 0 0.8rem;
}

.legal-box p, .legal-box li {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.legal-box ul {
  padding-left: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-control {
  background: rgba(5, 7, 15, 0.8);
  border: 1px solid var(--border-neon);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan-bright);
  box-shadow: 0 0 10px var(--cyan-glow);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Universal Footer */
.site-footer {
  background: #030408;
  border-top: 1px solid var(--border-neon);
  padding: 4rem 1.5rem 2rem;
  margin-top: 5rem;
  position: relative;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cookie Consent Popup */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  background: rgba(10, 16, 28, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--cyan-bright);
  border-radius: 10px;
  padding: 1.4rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 20px var(--cyan-glow);
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.cookie-btn-accept {
  background: var(--cyan-bright);
  color: #000;
}

.cookie-btn-accept:hover {
  box-shadow: 0 0 10px var(--cyan-bright);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.cookie-btn-decline:hover {
  color: #fff;
  border-color: #fff;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 7, 15, 0.98);
    border-bottom: 1px solid var(--border-neon);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}