/* Advertiser Wizard Overhaul - V5 Modular Architecture */
/* Stage 1: The Gatekeeper Styles */

/* B2B tools must bypass mobile viewport constraints and utilize wide desktop displays. */
#advertiser-wizard-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0b1120; /* Dark mode base */
  color: #e2e8f0;
  z-index: 40000;
  overflow-y: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 1024px; /* Bypass mobile viewport constraints - enforce desktop width */
}

/* Header */
.aw-gatekeeper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #0f172a;
  border-bottom: 1px solid #1e293b;
}

.aw-text-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.aw-text-btn:hover {
  color: #00e5ff; /* Electric Teal hover */
}

.aw-brand-accent {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00e5ff; /* Electric Teal */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stage Containers */
.aw-stage-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pitch Header */
.aw-pitch-header {
  text-align: center;
  max-width: 800px;
  margin-bottom: 60px;
}

.aw-electric-teal-text {
  color: #00e5ff; /* Electric Teal accent */
  font-size: 3.6rem;
  font-weight: 800;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.aw-sub-pitch {
  font-size: 1.35rem;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Fork Grid */
.aw-fork-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
}

/* Card Styling */
.aw-fork-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aw-fork-card:hover {
  transform: translateY(-5px);
  border-color: #475569;
}

.aw-card-upsell {
  border: 2px solid #00e5ff; /* Highlighted card */
  background: linear-gradient(145deg, #1e293b 0%, #152033 100%);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.aw-card-badge {
  position: absolute;
  top: -12px;
  right: 40px;
  background: #00e5ff;
  color: #0b1120;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.aw-fork-card h2 {
  font-size: 2.1rem;
  margin: 0 0 10px 0;
  color: #f8fafc;
}

.aw-price-tag {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.aw-price-sub {
  font-size: 1.1rem;
  color: #e2e8f0;
  font-weight: 400;
}

.aw-card-desc {
  font-size: 1.15rem;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

.aw-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.aw-feature-list li {
  margin-bottom: 12px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

/* Buttons */
.aw-btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aw-btn-teal {
  background-color: #00e5ff;
  color: #0b1120;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.aw-btn-teal:hover {
  background-color: #00b8cc;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
}

.aw-btn-secondary {
  width: 100%;
  padding: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  background-color: transparent;
  border: 2px solid #475569;
  color: #f1f5f9;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aw-btn-secondary:hover {
  border-color: #e2e8f0;
  color: #fff;
  background-color: rgba(255,255,255,0.05);
}

/* ========================================= */
/* Stage 2: Widget Builder Styles           */
/* ========================================= */

.aw-stage-split {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  max-width: 1400px;
  margin: 40px auto;
}

.aw-split-left {
  flex: 1;
  min-width: 450px;
}

.aw-split-right {
  flex: 1;
  min-width: 400px;
  position: sticky;
  top: 100px;
}

.aw-panel {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 30px;
}

.aw-panel-title {
  font-size: 1.9rem;
  margin: 0 0 25px 0;
  color: #fff;
}

.aw-sub-text {
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Forms */
.aw-form-group {
  margin-bottom: 20px;
}

.aw-form-group label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.aw-req {
  color: #ff6b6b;
}

.aw-input {
  width: 100%;
  padding: 14px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #f8fafc;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.aw-input:focus {
  outline: none;
  border-color: #00e5ff;
}

/* Alerts */
.aw-alert {
  padding: 15px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.4;
}

.aw-alert-info {
  background: rgba(56, 189, 248, 0.1);
  border-left: 4px solid #38bdf8;
  color: #bae6fd;
}

.aw-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ff6b6b;
  color: #ffb3b3;
}

/* Pricing Blocks */
.aw-pricing-block {
  margin: 30px 0;
  padding-top: 20px;
  border-top: 1px solid #334155;
}

.aw-section-title {
  font-size: 1.3rem;
  color: #e2e8f0;
  margin-bottom: 15px;
}

.aw-radio-card {
  display: block;
  margin-bottom: 15px;
  position: relative;
  cursor: pointer;
}

.aw-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.aw-radio-content {
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.aw-radio-card input[type="radio"]:checked + .aw-radio-content {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.05);
}

.aw-radio-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.aw-radio-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #e2e8f0;
}

.aw-radio-card input[type="radio"]:checked + .aw-radio-content .aw-radio-price {
  color: #00e5ff;
}

.aw-promo-badge {
  display: inline-block;
  background: #10b981;
  color: #064e3b;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 10px;
}

.aw-radio-card-promo input[type="radio"]:checked + .aw-radio-content {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.aw-radio-card-promo input[type="radio"]:checked + .aw-radio-content .aw-radio-price {
  color: #10b981;
}


/* Mockup Widget */
.aw-mockup-frame {
  background: #000;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #1e293b;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.aw-mockup-widget {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.aw-mockup-header {
  padding: 15px;
  border-bottom: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aw-mock-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.aw-mock-badge {
  background: #334155;
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.aw-mockup-body {
  padding: 15px;
}

.aw-mock-placeholder-img {
  width: 100%;
  height: 180px;
  background: #0f172a;
  border: 1px dashed #475569;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 600;
  margin-bottom: 15px;
}

.aw-mock-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.aw-mock-btn {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: default;
  border: none;
  text-align: center;
}

.aw-mock-btn-primary {
  background: #00e5ff;
  color: #0b1120;
}

.aw-mock-btn-secondary {
  background: transparent;
  border: 1px solid #475569;
  color: #f1f5f9;
}

.aw-mock-license {
  font-size: 0.9rem;
  color: #e2e8f0;
  text-align: right;
  border-top: 1px dashed #334155;
  padding-top: 10px;
}

/* ========================================= */
/* Stage 0: Industry Grid Styles            */
/* ========================================= */

.aw-grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.aw-industry-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.aw-industry-card:hover {
  transform: translateY(-4px);
  border-color: #00e5ff;
  background: linear-gradient(145deg, #1e293b 0%, #152033 100%);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.1);
}

.aw-industry-card h3 {
  font-size: 1.5rem;
  color: #f8fafc;
  margin: 0 0 10px 0;
  transition: color 0.2s ease;
}

.aw-industry-card:hover h3 {
  color: #00e5ff;
}

.aw-industry-card p {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0;
}

/* Promo Notice */
.aw-promo-notice {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid #00e5ff;
  border-left: 4px solid #00e5ff;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.1);
}
