:root {
  --bg-main: #05060a;
  --bg-alt: #111521;
  --accent-blue: #0066b3;
  --accent-orange: #f4a300;
  --text-light: #ffffff;
  --text-muted: #d0d4e0;
  --border-color: #2a3244;
  --danger: #ff4b4b;
  --max-width: 1080px;
  --radius: 10px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-light);
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 10, 0.96);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo img {
  height: 48px;
  display: block;
}

/* Navigation */

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

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(244, 163, 0, 0.1);
}

.nav-link.active {
  background: var(--accent-blue);
}

/* Mobile Nav Toggle */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Sections */

.section {
  padding: 4rem 0 4rem;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
}

.section-intro {
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 2rem;
}

/* Hero */

.hero {
  padding: 6rem 0 5rem;
  background: radial-gradient(circle at top left,
      rgba(0, 102, 179, 0.5),
      transparent 55%),
    radial-gradient(circle at bottom right,
      rgba(244, 163, 0, 0.4),
      transparent 55%);
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Grid */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Cards */

.card {
  background: rgba(17, 21, 33, 0.9);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  transition: border 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: rgba(244, 163, 0, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-orange);
}

.card-content {
  flex-grow: 1;
}

/* Link Lists inside cards (from Internaix) */
.card ul {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
  list-style: none;
}

.card ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  transform: translateY(-50%);
}

.card-outline {
  background: transparent;
  border-style: dashed;
}

/* Pricing Toggle Switch (from Internaix) */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
  font-weight: 600;
  position: relative;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--accent-blue);
}

input:checked+.slider:before {
  transform: translateX(24px);
  background-color: #fff;
}

.save-badge {
  position: absolute;
  top: -12px;
  left: 100%;
  margin-left: 8px;
  background: var(--accent-orange);
  color: #000;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  transform: rotate(0deg);
  white-space: nowrap;
}

.toggle-label {
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}

.toggle-label.active {
  color: var(--text-light);
}

.hidden {
  display: none !important;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.05);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  background-color: #05060a;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

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

/* Cookie Banner (from Internaix) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5, 6, 10, 0.97);
  border-top: 1px solid var(--border-color);
  padding: 0.8rem 0;
  z-index: 100;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-banner.hidden {
  display: none;
}


/* Responsive */

@media (max-width: 768px) {

  .grid-3,
  .grid-2,
  .grid-2-contact-custom {
    grid-template-columns: 1fr !important;
  }

  .header-inner {
    padding: 0.8rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #05060a;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    gap: 0.5rem;
  }

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

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}