:root {
  color-scheme: light;
  --bg: #f2f6ff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6776;
  --primary: #2e5cf8;
  --primary-soft: #e8efff;
  --accent: #ffb53d;
  --accent-soft: #fff2d5;
  --border: rgba(46, 92, 248, 0.12);
  --radius: 28px;
  --max-width: 1200px;
  font-family: 'Inter', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(46, 92, 248, 0.16), transparent 25%), radial-gradient(circle at bottom right, rgba(255, 181, 61, 0.12), transparent 22%), #f2f6ff;
  color: var(--text);
  line-height: 1.75;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover,
a:focus-visible {
  text-decoration: none;
  color: #1f4cd8;
}
button,
button[type='submit'] {
  font: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: rgba(255, 255, 255, 0.89);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(46, 92, 248, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.header-inner,
.site-footer,
.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 34px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-logo {
  width: 92px;
  min-width: 92px;
  border-radius: 22px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 22px 60px rgba(38, 72, 240, 0.1);
}
.brand-copy {
  display: grid;
  gap: 6px;
}
.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.brand-tagline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.site-nav a {
  padding: 14px 16px;
  color: var(--text);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateY(-1px);
}
.nav-actions {
  display: flex;
  align-items: center;
}
.nav-cta {
  border-radius: 999px;
  padding: 14px 26px;
  box-shadow: 0 18px 45px rgba(46, 92, 248, 0.18);
}
.page-shell {
  padding-top: 52px;
  padding-bottom: 64px;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.header-inner > .site-nav {
  justify-content: center;
}
.hide-header {
  transform: translateY(-120%);
}
.hero {
  display: grid;
  gap: 42px;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 1fr);
  margin-top: 20px;
}
.hero-copy h2 {
  margin-top: 0;
  font-size: clamp(2.7rem, 3.7vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}
.hero-copy p {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.08rem;
}
.hero-copy .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero-image {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 35px 100px rgba(46, 92, 248, 0.18);
}
.hero-image img {
  min-height: 100%;
  object-fit: cover;
}
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.button-primary {
  background: linear-gradient(135deg, var(--primary), #1a3dd1);
  color: white;
  box-shadow: 0 18px 45px rgba(38, 72, 240, 0.18);
}
.button-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(18, 32, 58, 0.08);
}
.button-primary:hover,
.button-secondary:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}
.hero-image {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(18, 32, 58, 0.12);
}
.section {
  margin-top: 72px;
  padding: 24px 24px 8px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.85));
  box-shadow: 0 28px 90px rgba(46, 92, 248, 0.08);
}
.section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.95rem, 2.6vw, 2.85rem);
}
.grid-3,
.grid-2 {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card,
.card-panel {
  background: #ffffff;
  border: 1px solid rgba(46, 92, 248, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 26px 90px rgba(46, 92, 248, 0.08);
}
.card h3,
.card-panel h3 {
  margin-top: 0;
  font-size: 1.35rem;
}
.card p,
.card-panel p {
  color: var(--muted);
}
.card-panel {
  border-left: 6px solid var(--accent);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-list li::before {
  content: '•';
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2px;
}
.product-hero {
  display: grid;
  gap: 30px;
  align-items: center;
  grid-template-columns: 1.2fr minmax(320px, 1fr);
}
.product-gallery {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}
.product-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 26px 90px rgba(46, 92, 248, 0.08);
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-card h4 {
  margin: 18px 20px 8px;
}
.product-card p {
  color: var(--muted);
  margin: 0 20px 20px;
}
.product-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.contact-panel {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 24px 70px rgba(18, 32, 58, 0.08);
}
.contact-panel form {
  display: grid;
  gap: 18px;
  padding: 28px;
}
.contact-panel label {
  font-weight: 700;
}
.contact-panel input,
.contact-panel textarea {
  width: 100%;
  border: 1px solid rgba(18, 32, 58, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  background: #fbfcff;
}
.contact-panel textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-panel button {
  width: fit-content;
}
.notice {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(38, 72, 240, 0.1);
  color: #0d2e8a;
  border: 1px solid rgba(38, 72, 240, 0.18);
}
.notice.error {
  background: rgba(242, 166, 0, 0.12);
  color: #5e3f00;
  border-color: rgba(242, 166, 0, 0.18);
}
.site-footer {
  background: linear-gradient(135deg, #101828, #15233e 68%);
  color: #eef2ff;
  padding-top: 60px;
  padding-bottom: 40px;
}
.footer-top {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 36px;
}
.brand-card,
.footer-links,
.footer-contact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 28px;
}
.footer-logo {
  width: 56px;
  margin-bottom: 18px;
}
.footer-links h3,
.footer-contact h3 {
  margin-top: 0;
}
.footer-links a,
.footer-contact a {
  display: inline-block;
  color: #ffffff;
  margin-top: 10px;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.9);
}
.footer-bottom a:hover {
  color: var(--accent);
}
@media (max-width: 960px) {
  .header-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav {
    justify-content: center;
  }
}
@media (max-width: 820px) {
  .hero,
  .product-hero {
    grid-template-columns: 1fr;
  }
  .site-nav {
    gap: 12px;
  }
  .header-inner {
    gap: 18px;
  }
}
