:root {
  --bg: #0f172a; /* slate-900 */
  --panel: #0b1220; /* deep ink */
  --text: #e5e7eb; /* slate-200 */
  --muted: #94a3b8; /* slate-400 */
  --brand: #14b8a6; /* teal-500 */
  --brand-2: #3b82f6; /* blue-500 */
  --accent: #f59e0b; /* amber-500 */
  --card: #0f172a;
  --line: rgba(148, 163, 184, 0.18);
  --shadow: 0 12px 40px rgba(2, 6, 23, 0.35);
  --radius: 18px;
  --radius-lg: 22px;
  --radius-sm: 12px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(
      1200px 800px at 10% -10%,
      rgba(20, 184, 166, 0.15),
      transparent 60%
    ),
    radial-gradient(
      1200px 800px at 110% 10%,
      rgba(59, 130, 246, 0.12),
      transparent 60%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden; /* kill horizontal scroll */
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 600;
  transition: 0.25s ease;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
  backdrop-filter: blur(6px);
}
.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.3);
}
.btn-primary:hover {
  filter: saturate(1.1);
}
.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ================= NAV ================= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.logo-dot {
  width: 10px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.menu a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}
/* burger */
#nav-toggle {
  display: none;
}
.burger {
  display: none;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.burger span {
  width: 20px;
  height: 2px;
  background: #d1d5db;
  display: block;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d1d5db;
  transition: 0.25s ease;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

/* Drawer using checkbox hack */
.drawer {
  position: fixed;
  inset: 0;
  display: none;
}
#nav-toggle:checked ~ .drawer {
  display: block;
}
.drawer .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.6); /* not transparent now */
}
.drawer .panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 80%;
  max-width: 18rem;
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: 0.25s ease;
  padding: 20px 16px;
}
#nav-toggle:checked ~ .drawer .panel {
  transform: none;
}
.drawer a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.drawer a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

/* ================ HERO ================ */
.hero {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.headline {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(
    90deg,
    var(--brand),
    var(--brand-2),
    var(--accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 10px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.hero-badges {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  max-width: 460px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: var(--shadow);
}
.hero-photo {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
}
.price-chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  font-weight: 700;
}

/* ============== SECTION HEAD ============== */
.section {
  padding: 70px 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.section h2 {
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.01em;
  margin: 0;
}
.muted {
  color: var(--muted);
}

/* ============== CARDS GRID ============== */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card img {
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card-body {
  padding: 16px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.meta .tag {
  font-size: 0.8rem;
}
.price {
  font-weight: 800;
}
.cta-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding: 0 16px 16px;
}

/* ============== FEATURES / WHY US ============== */
.feature-wrap {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.feature h4 {
  margin: 8px 0 6px;
}

/* ============== CONTACT ============== */
form {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
textarea.input {
  min-height: 120px;
  resize: vertical;
}
.input:focus {
  outline: none;
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* ============== FOOTER ============== */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: #a5b4fc44;
  text-align: center;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-card {
    margin: 0;
  }
  .menu {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Nice scrollbars (non-intrusive) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
