/* ============================================
   Jupiter Planet XXL – Design 6: Light Orange Creative
   Base / Global Styles
   ============================================ */

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Orange Gradient Scrollbar ── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-warm-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--btn-gradient);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--btn-gradient-hover);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-extra);
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
  margin-bottom: var(--space-sm);
  color: var(--text-body);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  outline: none;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ── Section ── */
.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section--warm {
  background-color: var(--bg-warm-gray);
}

.section--white {
  background-color: var(--bg-white);
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-header__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
  background: rgba(var(--color-primary-rgb), 0.08);
  padding: 6px 20px;
  border-radius: 50px;
}

.section-header__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--space-md);
  position: relative;
}

.section-header__title span {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header__desc {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  letter-spacing: 0.5px;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn--primary {
  background: var(--btn-gradient);
  color: var(--text-white);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.3);
}

.btn--primary:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(255, 107, 0, 0.4);
  color: var(--text-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.btn--white {
  background: var(--bg-white);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  color: var(--color-primary);
}

.btn--lg {
  padding: 18px 48px;
  font-size: var(--fs-lg);
}

.btn--sm {
  padding: 10px 24px;
  font-size: var(--fs-sm);
}

/* ── Blob Shapes Utility ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.blob--orange {
  background: var(--color-primary);
}

.blob--coral {
  background: var(--color-secondary);
}

.blob--yellow {
  background: var(--color-tertiary);
}

.blob--sm {
  width: 150px;
  height: 150px;
}

.blob--md {
  width: 300px;
  height: 300px;
}

.blob--lg {
  width: 500px;
  height: 500px;
}

/* ── Wave Divider Utility ── */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider--top {
  margin-bottom: -2px;
}

.wave-divider--bottom {
  margin-top: -2px;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Highlight Text ── */
.text-gradient {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-orange {
  color: var(--color-primary);
}

/* ── Hexagon Utility ── */
.hexagon {
  width: 80px;
  height: 80px;
  background: var(--btn-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.hexagon--lg {
  width: 100px;
  height: 100px;
  font-size: 2.2rem;
}

.hexagon--outline {
  background: transparent;
  position: relative;
}

.hexagon--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--btn-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
}

.hexagon--outline::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--bg-white);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  h3 { font-size: var(--fs-xl); }
}
