/* ============================================================
   Nimbus — Marketing site styles
   Palette derived from the brand logo:
   deep navy #0d1125 · warm orange #f28e2e / #f2be75
   teal #62c7c6 / #7df0d9 · amber #fde388
   ============================================================ */

:root {
  --bg: #0d1125;
  --bg-soft: #141a36;
  --bg-card: #1a2142;
  --bg-card-hover: #202a52;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6ff;
  --text-muted: #a7b0d0;
  --text-dim: #7c86ad;
  --orange: #f28e2e;
  --orange-soft: #f2be75;
  --amber: #fde388;
  --teal: #62c7c6;
  --teal-soft: #7df0d9;
  --blue: #3c8ca6;
  --gradient: linear-gradient(120deg, #fde388 0%, #f28e2e 45%, #e05a3a 100%);
  --gradient-teal: linear-gradient(120deg, #7df0d9 0%, #62c7c6 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #1a0f05;
  box-shadow: 0 8px 24px rgba(242, 142, 46, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(242, 142, 46, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-soft); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 37, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; }
.nav-actions .btn { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 24px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  padding: 12px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}
.mobile-menu a:hover { background: var(--bg-card); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-glow-a { width: 520px; height: 520px; background: rgba(242, 142, 46, 0.35); top: -160px; left: -120px; }
.hero-glow-b { width: 460px; height: 460px; background: rgba(98, 199, 198, 0.28); bottom: -120px; right: -100px; }

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(242, 142, 46, 0.12);
  border: 1px solid rgba(242, 142, 46, 0.35);
  color: var(--orange-soft);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-strong);
  margin-bottom: 26px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 142, 46, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 142, 46, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(242, 142, 46, 0.05); }
}
.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  max-width: 640px;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-muted);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-dim); }

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 64px auto 0;
}
.visual-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.visual-card-main { padding: 20px 24px 26px; }
.vc-head { display: flex; gap: 8px; margin-bottom: 20px; }
.vc-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.vc-dot:nth-child(1) { background: #ff5f57; }
.vc-dot:nth-child(2) { background: #febc2e; }
.vc-dot:nth-child(3) { background: #28c840; }
.vc-body { display: flex; flex-direction: column; gap: 14px; }
.vc-row { display: flex; justify-content: space-between; font-size: 14px; }
.vc-label { color: var(--text-muted); }
.vc-value { font-weight: 700; color: var(--text); }
.vc-bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.vc-bar-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--gradient);
}
.visual-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 14px;
}
.visual-card-float strong { display: block; font-size: 14px; }
.visual-card-float span { color: var(--text-dim); font-size: 12px; }
.visual-card-float .vc-float-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(40, 200, 64, 0.15);
  color: #28c840;
  font-size: 16px;
  font-weight: 700;
}
.visual-card-float-b { right: -20px; top: -30px; }
.visual-card-float-b .vc-float-icon {
  background: rgba(98, 199, 198, 0.15);
  color: var(--teal-soft);
}
.visual-card-float-a { left: -30px; bottom: -24px; }

/* ---------- Logo strip ---------- */
.logostrip { padding: 40px 0 70px; border-top: 1px solid var(--border); }
.logostrip-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.logostrip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
}
.logostrip-logos span {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dim);
  opacity: 0.7;
  letter-spacing: -0.01em;
}

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-sub { font-size: 17px; color: var(--text-muted); }

/* ---------- Products ---------- */
.products { padding: 90px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.product-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  margin-bottom: 22px;
}
.product-icon svg { width: 26px; height: 26px; }
.icon-orange { background: rgba(242, 142, 46, 0.15); color: var(--orange); }
.icon-teal { background: rgba(98, 199, 198, 0.15); color: var(--teal); }
.icon-amber { background: rgba(253, 227, 136, 0.15); color: var(--amber); }
.icon-blue { background: rgba(60, 140, 166, 0.18); color: var(--blue); }
.product-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.product-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link span { transition: transform 0.2s ease; }
.card-link:hover span { transform: translateX(4px); }

/* ---------- About ---------- */
.about { padding: 90px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.about-stats strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-stats span { font-size: 13px; color: var(--text-dim); }

.about-visual { position: relative; }
.about-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.about-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.about-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.about-card-head span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.about-card blockquote {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 28px;
  border-left: 3px solid var(--orange);
  padding-left: 20px;
}
.about-card-foot { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #1a0f05;
  font-weight: 700;
  font-size: 16px;
}
.about-card-foot strong { display: block; font-size: 15px; }
.about-card-foot span { font-size: 13px; color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact { padding: 90px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 18px; }
.contact-info > p { color: var(--text-muted); font-size: 16px; margin-bottom: 30px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--orange);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 15px; }
.contact-list span { font-size: 14px; color: var(--text-muted); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 142, 46, 0.15);
}
.form-field input.error,
.form-field textarea.error { border-color: #ff5f57; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--text-dim); text-align: center; }
.form-note.success { color: var(--teal-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--orange-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 340px; }
  .hero-actions .btn { width: 100%; }
  .visual-card-float-a { left: 0; bottom: -20px; }
  .visual-card-float-b { right: 0; top: -20px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}