:root {
  --red: #dc2626;
  --mustard: #d4a017;
  --cream: #fef3c7;
  --ink: #0a0a0a;
}

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

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

.mono {
  font-family: 'Roboto Mono', monospace;
}

/* Typography Classes */
.main-title {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.accent-title {
  font-family: 'Permanent Marker', cursive;
  color: var(--red);
  font-size: 4rem;
  transform: rotate(-5deg);
  margin-bottom: -1.5rem;
  margin-left: -1rem;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 0px var(--cream);
}

/* Status Banner */
.status-banner {
  background-color: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 1rem;
  font-family: 'Roboto Mono', monospace;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Split Layout */
.layout-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .layout-wrapper {
    flex-direction: row;
  }
}

/* Hero Sidebar */
.hero-sidebar {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background-color: var(--mustard);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
}

@media (min-width: 900px) {
  .hero-sidebar {
    width: 45%;
    height: 100vh;
    position: sticky;
    top: 0;
    border-bottom: none;
    border-right: 4px solid var(--ink);
  }
}

.hero-sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://offertabs.s3.amazonaws.com/offer/wnbmjn/site/media/69f117cd719922.65816560.jpg');
  background-size: cover;
  background-position: center;
  /* Add a subtle halftone pattern overlay using a radial gradient pattern */
  background-image: url('https://offertabs.s3.amazonaws.com/offer/wnbmjn/site/media/69f117cd719922.65816560.jpg'), radial-gradient(var(--ink) 15%, transparent 16%);
  background-size: cover, 4px 4px;
  background-blend-mode: overlay;
  opacity: 0.9;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.hero-text-overlay {
  background: var(--cream);
  padding: 2rem;
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0px var(--ink);
  max-width: 400px;
}

.hero-text-overlay .main-title {
  font-size: 4rem;
}

.hero-text-overlay .subtitle {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  background: var(--ink);
  color: var(--cream);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-top: 1rem;
}

/* Brutalist Badge (Countdown) */
.brutalist-badge {
  margin-top: 2rem;
  border: 3px solid var(--ink);
  background: var(--red);
  color: var(--cream);
  padding: 1rem;
  transform: rotate(-1deg);
}

.badge-label {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.countdown-timer {
  display: flex;
  gap: 1rem;
}

.time-block {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.time-block .mono {
  font-size: 1.5rem;
  font-weight: bold;
}
.time-block .unit {
  font-size: 0.9rem;
  font-weight: 800;
}

/* Form Content Area */
.form-content {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem;
}

@media (min-width: 900px) {
  .form-content {
    width: 55%;
    padding: 4rem 3rem;
  }
}

.content-inner {
  width: 100%;
  max-width: 600px;
}

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

.form-header h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 1.1rem;
  color: #333;
}

/* Form Styles */
.form-group {
  margin-bottom: 2rem;
}

.input-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.5rem;
}
@media (min-width: 600px) {
  .input-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

label:not(.brutalist-check, .brutalist-toggle, .price-card) {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section-label {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0px var(--ink);
  transition: all 0.2s ease;
  border-radius: 0;
}

input:focus, select:focus {
  outline: none;
  box-shadow: 6px 6px 0px var(--red);
  transform: translate(-2px, -2px);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 500px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  cursor: pointer;
  display: block;
  position: relative;
}

.price-card input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.price-card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0px var(--ink);
  transition: all 0.2s ease;
  text-align: center;
}

.tier-name {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-card input:checked + .card-content {
  background: var(--mustard);
  box-shadow: 6px 6px 0px var(--red);
  transform: translate(-2px, -2px);
}

.price-card:hover .card-content {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--ink);
}
.price-card input:checked:hover + .card-content {
  box-shadow: 6px 6px 0px var(--red);
}

/* Custom Checkboxes */
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.sessions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 500px) {
  .sessions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.brutalist-check {
  display: inline-flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
}

.brutalist-check input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.brutalist-check .box {
  width: 24px;
  height: 24px;
  border: 3px solid var(--ink);
  background: #fff;
  margin-right: 0.75rem;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
  box-shadow: 2px 2px 0px var(--ink);
}

.brutalist-check input:checked + .box {
  background: var(--mustard);
}

.brutalist-check input:checked + .box::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 12px;
  border: solid var(--ink);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.brutalist-check .text {
  font-weight: 600;
  padding-top: 2px;
  font-size: 0.95rem;
}

.brutalist-check.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Toggle Switch */
.highlighted-group {
  background: rgba(212, 160, 23, 0.2);
  padding: 1.5rem;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0px var(--ink);
}

.brutalist-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.brutalist-toggle input {
  display: none;
}

.toggle-slider {
  width: 50px;
  height: 28px;
  background: #fff;
  border: 3px solid var(--ink);
  position: relative;
  margin-right: 1rem;
  box-shadow: 3px 3px 0px var(--ink);
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  background: var(--ink);
  top: 3px; left: 3px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brutalist-toggle input:checked + .toggle-slider {
  background: var(--mustard);
}

.brutalist-toggle input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--red);
}

/* Error States */
.error-text {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: bold;
  margin-left: 1rem;
  background: #ffe5e5;
  padding: 0.1rem 0.5rem;
  border: 2px solid var(--red);
}

.label-with-error {
  display: flex;
  align-items: baseline;
}

.error-banner {
  background: var(--red);
  color: #fff;
  padding: 1rem;
  border: 3px solid var(--ink);
  font-weight: bold;
  margin-bottom: 1.5rem;
  box-shadow: 4px 4px 0px var(--ink);
}

/* Submit Button */
.brutalist-btn {
  display: block;
  width: 100%;
  padding: 1.25rem;
  background: var(--mustard);
  color: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0px var(--ink);
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.brutalist-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px var(--ink);
}

.brutalist-btn:active {
  transform: translate(0, 0);
  box-shadow: 3px 3px 0px var(--ink);
}

.brutalist-btn-small {
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border: 3px solid var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.brutalist-btn-small:hover {
  background: var(--red);
}

/* Success Section */
.success-card {
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0px var(--ink);
  padding: 3rem 2rem;
  text-align: center;
}

.success-card .main-title {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.success-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.share-panel {
  background: var(--cream);
  border: 3px solid var(--ink);
  padding: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.share-panel h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.share-actions {
  display: flex;
  margin-top: 1rem;
  gap: 0.5rem;
}

.share-actions input {
  box-shadow: none;
}

/* Powered By Element */
#wbx-powered-by-slot {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}