:root {
  --navy: #1e3a8a;
  --navy-light: #25449e;
  --coral: #f97316;
  --coral-hover: #ea580c;
  --mist: #f1f5f9;
  --mist-dark: #e2e8f0;
  --green: #16a34a;
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-page: #ffffff;
  --border: #cbd5e1;
  --card-bg: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--mist);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .brand-name {
  font-family: 'Inter Tight', sans-serif;
}

.hidden {
  display: none !important;
}

/* Background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--navy);
  top: -100px;
  left: -100px;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--coral);
  bottom: -50px;
  right: -50px;
}

.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  width: 100%;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: flex-start;
}

/* Left Column */
.left-col {
  padding-top: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.benefit-list {
  list-style: none;
  margin-bottom: 48px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-main);
}

.benefit-list li .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.benefit-list li strong {
  font-weight: 600;
  color: var(--navy);
}

.testimonials {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.testi-heading {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 700;
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testi-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-card p {
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.testi-author div {
  display: flex;
  flex-direction: column;
}

.testi-author strong {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.875rem;
}

.testi-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Right Column */
.right-col {
  position: sticky;
  top: 40px;
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px -12px rgba(30, 58, 138, 0.1);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

input::placeholder {
  color: #94a3b8;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.input-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 6px;
  font-weight: 500;
}

.btn-primary {
  width: 100%;
  padding: 14px 24px;
  background-color: var(--coral);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--coral-hover);
  transform: translateY(-1px);
}

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

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.microcopy {
  margin-top: 16px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.alert.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Success State */
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.share-panel {
  background: var(--mist);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 20px;
}

.share-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.share-input-group {
  display: flex;
  gap: 8px;
}

.share-input-group input {
  flex: 1;
  background: white;
}

.share-input-group button {
  padding: 0 16px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.share-input-group button:hover {
  background: var(--navy-light);
}

#wbx-powered-by-slot {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .right-col {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
}