/* ===== Root & Global Styles ===== */
:root {
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-surface-soft: #f0f0f3;
  --color-primary: #1e88e5;
  --color-primary-soft: rgba(30, 136, 229, 0.1);
  --color-primary-dark: #1565c0;
  --color-accent: #ffb300;
  --color-text-main: #111827;
  --color-text-soft: #4b5563;
  --color-border-subtle: #e5e7eb;
  --color-header-footer-bg: #050816;
  --color-header-footer-border: #111827;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition-fast: 180ms ease-out;
  --transition-med: 240ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #dbeafe 0, #f5f5f7 45%, #e5e7eb 100%);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== Layout Helpers ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to right, #020617, #020617 40%, #020617dd 100%);
  border-bottom: 1px solid var(--color-header-footer-border);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #e5e7eb;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 32% 68% 43% 57% / 37% 29% 71% 63%;
  background: radial-gradient(circle at 20% 0, #fde68a 0, #f59e0b 35%, #e11d48 80%);
  color: #020617;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.55);
}

.logo-text {
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  color: #e5e7eb;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 24% 0 24%;
  height: 2px;
  border-radius: 999px;
  transform-origin: center;
  transform: scaleX(0);
  background: linear-gradient(to right, #60a5fa, #a855f7, #f97316);
  transition: transform var(--transition-med);
}

.nav-link:hover {
  background: rgba(148, 163, 184, 0.15);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* ===== Hero Section ===== */
.hero-section {
  padding: 4.25rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #2563eb;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 3.2vw + 1rem, 3.2rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--color-text-soft);
  max-width: 32rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Hero media */
.hero-media {
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 0.55rem;
  border-radius: 30px;
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 35%, #020617 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-image {
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-image-1 {
  height: 230px;
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.7)),
    url("https://images.pexels.com/photos/4871128/pexels-photo-4871128.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.hero-image-2 {
  position: absolute;
  right: 8%;
  bottom: 6%;
  width: 52%;
  height: 150px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.85)),
    url("https://images.pexels.com/photos/3730930/pexels-photo-3730930.jpeg?auto=compress&cs=tinysrgb&w=1200");
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.hero-badge {
  position: absolute;
  left: 8%;
  bottom: 8%;
  padding: 0.55rem 0.8rem;
  max-width: 55%;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  font-size: 0.78rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.65);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-med), color var(--transition-med),
    box-shadow var(--transition-med), border-color var(--transition-med),
    transform var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.55);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.02);
  color: #111827;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.12);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #111827;
  color: #f9fafb;
  border-color: #0f172a;
}

.btn-secondary:hover {
  background: #020617;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #111827;
  border-color: #d1d5db;
}

.btn-outline:hover {
  background: #f3f4f6;
}

.full-width {
  width: 100%;
}

/* ===== Sections: Products, Info, Contact ===== */
.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  font-size: 1.7rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--color-text-soft);
  max-width: 30rem;
  margin-inline: auto;
  font-size: 0.96rem;
}

/* Products */
.products-section {
  padding: 2.5rem 0 2.8rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #ffffff, #f5f5f7 60%, #e5e7eb 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med), background var(--transition-med);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.16);
  border-color: rgba(59, 130, 246, 0.4);
  background: radial-gradient(circle at top, #eef2ff, #f5f5f7 55%, #e5e7eb 100%);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #020617;
}

.product-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform var(--transition-med), filter var(--transition-med);
}

.product-card:hover .product-image {
  transform: scale(1.03);
  filter: saturate(1.07);
}

.product-tag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.65);
}

.product-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-title {
  font-size: 1.02rem;
  margin: 0;
}

.product-description {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-text-soft);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 0.75rem;
}

.product-price-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.product-price {
  font-weight: 600;
  font-size: 1rem;
}

.product-price-note {
  font-size: 0.76rem;
  color: #6b7280;
}

/* Info Section (About) */
.info-section {
  padding: 2.8rem 0 2.6rem;
}

.info-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.info-copy h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.info-copy p {
  margin: 0 0 0.6rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.info-highlights {
  display: grid;
  gap: 0.9rem;
}

.info-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.05);
}

.info-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-soft);
}

/* Contact Section */
.contact-section {
  padding: 2.6rem 0 3.2rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: start;
}

.contact-copy h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.contact-copy p {
  margin: 0 0 0.75rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.contact-details li + li {
  margin-top: 0.25rem;
}

/* Contact form */
.contact-form {
  padding: 1.2rem 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #020617, #020617);
  border: 1px solid rgba(75, 85, 99, 0.9);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.65);
  color: #e5e7eb;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-row label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

input,
textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  outline: none;
  transition: border-color var(--transition-med), box-shadow var(--transition-med),
    background-color var(--transition-med), transform var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.7);
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.77rem;
  color: #9ca3af;
}

/* ===== Footer ===== */
.site-footer {
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617 100%);
  border-top: 1px solid var(--color-header-footer-border);
  color: #9ca3af;
  padding: 1.4rem 0 1.6rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #e5e7eb;
}

.footer-meta {
  text-align: right;
}

.footer-copy {
  margin: 0;
}

.footer-sub {
  margin: 0.1rem 0 0;
  color: #6b7280;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 2.2rem;
  }

  .info-inner,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .logo-text {
    font-size: 0.88rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.35rem;
    padding: 0.5rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(55, 65, 81, 0.9);
    backdrop-filter: blur(18px);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .nav-links.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding-inline: 0.4rem;
  }

  .hero-section {
    padding-top: 3.2rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .hero-image-card {
    max-width: 360px;
  }

  .hero-meta {
    gap: 0.45rem 0.9rem;
  }

  .info-section,
  .products-section,
  .contact-section {
    padding-inline: 0;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 1.1rem;
  }

  .hero-section {
    padding-top: 2.6rem;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-badge {
    max-width: 68%;
  }

  .product-card {
    border-radius: 16px;
  }

  .contact-form {
    padding-inline: 1rem;
  }
}