/* ===== CSS Variables ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fafbfc;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --brand-primary: #10b981;
  --brand-hover: #059669;
  --brand-light: #d1fae5;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --error: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
}

/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 80px;
  min-height: 100vh;
}

/* ===== Header with Gradient ===== */
.header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* ===== Container ===== */
.container {
  max-width: 900px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ===== Form Card ===== */
.submission-form {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.form-header {
  margin-bottom: 32px;
}

.form-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.helper {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Progress Bar ===== */
.progress-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: 999px;
  margin-bottom: 32px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-blue));
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===== Form Groups ===== */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.required {
  color: var(--error);
  font-size: 1.1em;
}

.hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: 400;
}

/* ===== Inputs ===== */
.input,
.textarea,
.select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: var(--border-medium);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-light);
}

.textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}

.select option {
  padding: 10px;
}

/* ===== Logo Upload Styles ===== */
.file-input {
  width: 100%;
  padding: 12px;
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.file-input:hover {
  border-color: var(--brand-primary);
  background: var(--brand-light);
}

.file-input.uploading {
  opacity: 0.6;
  pointer-events: none;
}

.logo-previews {
  margin-top: 12px;
  min-height: 80px;
}

.logo-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.logo-preview-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.logo-preview-item .file-info {
  flex: 1;
}

.logo-preview-item .file-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.logo-preview-item .file-size {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.logo-preview-item button {
  padding: 8px 12px;
  background: var(--error);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.logo-preview-item button:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.upload-status {
  margin-top: 8px;
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
}

.upload-status.success {
  background: var(--brand-light);
  color: var(--brand-hover);
  border: 1px solid var(--brand-primary);
}

.upload-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* URL Prefix */
.adorned {
  position: relative;
}

.prefix {
  position: absolute;
  left: 16px;
  top: 43px;
  color: var(--text-muted);
  font-weight: 500;
  pointer-events: none;
  font-size: 0.95rem;
}

.adorned .input {
  padding-left: 72px;
}

/* Row Layout */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== Achievement Section Styles ===== */
#achievementSection {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

#achievementSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

#achievementSection .form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

#achievementSection .form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

#achievementSection .helper {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Badge Style Selector */
.badge-style-selector {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.badge-style-selector h4 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.badge-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.badge-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.badge-option:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.badge-option.active {
  border-color: var(--brand-primary);
  background: var(--brand-light);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.badge-option span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.badge-option.active span {
  color: var(--brand-primary);
  font-weight: 600;
}

.badge-preview-small {
  width: 120px;
  height: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transform: scale(0.8);
}

/* Badge Preview Container */
.badge-preview-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
}

#badgePreview {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.badge-code-box {
  background: #1e293b;
  color: #94a3b8;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 1rem;
  max-height: 120px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  border: 1px solid #334155;
}

.badge-code-box::-webkit-scrollbar {
  width: 6px;
}

.badge-code-box::-webkit-scrollbar-track {
  background: #0f172a;
}

.badge-code-box::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 3px;
}

.copy-badge-btn {
  background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.copy-badge-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Badge Confirmation */
.badge-confirmation {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.badge-confirmation label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.badge-confirmation input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-primary);
}

.verify-badge-btn {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.verify-badge-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

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

/* ===== Pricing Section ===== */
#pricingSection {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(59, 130, 246, 0.03));
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

#pricingSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    #10b981 0%, 
    #3b82f6 25%, 
    #8b5cf6 50%, 
    #ec4899 75%, 
    #f59e0b 100%);
  z-index: 1;
}

#pricingSection .form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

#pricingSection .form-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#pricingSection .helper {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Pricing Cards */
.pricing-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-blue));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card.popular {
  border-color: var(--accent-purple);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
  transform: scale(1.02);
}

.pricing-card.popular::before {
  background: linear-gradient(90deg, var(--accent-purple), #ec4899);
  transform: scaleX(1);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  z-index: 3;
  text-transform: uppercase;
}

/* Plan Header */
.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.plan-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Price Flip Animation */
.price-flip {
  position: relative;
  height: 3rem;
  margin: 1rem 0;
  perspective: 1000px;
}

.price {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.25rem;
  font-weight: 800;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.price[data-currency="inr"] {
  color: var(--brand-primary);
}

.price[data-currency="usd"] {
  color: var(--accent-blue);
}

.price.active {
  opacity: 1;
  transform: translateX(-50%) rotateX(0deg);
}

.price:not(.active) {
  transform: translateX(-50%) rotateX(90deg);
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Plan Features */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.plan-features li {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
}

.plan-features li:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.plan-features li::before {
  content: '✓';
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.plan-features li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Plan Buttons */
.plan-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid;
  background: white;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.plan-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.plan-btn:hover::before {
  left: 100%;
}

/* Free Plan Button */
.pricing-card[data-plan="free"] .plan-btn {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.pricing-card[data-plan="free"] .plan-btn:hover:not(.selected) {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.pricing-card[data-plan="free"] .plan-btn.selected {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

/* Starter Plan Button */
.pricing-card[data-plan="starter"] .plan-btn {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.pricing-card[data-plan="starter"] .plan-btn:hover:not(.selected) {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.pricing-card[data-plan="starter"] .plan-btn.selected {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

/* Growth Plan Button */
.pricing-card[data-plan="growth"] .plan-btn {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

.pricing-card[data-plan="growth"] .plan-btn:hover:not(.selected) {
  background: var(--accent-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.pricing-card[data-plan="growth"] .plan-btn.selected {
  background: var(--accent-purple);
  color: white;
  border-color: var(--accent-purple);
}

/* Pro Plan Button */
.pricing-card[data-plan="pro"] .plan-btn {
  border-color: #ec4899;
  color: #ec4899;
}

.pricing-card[data-plan="pro"] .plan-btn:hover:not(.selected) {
  background: #ec4899;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
}

.pricing-card[data-plan="pro"] .plan-btn.selected {
  background: #ec4899;
  color: white;
  border-color: #ec4899;
}

/* Elite Plan Button */
.pricing-card[data-plan="elite"] .plan-btn {
  border-color: var(--warning);
  color: var(--warning);
}

.pricing-card[data-plan="elite"] .plan-btn:hover:not(.selected) {
  background: var(--warning);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.pricing-card[data-plan="elite"] .plan-btn.selected {
  background: var(--warning);
  color: white;
  border-color: var(--warning);
}

/* Ultimate Plan Button */
.pricing-card[data-plan="ultimate"] .plan-btn {
  border-color: var(--error);
  color: var(--error);
}

.pricing-card[data-plan="ultimate"] .plan-btn:hover:not(.selected) {
  background: var(--error);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.pricing-card[data-plan="ultimate"] .plan-btn.selected {
  background: var(--error);
  color: white;
  border-color: var(--error);
}

/* ===== Submit Button ===== */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-blue) 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
  width: 100%;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover:not(:disabled)::before {
  left: 100%;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

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

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

.submit-btn:hover:not(:disabled) svg {
  transform: translateX(3px);
}

/* ===== Error & Validation States ===== */
.input.error-field,
.textarea.error-field,
.select.error-field {
  border-color: var(--error);
}

.input.error-field:focus,
.textarea.error-field:focus,
.select.error-field:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input:invalid:not(:placeholder-shown),
.textarea:invalid:not(:placeholder-shown) {
  border-color: var(--error);
}

.input:valid:not(:placeholder-shown),
.textarea:valid:not(:placeholder-shown) {
  border-color: var(--success);
}

/* ===== Placeholder Styling ===== */
.input::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== Focus Within Form ===== */
.form-group:focus-within label {
  color: var(--brand-primary);
}

/* ===== Disabled States ===== */
.input:disabled,
.textarea:disabled,
.select:disabled {
  background: var(--bg-secondary);
  cursor: not-allowed;
  opacity: 0.6;
}

/* ===== Animations ===== */
@keyframes slideIn {
  from { 
    transform: translateX(400px); 
    opacity: 0; 
  }
  to { 
    transform: translateX(0); 
    opacity: 1; 
  }
}

@keyframes slideOut {
  from { 
    transform: translateX(0); 
    opacity: 1; 
  }
  to { 
    transform: translateX(400px); 
    opacity: 0; 
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

#achievementSection[style*="display: block"] {
  animation: slideDown 0.5s ease-out;
}

#pricingSection[style*="display: block"] {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== Accessibility ===== */
*:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

::selection {
  background: var(--brand-light);
  color: var(--brand-hover);
}

/* Remove spinner from number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 60px 20px;
  }

  .submission-form {
    padding: 24px;
  }

  .container {
    margin-top: -30px;
    padding: 0 16px;
  }

  #pricingSection {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .pricing-card {
    padding: 1.5rem 1.25rem;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .plan-header h4 {
    font-size: 1.1rem;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .badge-options {
    grid-template-columns: repeat(2, 1fr);
  }

  #achievementSection {
    padding: 1.5rem;
  }

  .badge-style-selector {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .submit-btn {
    font-size: 1rem;
    padding: 14px 32px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .helper {
    font-size: 0.9rem;
  }

  #pricingSection {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .pricing-card {
    padding: 1.25rem 1rem;
  }
  
  .price {
    font-size: 1.75rem;
  }
  
  .plan-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .badge-preview-small {
    transform: scale(0.7);
  }

  .logo-preview-item img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .submission-form {
    padding: 20px;
  }

  .badge-options {
    gap: 0.75rem;
  }

  .badge-option {
    padding: 0.75rem;
  }

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

/* ===== Smooth Scrolling ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Print Styles ===== */
@media print {
  .header,
  .submit-btn,
  #achievementSection,
  #pricingSection {
    display: none;
  }

  .submission-form {
    box-shadow: none;
    border: 1px solid #000;
  }
}

/* ===== Additional Polish ===== */
.form-group label:hover {
  color: var(--brand-primary);
}

.input:hover:not(:disabled),
.textarea:hover:not(:disabled),
.select:hover:not(:disabled) {
  border-color: var(--brand-primary);
}

/* Loading state for buttons */
button.loading {
  pointer-events: none;
  opacity: 0.7;
}

button.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Success state animation */
@keyframes checkmark {
  0% {
    transform: scale(0) rotate(45deg);
  }
  50% {
    transform: scale(1.2) rotate(45deg);
  }
  100% {
    transform: scale(1) rotate(45deg);
  }
}

.success-checkmark {
  animation: checkmark 0.4s ease-out;
}

/* Toast positioning for mobile */
@media (max-width: 640px) {
  .toast {
    left: 10px;
    right: 10px;
    top: 10px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .input,
  .textarea,
  .select {
    border-width: 3px;
  }

  .pricing-card {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark mode preparation (optional) */
@media (prefers-color-scheme: dark) {
  /* You can add dark mode styles here if needed */
}