:root {
  --primary-color: #0a2540;
  --primary-light: #1e3a8a;
  --accent-color: #06b6d4;
  --accent-dark: #0891b2;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-color: #f3f4f6;
  --white: #ffffff;
  --error: #ef4444;
  --success: #10b981;
  --radius: 12px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

.hidden {
  display: none !important;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-color), #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-center {
  text-align: center;
}

/* Layout */
#main-content {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.business-name {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero-title {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content Area */
.content-section {
  max-width: 1000px;
  margin: -40px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Steps */
.steps-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  text-align: center;
}

.steps-container h3 {
  font-size: 1.75rem;
  margin-bottom: 32px;
  color: var(--primary-color);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  position: relative;
  padding: 24px;
  background: var(--bg-color);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.05);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.step-card h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Form Container */
.form-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  text-align: center;
  color: var(--primary-color);
}

.form-desc {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background-color: #f9fafb;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.help-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Alerts and Messages */
.alert-error {
  background: #fef2f2;
  color: var(--error);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  margin-bottom: 24px;
  font-weight: 600;
  text-align: center;
}

/* Status Page (Ended / Not Started) */
#campaign-status {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.status-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.status-card h2 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* Success State */
.success-icon {
  width: 80px;
  height: 80px;
  background: #d1fae5;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 24px;
}

.success-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.success-desc {
  color: var(--text-light);
  margin-bottom: 32px;
}

/* Share Panel */
.share-box {
  background: var(--bg-color);
  border: 1px dashed #cbd5e1;
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 32px;
}

.share-box h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.share-box p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

.share-input-group input {
  flex: 1;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.share-input-group button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.share-input-group button:hover {
  opacity: 0.9;
}

/* Powered By */
#wbx-powered-by-slot {
  margin: 40px auto 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .content-section {
    margin-top: -20px;
  }
  .steps-container, .form-container {
    padding: 24px;
  }
  .share-input-group {
    flex-direction: column;
  }
  .share-input-group button {
    padding: 12px;
  }
}
