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

:root {
  --black: #111;
  --white: #fff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e7e5;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08), transparent 50%);
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1) translateX(0); opacity: 0.8; }
  50% { transform: scale(1.2) translateX(10%); opacity: 1; }
}

.hero-container {
  max-width: 800px;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0.7;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-arrow {
  font-size: 2rem;
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== FORM SECTION ===== */
.form-section {
  padding: 3rem 1.5rem;
  background: var(--gray-100);
}

.form-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gray-200);
}

/* ===== INFO PANEL (TIGHTER SPACING) ===== */
.info-panel {
  background: var(--black);
  color: var(--white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
}

.info-header {
  margin-bottom: 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.logo span {
  letter-spacing: 0;
}

.tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-top: 0;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.info-content h2 {
  display: none;
}

.info-content > p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0;
}

.highlights {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

/* About sections (tighter) */
.about-section {
  margin: 0;
  padding: 0;
  border: none;
}

.about-section h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  opacity: 0.6;
  font-weight: 700;
}

.about-section p {
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.85;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.value-item {
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  text-align: center;
  transition: all 0.2s ease;
  font-weight: 500;
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Meta section (tighter) */
.info-meta {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.info-meta div {
  margin-bottom: 0;
  line-height: 1.4;
}

.meta-highlight {
  font-size: 0.68rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

/* ===== FORM PANEL (SLEEKER) ===== */
.form-panel {
  padding: 2.5rem;
  position: relative;
}

.form-header {
  margin-bottom: 2rem;
}

.form-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.form-header p {
  color: var(--gray-600);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== FORM ELEMENTS (MODERN) ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}

.required {
  color: var(--black);
  font-weight: 700;
}

input,
select,
textarea {
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: var(--white);
  transition: all 0.2s ease;
  font-family: inherit;
}

textarea {
  border-radius: 10px;
  min-height: 100px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: var(--white);
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-400);
  opacity: 0.7;
}

/* Checkbox & Radio Groups (sleeker) */
.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.checkbox-item,
.radio-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.checkbox-item:hover,
.radio-item:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.checkbox-item input:checked + span,
.radio-item input:checked + span {
  font-weight: 600;
}

.checkbox-item input,
.radio-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
  padding: 0;
  margin: 0;
  cursor: pointer;
}

/* Dividers */
.form-divider {
  border-top: 1px solid var(--gray-200);
  margin: 0.75rem 0;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin: 0.5rem 0 1rem 0;
  font-weight: 700;
}

/* Character counter */
.character-count {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.35rem;
  text-align: right;
  font-family: inherit;
}

.character-count .count {
  font-weight: 700;
  color: #EF4444;
}

.character-count.valid .count {
  color: #10B981;
}

/* ===== SUBMIT BUTTON (SLEEKER) ===== */
.form-footer {
  margin-top: 1rem;
}

.submit-btn {
  width: 100%;
  border-radius: 10px;
  border: none;
  background: var(--black);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover:not(:disabled) {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-icon {
  transition: transform 0.2s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
  display: none;
}

.submit-btn.loading .btn-loader {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.privacy-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 1rem;
  line-height: 1.6;
}

/* ===== SUCCESS/ERROR MESSAGES ===== */
.success-message,
.error-message {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeInScale 0.5s ease-out;
}

.success-message.show,
.error-message.show {
  display: block;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon,
.error-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon {
  background: var(--black);
  color: var(--white);
}

.error-icon {
  background: var(--gray-100);
  color: var(--black);
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-message h3,
.error-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.success-message p,
.error-message p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .form-container {
    grid-template-columns: 1fr;
  }
  
  .info-panel {
    padding: 2rem 1.5rem;
  }
  
  .form-panel {
    padding: 2rem 1.5rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .form-section {
    padding: 2rem 1rem;
  }
  
  .form-container {
    border-radius: 12px;
  }
  
  .info-panel {
    padding: 1.5rem;
  }
  
  .form-panel {
    padding: 1.5rem;
  }
}