/* ============================================
   Sky Dot Studio — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --black: #0A0A0A;
  --gray-950: #141414;
  --gray-900: #1A1A1A;
  --gray-800: #2E2E2E;
  --gray-700: #444444;
  --gray-600: #5C5C5C;
  --gray-500: #7A7A7A;
  --gray-400: #9E9E9E;
  --gray-300: #C2C2C2;
  --gray-200: #E0E0E0;
  --gray-100: #F0F0F0;
  --gray-50: #F7F7F7;
  --white: #FFFFFF;

  --accent: #2D2DFF;
  --accent-soft: #EDEDFF;
  --accent-hover: #1A1AE0;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1140px;
  --container-sm: 720px;
  --header-h: 72px;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --shadow-soft: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-elevated: 0 8px 30px rgba(0,0,0,0.08);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.15;
  font-weight: 700;
}

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 120px 0; }
.section--sm { padding: 80px 0; }

/* ---- Section Header ---- */
.section-header {
  max-width: 560px;
  margin-bottom: 64px;
}
.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: 40px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--black);
  color: var(--white);
  padding: 13px 28px;
}
.btn--primary:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn--secondary {
  background: var(--gray-100);
  color: var(--black);
  padding: 13px 28px;
}
.btn--secondary:hover {
  background: var(--gray-200);
}
.btn--outline {
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  padding: 12px 26px;
  background: var(--white);
}
.btn--outline:hover {
  border-color: var(--black);
  color: var(--black);
}
.btn--lg {
  padding: 16px 36px;
  font-size: 15px;
  border-radius: 12px;
}
.btn--sm {
  padding: 9px 20px;
  font-size: 13px;
}
.btn--text {
  color: var(--black);
  font-weight: 600;
  padding: 0;
  gap: 6px;
}
.btn--text:hover { gap: 10px; }
.btn--text svg { transition: transform 0.2s; }
.btn--text:hover svg { transform: translateX(3px); }

/* ---- Header ---- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 1px 0 var(--gray-100); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}
.logo__icon {
  width: 28px;
  height: 28px;
  background: var(--black);
  border-radius: 8px;
  position: relative;
}
.logo__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: 8px;
  transition: all 0.15s;
}
.nav__link:hover { color: var(--black); }
.nav__link.active { color: var(--black); font-weight: 600; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 2px 0;
  z-index: 101;
}
.mobile-toggle span {
  display: block;
  height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.25s;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* ---- Footer ---- */
.footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.7;
}
.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 14px;
  transition: all 0.2s;
}
.footer__social a:hover {
  border-color: var(--black);
  color: var(--black);
}
.footer__column h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer__column ul { display: flex; flex-direction: column; gap: 12px; }
.footer__column a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.15s;
}
.footer__column a:hover { color: var(--black); }
.footer__bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-400);
}
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { color: var(--gray-400); }
.footer__bottom-links a:hover { color: var(--gray-700); }

/* ---- Scroll Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- CTA Section (shared) ---- */
.cta-section {
  background: var(--black);
  padding: 100px 0;
}
.cta__inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.cta__title {
  font-size: 36px;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta__desc {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.cta-section .btn--primary {
  background: var(--white);
  color: var(--black);
}
.cta-section .btn--primary:hover {
  background: var(--gray-100);
  box-shadow: none;
}
.cta-section .btn--outline {
  border-color: var(--gray-700);
  color: var(--gray-300);
  background: transparent;
}
.cta-section .btn--outline:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.25s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: var(--gray-200);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .section-title { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 80px 0; }
  .section-title { font-size: 28px; }
  .section-header { margin-bottom: 48px; }
  .mobile-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav.open { opacity: 1; pointer-events: all; }
  .nav__link { font-size: 18px; padding: 12px 24px; }
  .header__cta { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-section { padding: 72px 0; }
  .cta__title { font-size: 28px; }
  .cta__actions { flex-direction: column; align-items: center; }
}
