:root {
  --gradient: linear-gradient(135deg, #10b981, #0ea5e9);
  --gradient-hover: linear-gradient(135deg, #0ea5e9, #10b981);
}

[data-theme="dark"] {
  --bg-primary: #05060a;
  --bg-secondary: #0b0d14;
  --bg-card: #0f1220;
  --bg-card-hover: #141a2c;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b80;
  --border-color: rgba(255, 255, 255, 0.12);
  --nav-bg: rgba(5, 6, 10, 0.75);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f5;
  --text-primary: #0b1220;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-color: rgba(0, 0, 0, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.85);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  color: rgba(16, 185, 129, 0.95);
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.18);
}
.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(16, 185, 129, 0.26);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: rgba(16, 185, 129, 0.6);
  color: rgba(16, 185, 129, 0.95);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(18px);
}

.navbar .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 900;
  white-space: nowrap;
}
.nav-brand .dot {
  color: #10b981;
}
.nav-brand .tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 700;
  position: relative;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--gradient);
  transition: width 0.25s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

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

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
}
.theme-toggle:hover {
  border-color: rgba(16, 185, 129, 0.6);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--bg-primary);
  padding: 28px 24px;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 1.15rem;
}
.mobile-menu a:hover {
  color: var(--text-primary);
}

/* Hero slider */
.hero {
  min-height: 92vh;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  min-height: 92vh;
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.25), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(14, 165, 233, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.35));
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-fallback {
  position: relative;
  display: flex;
  align-items: center;
}
.hero-fallback-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 24px 64px;
}
.hero-kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(15, 18, 32, 0.65);
  color: var(--text-secondary);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-fallback h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 18px;
}
.hero-sub {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(5, 6, 10, 0.55);
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  z-index: 3;
}
.hero-slider-btn:hover {
  border-color: rgba(16, 185, 129, 0.7);
  color: rgba(16, 185, 129, 0.95);
}
.hero-slider-btn-prev {
  left: 18px;
}
.hero-slider-btn-next {
  right: 18px;
}

/* Sections */
.section {
  padding: 110px 0;
}
.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.45);
  background: var(--bg-card-hover);
}
.card-media {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.22), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.03);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.price {
  font-weight: 900;
  letter-spacing: 0.5px;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 56px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: var(--text-muted);
}
.footer-link {
  color: var(--text-secondary);
  font-weight: 800;
}
.footer-link:hover {
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-fallback-inner {
    padding-top: 96px;
  }
}

