/* ===================== RESET & BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --background: hsl(210, 50%, 98%);
  --foreground: hsl(215, 80%, 15%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(215, 75%, 35%);
  --primary-fg: hsl(0, 0%, 100%);
  --muted-fg: hsl(215, 50%, 30%);
  --border: hsl(215, 30%, 88%);
  --gold: hsl(42, 95%, 52%);
  --gold-dark: hsl(38, 90%, 45%);
  --gold-deep: hsl(35, 90%, 42%);
  --blue-deep: hsl(215, 80%, 28%);
  --blue-bright: hsl(215, 85%, 50%);
  --gradient-gold: linear-gradient(135deg, hsl(42, 95%, 55%), hsl(38, 85%, 48%), hsl(35, 90%, 42%));
  --gradient-gold-hover: linear-gradient(135deg, hsl(38, 85%, 48%), hsl(42, 95%, 55%), hsl(45, 90%, 58%));
  --shadow-card: 0 25px 60px -15px hsla(215, 80%, 28%, 0.12), 0 8px 24px -8px hsla(42, 95%, 52%, 0.08);
  --shadow-card-hover: 0 35px 80px -15px hsla(215, 80%, 28%, 0.18), 0 12px 32px -8px hsla(42, 95%, 52%, 0.15), 0 0 40px hsla(42, 95%, 55%, 0.1);
  --glow-gold: 0 0 30px hsla(42, 95%, 55%, 0.4), 0 0 60px hsla(42, 95%, 55%, 0.15);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===================== BACKGROUND ELEMENTS ===================== */
.bg-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.arc {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
}

.arc-1 {
  width: 500px; height: 500px;
  top: -128px; right: -128px;
  border-width: 3px;
  border-color: hsla(42, 95%, 52%, 0.2);
  animation: rotate 60s linear infinite;
}

.arc-2 {
  width: 400px; height: 400px;
  top: -80px; right: -80px;
  border-width: 2px;
  border-color: hsla(215, 85%, 50%, 0.15);
  animation: rotate 45s linear infinite reverse;
}

.arc-3 {
  width: 600px; height: 600px;
  bottom: -160px; left: -160px;
  border-width: 3px;
  border-color: hsla(42, 95%, 52%, 0.15);
  animation: rotate 50s linear infinite reverse;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-gold);
}

.orb-1 { width: 16px; height: 16px; right: 15%; top: 20%; opacity: 0.3; animation: float 6s ease-in-out infinite; }
.orb-2 { width: 12px; height: 12px; left: 10%; top: 40%; opacity: 0.2; animation: float 8s ease-in-out infinite 2s; }
.orb-3 { width: 20px; height: 20px; right: 25%; bottom: 30%; opacity: 0.25; animation: float 6s ease-in-out infinite 4s; }

.globe {
  position: absolute;
  left: 50%; top: 10%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid hsla(215, 85%, 50%, 0.1);
  opacity: 0.4;
  animation: rotate 30s linear infinite;
}

.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid hsla(215, 85%, 50%, 0.1);
}

.globe-ring-1 { inset: 20%; }
.globe-ring-2 { inset: 40%; }

.globe-meridian {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-left: 1px solid hsla(215, 85%, 50%, 0.08);
  border-right: 1px solid hsla(215, 85%, 50%, 0.08);
}

.globe-meridian-2 { transform: rotate(45deg); }

/* ===================== CONTAINER ===================== */
.container {
  position: relative;
  z-index: 10;
  max-width: 672px;
  margin: 0 auto;
  padding: 48px 16px;
}

@media (min-width: 640px) { .container { padding: 48px 24px; } }

/* ===================== HERO ===================== */
.hero { text-align: center; margin-bottom: 48px; }

.logo {
  display: block;
  margin: 0 auto 32px;
  height: 112px; width: 112px;
}

@media (min-width: 640px) { .logo { height: 144px; width: 144px; } }

.heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.1;
}

@media (min-width: 640px) { .heading { font-size: 3rem; } }
@media (min-width: 1024px) { .heading { font-size: 3.75rem; } }

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

@media (min-width: 640px) { .subtitle { font-size: 1.25rem; } }

.tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-bright);
}

@media (min-width: 640px) { .tagline { font-size: 1.125rem; } }

/* ===================== HIGHLIGHTS ===================== */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 640px) { .highlights { gap: 20px; } }

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-gold);
}

.highlight-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 640px) { .highlight-text { font-size: 1rem; } }

.highlight-sep {
  color: var(--gold);
  margin-left: 8px;
  display: none;
}

@media (min-width: 640px) { .highlight-sep { display: inline; } }

.highlight-item:last-child .highlight-sep { display: none; }

/* ===================== FORM CARD ===================== */
.form-card {
  background: hsla(0, 0%, 100%, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(42, 95%, 55%, 0.25);
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

@media (min-width: 640px) { .form-card { padding: 40px; } }

.form-card:hover {
  box-shadow: var(--shadow-card-hover);
}

form { display: flex; flex-direction: column; gap: 20px; }

/* ===================== FORM FIELDS ===================== */
.form-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.input-wrapper {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s ease;
}

.input-wrapper:hover {
  border-color: hsla(42, 95%, 55%, 0.4);
}

.input-wrapper:focus-within {
  box-shadow: 0 0 0 3px hsla(42, 95%, 55%, 0.2), 0 0 20px hsla(42, 95%, 55%, 0.1);
  border-color: hsla(42, 95%, 55%, 0.6);
}

.input-wrapper input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  border-radius: 8px;
}

@media (min-width: 640px) { .input-wrapper input { font-size: 1.125rem; } }

.input-wrapper input::placeholder {
  font-weight: 500;
  color: hsla(215, 50%, 30%, 0.6);
}

/* ===================== BUSINESS TYPE ===================== */
.business-types {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.type-btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--primary);
}

@media (min-width: 640px) { .type-btn { font-size: 1rem; } }

.type-btn:hover {
  border-color: hsla(42, 95%, 55%, 0.5);
  transform: scale(1.03);
}

.type-btn.active {
  background: var(--gradient-gold);
  color: var(--primary-fg);
  border-color: transparent;
  box-shadow: var(--glow-gold);
  transform: scale(1.05);
}

/* ===================== SUBMIT BUTTON ===================== */
.submit-field { padding-top: 16px; }

.submit-btn {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  background: var(--gradient-gold);
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-fg);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) { .submit-btn { font-size: 1.25rem; } }

.submit-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, hsl(42, 95%, 65%), hsl(42, 95%, 52%), hsl(38, 85%, 42%), hsl(42, 95%, 65%));
  background-size: 300% 300%;
  animation: gradient-sweep 3s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.submit-btn:hover::before { opacity: 1; }

.submit-btn:hover {
  box-shadow: 0 0 30px hsla(42, 95%, 55%, 0.5), 0 0 60px hsla(42, 95%, 55%, 0.2);
  transform: translateY(-2px);
}

.submit-btn:active { transform: translateY(1px); }

.btn-text { position: relative; z-index: 1; }

.btn-shimmer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(to right, transparent, hsla(0, 0%, 100%, 0.2), transparent);
  animation: shimmer 2.5s infinite;
}

/* ===================== SUCCESS / ERROR ===================== */
.success-message {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(145, 65%, 39%);
  padding: 16px;
  border-radius: 12px;
  background: hsla(145, 65%, 39%, 0.08);
  border: 1px solid hsla(145, 65%, 39%, 0.2);
  animation: fade-in-scale 0.5s ease forwards;
}

.success-icon { font-size: 1.3em; }

.error-message {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(0, 84%, 60%);
  padding: 12px;
  border-radius: 12px;
  background: hsla(0, 84%, 60%, 0.08);
  border: 1px solid hsla(0, 84%, 60%, 0.2);
  animation: fade-in-scale 0.5s ease forwards;
}

.hidden { display: none !important; }

/* ===================== FOOTER ===================== */
.footer {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: hsla(215, 75%, 35%, 0.7);
}

.footer-brand {
  font-weight: 700;
  color: var(--primary);
}

/* ===================== ANIMATIONS ===================== */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes gradient-sweep {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes fade-in-scale {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===================== SCROLL ANIMATIONS ===================== */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll[data-animation="fade-up"] {
  transform: translateY(30px);
}

.animate-on-scroll[data-animation="scale-in"] {
  transform: scale(0.8);
}

.animate-on-scroll[data-animation="fade-up-scale"] {
  transform: translateY(40px) scale(0.96);
}

.animate-on-scroll[data-animation="slide-right"] {
  transform: translateX(-20px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1) translateX(0);
}
