/* Global reset and premium base */
:root {
  --primary-blue: #2563eb;
  --primary-dark: #0f172a;
  --secondary-green: #22c55e;
  --text-color: #0f172a;
  --muted-color: #54627a;
  --background: #f8fafc;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.65;
  color: var(--text-color);
  background: var(--background);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

section {
  padding: 5rem 0;
}

.glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: #4b5563;
}

.brand-tag {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary-blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.nav-toggle span {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text-color);
}

.hero {
  padding: 5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 3.8vw, 3.7rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy p {
  margin: 0;
  color: var(--muted-color);
  max-width: 640px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--primary-blue), #3b82f6);
}

.btn-secondary {
  color: var(--primary-blue);
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.16);
}

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

.stats div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.stats span {
  color: var(--muted-color);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  max-width: 220px;
}

.floating-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.floating-card p {
  margin: 0;
  color: var(--muted-color);
  font-size: 0.84rem;
}

.card-one {
  left: -1rem;
  bottom: 1.5rem;
}

.card-two {
  right: -1rem;
  top: 1.5rem;
}

.why-us {
  background: linear-gradient(180deg, #f8fbff 0%, var(--background) 100%);
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.feature-grid,
.category-grid,
.product-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 1.3rem;
  border-radius: 1.2rem;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted-color);
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}

.category-card img,
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-card div,
.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.category-card h3,
.product-card h3 {
  margin: 0 0 0.35rem;
}

.category-card p,
.product-card p {
  margin: 0;
  color: var(--muted-color);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-weight: 600;
}

.product-meta span {
  color: var(--primary-blue);
}

.product-meta a {
  color: var(--secondary-green);
}

.about-section {
  background: #f9fbff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.about-grid p {
  color: var(--muted-color);
}

.about-card {
  padding: 1.5rem;
  border-radius: 1.3rem;
}

.about-card ul {
  padding-left: 1rem;
  color: var(--muted-color);
}

.contact-shell {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(860px, 100%);
  padding: 2rem;
  border-radius: 1.6rem;
}

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

.contact-details h3 {
  margin-bottom: 0.25rem;
}

.contact-details p {
  margin: 0;
  color: var(--muted-color);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  padding: 3.2rem 0 1.6rem;
  background: var(--primary-dark);
  color: #dbe4f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-brand .brand-name {
  color: #90a2bc;
}

.footer-grid h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 0.4rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-green));
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    height: 420px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: min(240px, calc(100% - 2rem));
    padding: 0.9rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .feature-grid,
  .category-grid,
  .product-grid,
  .contact-details,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-one,
  .card-two {
    position: static;
    margin-top: 0.8rem;
  }

  .hero-media {
    display: grid;
    gap: 0.8rem;
  }
}
