:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05060d;
  color: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 22%),
              radial-gradient(circle at 20% 10%, rgba(94, 234, 212, 0.12), transparent 18%),
              #05060d;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%),
                    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.15), transparent 12%);
  pointer-events: none;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-shell {
  min-height: 100vh;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.5rem 1rem;
  text-align: center;
}

.page-header .container {
  display: flex;
  justify-content: center;
}

.header-grid {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.hero-copy {
  max-width: 62rem;
  width: 100%;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #38bdf8;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: 1.01;
  letter-spacing: -0.05em;
  color: #f8fafc;
}

.intro {
  margin: 1.5rem auto 0;
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #cbd5e1;
  text-align: center;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-label {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.hero-card {
  padding: 1.75rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 80px rgba(15, 23, 42, 0.4);
}

.hero-card p {
  margin: 0 0 1rem;
  color: #94a3b8;
}

.hero-box {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.55));
  color: #e2e8f0;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.main-content {
  padding-bottom: 4rem;
  display: grid;
  gap: 3rem;
}

.widget-section {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-height: calc(100vh - 170px);
  align-items: stretch;
  justify-items: stretch;
  text-align: center;
  padding: 1rem 0 0;
}

.widget-header {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

.widget-header > div {
  width: 100%;
  text-align: center;
}

.widget-header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(59, 130, 246, 0.1));
  color: #7dd3fc;
  font-weight: 700;
}

.widget-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: #f8fafc;
}

.widget-header p {
  margin: 0;
  color: #94a3b8;
}

.iframe-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  border: none;
  max-width: 100%;
}

.iframe-wrapper iframe {
  width: 100%;
  min-height: calc(100vh - 220px);
  height: auto;
  border: 0;
  display: block;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  overflow-y: auto;
}

.footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 1.5rem;
}

.small-note {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .header-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .design-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .design-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
