/* ============================================
   Naprio Studios — Global Styles
   Warm + calm, with airy spacing
   ============================================ */

:root {
  /* Brand colors */
  --c-brand-blue: #3B82F6;
  --c-sky-blue: #4FC2F7;
  --c-coral: #FF8A76;
  --c-green: #0FB882;
  --c-gold: #F7C245;
  --c-gold-dark: #B8840A;

  /* Ink + surfaces */
  --c-ink: #0E1116;
  --c-ink-muted: #5C636E;
  --c-surface: #FFFFFF;
  --c-surface-soft: #FAFAFC;
  --c-border: #E6E8EA;

  /* Warm tints (for hero gradients etc) */
  --c-warm-1: #FFF6F0;
  --c-warm-2: #F0F7FF;
  --c-warm-gold: #FFF8E1;

  /* Spacing rhythm */
  --pad-section: 128px;
  --pad-section-mobile: 72px;
  --container: 1200px;

  /* Radii */
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  /* Shadows — soft */
  --shadow-card: 0 12px 24px rgba(14, 17, 22, 0.06), 0 2px 6px rgba(14, 17, 22, 0.04);
  --shadow-card-hover: 0 20px 40px rgba(14, 17, 22, 0.10), 0 4px 12px rgba(14, 17, 22, 0.06);
  --shadow-float: 0 30px 60px rgba(14, 17, 22, 0.12), 0 10px 24px rgba(14, 17, 22, 0.08);
}

/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Nunito', 'Quicksand', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--c-brand-blue);
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover {
  color: var(--c-coral);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   Type system
   ============================================ */

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--c-ink);
  text-wrap: balance;
}

.h1, h1 {
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.h2, h2 {
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h3, h3 {
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h4, h4 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
}

.body-lg {
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-ink-muted);
}

.body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-muted);
}

.caption {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-brand-blue);
  display: inline-block;
}

.caption--sky { color: var(--c-sky-blue); }
.caption--gold { color: var(--c-gold-dark); }
.caption--ink-muted { color: var(--c-ink-muted); }

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

section {
  padding: var(--pad-section) 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: var(--pad-section-mobile) 0;
  }
}

.section--soft { background: var(--c-surface-soft); }
.section--warm-gold { background: var(--c-warm-gold); }
.section--ink {
  background: var(--c-ink);
  color: #fff;
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 {
  color: #fff;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--c-border);
  height: 72px;
  display: flex;
  align-items: center;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-weight: 900;
  font-size: 22px;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.wordmark:hover {
  color: var(--c-ink);
}

.wordmark__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--c-coral);
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__link {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-ink-muted);
  position: relative;
}

.site-nav__link.is-active {
  color: var(--c-ink);
}

.site-nav__link:hover {
  color: var(--c-brand-blue);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-cluster { gap: 12px; }
  .site-header { height: 64px; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  background: transparent;
  color: var(--c-ink);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-brand-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.24);
}

.btn--primary:hover {
  background: #2c6be0;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.32);
}

.btn--ghost {
  color: var(--c-brand-blue);
  background: transparent;
  padding: 0 12px;
}

.btn--ghost:hover {
  color: var(--c-coral);
}

.btn--inverse {
  background: #fff;
  color: var(--c-brand-blue);
}

.btn--inverse:hover {
  background: #fff;
  color: var(--c-coral);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.btn--sm {
  height: 40px;
  font-size: 14px;
  padding: 0 18px;
}

/* Text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--c-brand-blue);
  font-size: 15px;
}

.text-link__arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.text-link:hover .text-link__arrow {
  transform: translateX(4px);
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--c-brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.card__title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card__body {
  color: var(--c-ink-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Glass card variant */
.card--glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 12px 32px rgba(14, 17, 22, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ============================================
   Hero gradient + warm wash
   ============================================ */

.hero {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero--warm {
  background:
    radial-gradient(60% 80% at 15% 10%, #FFF6F0 0%, transparent 60%),
    radial-gradient(70% 80% at 85% 100%, #F0F7FF 0%, transparent 60%),
    #FAFAFC;
}

.hero--gold {
  background:
    radial-gradient(60% 80% at 50% 0%, #FFF1C8 0%, transparent 70%),
    #FFF8E1;
}

/* Floating orbs for futuristic touch */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  animation: orb-float 18s ease-in-out infinite;
}

.orb--coral {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 138, 118, 0.55), transparent 60%);
  top: -120px;
  left: -120px;
}

.orb--blue {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(79, 194, 247, 0.45), transparent 60%);
  bottom: -160px;
  right: -160px;
  animation-delay: -6s;
}

.orb--gold {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(247, 194, 69, 0.5), transparent 60%);
  top: -100px;
  right: -100px;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.97); }
}

/* ============================================
   Hero (centered editorial)
   ============================================ */

.hero-center {
  text-align: center;
}

.hero-center .caption {
  margin-bottom: 20px;
}

.hero-center h1 {
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero-center .hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--c-ink-muted);
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 32px;
}

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .wordmark {
  color: #fff;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.55;
  max-width: 280px;
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--c-coral);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom__made::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================
   Common: list with checkmarks, two-col layouts
   ============================================ */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-ink);
}

.checklist__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: var(--c-brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checklist__icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col--reverse > :first-child { order: 2; }
.two-col--reverse > :last-child { order: 1; }

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .two-col--reverse > :first-child { order: 1; }
  .two-col--reverse > :last-child { order: 2; }
}

/* Section headers */
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.sec-head .caption { margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p {
  font-size: 18px;
  color: var(--c-ink-muted);
  line-height: 1.55;
  margin: 0;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(70% 100% at 0% 100%, rgba(255, 138, 118, 0.32), transparent 60%),
    radial-gradient(70% 100% at 100% 0%, rgba(79, 194, 247, 0.32), transparent 60%),
    var(--c-brand-blue);
  color: #fff;
  text-align: center;
  border-radius: 32px;
  padding: 88px 32px;
  margin: 0 auto;
  max-width: 1136px;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 18px;
}

.cta-section {
  padding: 64px 0 128px;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 56px 24px;
    border-radius: 24px;
  }
  .cta-section { padding: 48px 0 72px; }
}

/* Mono for futuristic accents */
.mono {
  font-family: 'Switzer', 'Söhne', 'Inter', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pill tag */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(59, 130, 246, 0.1);
  color: var(--c-brand-blue);
}

.pill--gold {
  background: rgba(247, 194, 69, 0.16);
  color: var(--c-gold-dark);
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--c-border);
  border: 0;
  margin: 0;
}

/* Page hero (small, for legal etc) */
.page-hero {
  padding: 88px 0 56px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, #FFF6F0 0%, transparent 60%),
    var(--c-surface);
}

.page-hero .caption { margin-bottom: 16px; }

/* Visually hidden */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
