/* Random but cohesive color palette */
:root {
  --color-bg: #050816;
  --color-bg-alt: #0f172a;
  --color-primary: #f97316;
  --color-primary-soft: rgba(249, 115, 22, 0.1);
  --color-secondary: #22c55e;
  --color-accent: #38bdf8;
  --color-text: #e5e7eb;
  --color-muted: #94a3b8;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-slow: 0.35s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #020617 100%);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #020617 0, #020617 40%, #020617 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 2.1vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-muted);
  max-width: 38rem;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.82), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: conic-gradient(from 180deg, #f97316 0, #22c55e 40%, #38bdf8 70%, #f97316 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-shadow: 0 0 14px rgba(15, 23, 42, 0.9);
}

.logo-text {
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  font-size: 0.93rem;
}

.nav-links a {
  position: relative;
  padding-block: 0.25rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
}

/* Hero */
.hero {
  padding-top: 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.25rem, 3.1vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--color-muted);
}

.hero-keywords {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-media img {
  border-radius: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--color-primary) 0, #ea580c 45%, #c2410c 100%);
  color: #0b1120;
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.6);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--color-text);
  background: rgba(15, 23, 42, 0.85);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary), #16a34a);
  color: #020617;
}

/* Cards & grids */
.products-highlight-grid,
.news-grid,
.columns-grid {
  display: grid;
  gap: 1.75rem;
}

.products-highlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.columns-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9) 0, rgba(15, 23, 42, 1) 45%, rgba(15, 23, 42, 1) 100%);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.product-card img {
  background: radial-gradient(circle at center, var(--color-primary-soft), transparent 60%);
}

.card-body {
  padding: 1.35rem 1.4rem 1.4rem;
}

.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.card-body p {
  margin: 0.25rem 0 0.9rem;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.card-link {
  font-size: 0.9rem;
  color: var(--color-accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.65rem;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.09);
  border: 1px solid rgba(34, 197, 94, 0.8);
  color: #bbf7d0;
  margin-bottom: 0.8rem;
}

.badge-alt {
  background: rgba(59, 130, 246, 0.09);
  border-color: rgba(59, 130, 246, 0.8);
  color: #bfdbfe;
}

.badge-alt-2 {
  background: rgba(244, 63, 94, 0.09);
  border-color: rgba(244, 63, 94, 0.85);
  color: #fecaca;
}

.meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.feature-list {
  padding-left: 1.1rem;
  margin: 0.9rem 0 0;
  color: var(--color-muted);
}

.feature-list li + li {
  margin-top: 0.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 2.4rem;
  padding-bottom: 1.6rem;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  font-size: 0.9rem;
}

.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 0.2rem;
}

.footer-longtail {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(30, 41, 59, 0.9);
  padding-top: 1rem;
  color: var(--color-muted);
  font-size: 0.8rem;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-block: 0.7rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 1.25rem;
    top: 100%;
    margin-top: 0.6rem;
    flex-direction: column;
    padding: 0.8rem 1rem 1rem;
    border-radius: 1rem;
    background: radial-gradient(circle at top left, #020617 0, #020617 45%, #020617 100%);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.95);
    transform-origin: top;
    transform: scaleY(0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0.18s ease-out;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 1.6rem, 640px);
  }

  .hero {
    padding-top: 4.5rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


