/* Apple-Inspired 2025 Design System */

:root {
  /* Apple-inspired Color Palette */
  --primary: #007AFF;
  --primary-light: #5AC8FA;
  --primary-dark: #0051D5;
  --secondary: #5856D6;
  --success: #34C759;
  --warning: #FF9500;
  --error: #FF3B30;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* Apple Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(20px);
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none !important;
  outline: none !important;
}

/* Specifically remove any blue elements */
*[style*="blue"],
*[style*="#007AFF"],
*[style*="rgba(0,122,255"],
*[class*="blue"] {
  display: none !important;
}

/* Remove any potential browser progress bar or loading indicator */
progress,
::-webkit-progress-bar,
::-webkit-progress-value {
  display: none !important;
}

/* Remove any potential blue lines */
*::before,
*::after {
  border: none !important;
  outline: none !important;
}

/* Specifically target the viewport top */
html::before,
body::before {
  display: none !important;
}

/* Remove any browser default blue lines */
html {
  border-top: none !important;
  box-shadow: none !important;
}

body {
  border-top: none !important;
  box-shadow: none !important;
}

/* Fix blue line issue on all pages */
* {
  border-top: none !important;
}

*::before,
*::after {
  border-top: none !important;
}

/* Specifically target any section that might have blue lines */
.get-started-section,
.get-started-section *,
.get-started-section::before,
.get-started-section::after {
  border-top: none !important;
  box-shadow: none !important;
}

/* Remove browser focus outlines and selection highlights */
*:focus,
*:active,
*:target {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove any potential browser chrome blue lines */
:root {
  --webkit-tap-highlight-color: transparent !important;
}

/* Ensure no blue lines from browser defaults */
html,
body,
.navbar,
.nav-container,
.nav-brand {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-top: none !important;
  outline: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-900);
  background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
  min-height: 100vh;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none !important;
  padding: 0;
  margin-top: 0 !important;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
}

.nav-brand i {
  color: var(--primary);
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-separator {
  color: var(--gray-400);
  font-weight: 400;
  user-select: none;
}

.nav-link {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--gray-900);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Login Link Styling */
.login-link {
  color: var(--primary) !important;
  font-weight: 600;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
}

.login-link:hover {
  background: rgba(0, 122, 255, 0.15);
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-1px);
}

.login-link::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(88, 86, 214, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero Visual Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
  max-width: 320px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
}

.card-header i {
  color: #FFD60A;
}

.card-body h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.card-reward {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 1rem;
}

.progress-bar {
  background: var(--gray-200);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Full Screen Animation */
.animation-container {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen-animation {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.screen.active {
  opacity: 1;
  transform: translateX(0);
}

/* Platform Headers */
.platform-header {
  text-align: center;
  margin-bottom: 20px;
}

.platform-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-lg);
}

.amazon-logo {
  background: linear-gradient(135deg, #FF9900, #FFB84D);
}

.makemytrip-logo {
  background: linear-gradient(135deg, #E73C7E, #FF6B9D);
}

.reviewrefunds-logo {
  background: linear-gradient(135deg, #007AFF, #5856D6);
}

.platform-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

/* Review Showcase Styles */
.review-showcase {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.product-display {
  margin-bottom: 20px;
}

.product-image-large {
  width: 70px;
  height: 70px;
  font-size: 45px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 15px 0;
}

.stars-large {
  display: flex;
  gap: 5px;
}

.star {
  font-size: 18px;
  color: #ddd;
  transition: all 0.2s ease;
}

.star.filled {
  color: #FFD60A;
}

.rating-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.review-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0;
  box-shadow: var(--shadow-sm);
}

.review-content p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--gray-700);
  margin: 0;
  font-style: italic;
}

.review-submit-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.amazon-btn {
  background: linear-gradient(135deg, #FF9900, #FFB84D);
}

.makemytrip-btn {
  background: linear-gradient(135deg, #E73C7E, #FF6B9D);
}

.review-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Upload Showcase Styles */
.upload-showcase {
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}

.upload-area {
  margin-bottom: 15px;
}

.screenshot-display {
  width: 60px;
  height: 60px;
  font-size: 35px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007AFF, #5856D6);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.upload-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 6px 0;
}

.upload-description {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin: 0 0 15px 0;
}

.reward-preview {
  background: rgba(52, 199, 89, 0.1);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  border: 2px solid rgba(52, 199, 89, 0.3);
}

.reward-amount-large {
  font-size: 1.8rem;
  font-weight: 700;
  color: #34C759;
  margin: 0;
}

.reward-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin: 2px 0 0 0;
}

.upload-submit-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #007AFF, #5856D6);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.upload-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Payment Celebration Styles */
.payment-celebration {
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}

.success-animation {
  font-size: 50px;
  margin-bottom: 10px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #34C759;
  margin: 0 0 10px 0;
}

.earning-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #34C759;
  margin: 10px 0;
  text-shadow: 0 2px 4px rgba(52, 199, 89, 0.3);
}

.success-message {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin: 0 0 15px 0;
}

.payment-info {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  box-shadow: var(--shadow-sm);
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.payment-row:last-child {
  border-bottom: none;
}

.payment-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
}

.payment-value {
  font-size: 0.75rem;
  color: var(--gray-900);
  font-weight: 600;
}

.payment-value.success {
  color: #34C759;
}

.upi-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #34C759, #30D158);
  color: white;
  padding: 6px 15px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.75rem;
  margin-top: 10px;
  box-shadow: var(--shadow-md);
}

.upi-icon {
  font-size: 1rem;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.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;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1.125rem 2rem;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features Section */
.features {
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(248,250,252,0.8) 100%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23f1f5f9" fill-opacity="0.4"><circle cx="30" cy="30" r="1"/></g></svg>');
  z-index: -1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Removed blue line above feature cards */

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  background: var(--white);
  position: relative;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.steps-section {
  background: linear-gradient(135deg, rgba(0,122,255,0.05) 0%, rgba(88,86,214,0.05) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid rgba(0,122,255,0.1);
}

.steps-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gray-900);
  display: flex;
  align-items: center;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--gray-900);
}

.step-content p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,122,255,0.1) 0%, transparent 70%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.9) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 122, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(88, 86, 214, 0.06) 0%, transparent 50%);
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.contact-details p {
  color: var(--gray-600);
  font-size: 1rem;
  margin: 0;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

.contact-form .form-group {
  margin-bottom: 0;
}

.contact-form .form-input {
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid var(--gray-300);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), var(--shadow-sm);
}

.contact-form .form-input:hover {
  border-color: var(--primary-light);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), var(--shadow-md);
  background: rgba(255, 255, 255, 1);
}

.contact-form .form-input:focus {
  border-color: var(--primary);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(0, 122, 255, 0.12), var(--shadow-lg);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-primary);
  line-height: 1.6;
}

/* Enhanced form title styling */
.contact-form-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.contact-form-container h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

/* Form note styling */
.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(52, 199, 89, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 199, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-note i {
  color: var(--success);
  font-size: 1rem;
}

/* Form messages and error states */
.form-messages {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-messages.success {
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: var(--success);
}

.form-messages.error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: var(--error);
}

.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
  font-weight: 500;
}

.form-error.show {
  display: block;
}

.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.1);
}

.form-input.error:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.15);
}

/* Loading state for submit button */
.btn.loading {
  opacity: 0.8;
  pointer-events: none;
  position: relative;
}

.btn.loading .btn-text {
  opacity: 0;
}

.btn.loading .spinner {
  display: block !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Character counter */
.form-group {
  position: relative;
}

.char-counter {
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.char-counter.warning {
  color: var(--warning);
}

.char-counter.error {
  color: var(--error);
}

/* Captcha Styling */
.captcha-group {
  background: rgba(0, 122, 255, 0.03);
  border: 1px solid rgba(0, 122, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.captcha-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.captcha-question {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.captcha-question::before {
  content: '🧮';
  position: absolute;
  left: 1rem;
  font-size: 1.2rem;
}

.captcha-actions {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.captcha-input {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-refresh {
  background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  box-shadow: var(--shadow-sm);
}

.btn-refresh:hover {
  background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-800) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-refresh:active {
  transform: translateY(0);
}

.btn-refresh i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-refresh:hover i {
  transform: rotate(180deg);
}

.captcha-loading {
  opacity: 0.6;
  pointer-events: none;
}

.captcha-loading .captcha-question {
  background: var(--gray-100);
  color: var(--gray-500);
}

.captcha-help {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
  display: block;
  text-align: center;
  font-style: italic;
}

/* Mobile captcha adjustments */
@media (max-width: 768px) {
  .captcha-group {
    padding: 1.25rem;
  }
  
  .captcha-question {
    font-size: 1rem;
    padding: 0.875rem;
    min-height: 50px;
  }
  
  .captcha-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-refresh {
    align-self: center;
    min-width: 120px;
  }
  
  .captcha-input {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .captcha-question::before {
    position: static;
    margin-right: 0.5rem;
  }
  
  .captcha-question {
    font-size: 0.95rem;
    padding: 0.75rem;
  }
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-brand i {
  color: var(--primary);
}

.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  text-align: center;
  color: var(--gray-500);
}

/* Enhanced Form Styles */
.form-container {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
}

.auth-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-800);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  position: relative;
  color: var(--gray-900);
}

.form-input:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 1);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12), var(--shadow-lg);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  color: var(--primary);
  font-weight: 700;
}

.form-input::placeholder {
  color: var(--gray-500);
  font-weight: 400;
  opacity: 0.8;
}

/* Enhanced floating label effect */
.form-group.floating-label {
  position: relative;
}

.form-group.floating-label .form-label {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  margin: 0;
  padding: 0 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.form-group.floating-label .form-input:focus + .form-label,
.form-group.floating-label .form-input:not(:placeholder-shown) + .form-label {
  top: -0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  font-weight: 700;
}

/* Textarea specific styling */
textarea.form-input {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-primary);
  line-height: 1.6;
}

/* Enhanced button styling for forms */
.form-group .btn {
  margin-top: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-lg);
}

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

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

.form-group .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
}

.form-group .btn:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Contact info cards enhancement */
.contact-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,122,255,0.05), transparent);
  transition: left 0.6s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(0,122,255,0.2);
}

/* Form input animation improvements */
.form-input {
  position: relative;
}

.form-input:focus {
  animation: inputFocus 0.3s ease-out;
}

@keyframes inputFocus {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1) translateY(-1px);
  }
}

/* Role Selection */
.role-selection {
  margin-bottom: 2rem;
}

.role-selection h3 {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.role-card {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.role-card:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.role-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0,122,255,0.1) 0%, rgba(88,86,214,0.1) 100%);
}

.role-card i {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.role-card h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.role-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Utility Classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mr-2 { margin-right: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-3xl { font-size: 1.875rem; }
.font-semibold { font-weight: 600; }
.text-gray-600 { color: var(--gray-600); }

/* Enhanced Mobile-First Responsive Design */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
  .hero-content {
    gap: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .steps-container {
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile Landscape and Tablet Portrait */
@media (max-width: 768px) {
  /* Navigation - Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Hero Section */
  .hero {
    padding: 7rem 1.5rem 5rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  /* Hero Visual Card */
  .hero-card {
    max-width: 280px;
    padding: 1.5rem;
    transform: none;
  }
  
  /* Sections */
  .section {
    padding: 4rem 1.5rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }
  
  /* How It Works */
  .steps-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .steps-section {
    padding: 2rem 1.5rem;
  }
  
  .steps-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  
  .step-content h4 {
    font-size: 0.95rem;
  }
  
  .step-content p {
    font-size: 0.85rem;
  }
  
  /* CTA Section */
  .cta-content h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Contact Section */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-container {
    padding: 2.5rem 2rem;
  }
  
  .contact-form-container h3 {
    font-size: 1.375rem;
  }
  
  .contact-form .form-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }
  
  .contact-form textarea.form-input {
    min-height: 120px;
  }
  
  /* Footer */
  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  /* Buttons */
  .btn {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-large {
    padding: 1.25rem 2rem;
    font-size: 0.95rem;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  /* Navigation */
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .nav-brand {
    font-size: 1.25rem;
  }
  
  .nav-brand i {
    font-size: 1.5rem;
  }
  
  .nav-menu {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }
  
  .nav-auth {
    width: 100%;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 1rem;
  }
  
  /* Hero */
  .hero {
    padding: 6rem 1rem 4rem;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: none;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-card {
    max-width: 260px;
    padding: 1.25rem;
  }
  
  .card-body h4 {
    font-size: 1rem;
  }
  
  .card-reward {
    font-size: 1.25rem;
  }
  
  /* Sections */
  .section {
    padding: 3rem 1rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  /* Features */
  .feature-card {
    padding: 1.75rem 1.25rem;
  }
  
  .feature-card h3 {
    font-size: 1.125rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  /* Steps */
  .steps-section {
    padding: 1.75rem 1.25rem;
  }
  
  .steps-title {
    font-size: 1.125rem;
    text-align: center;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  /* CTA */
  .cta-content h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  
  .cta-content p {
    font-size: 0.95rem;
  }
  
  /* Contact Section - Mobile Portrait */
  .contact-form-container {
    padding: 2rem 1.5rem;
    margin: 0 0.5rem;
  }
  
  .contact-form-container h3 {
    font-size: 1.25rem;
  }
  
  .contact-form .form-input {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }
  
  .contact-form textarea.form-input {
    min-height: 100px;
  }
  
  .form-note {
    font-size: 0.8rem;
    padding: 0.625rem;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  /* Footer */
  .footer {
    padding: 2.5rem 1rem 1rem;
  }
  
  .footer-brand {
    font-size: 1.125rem;
  }
  
  .footer-section h4 {
    font-size: 1rem;
  }
  
  .footer-section ul li {
    margin-bottom: 0.75rem;
  }
  
  .footer-bottom {
    font-size: 0.85rem;
    margin-top: 2rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .hero {
    padding: 5rem 0.75rem 3rem;
  }
  
  .section {
    padding: 2.5rem 0.75rem;
  }
  
  .nav-container {
    padding: 0.75rem;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 12vw, 2rem);
  }
  
  .feature-card,
  .steps-section {
    padding: 1.5rem 1rem;
  }
  
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .btn-large {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Touch-friendly Interactive Elements */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    padding: 0.75rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .nav-toggle {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  
  .social-link {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .feature-card:hover,
  .btn:hover,
  .nav-link:hover {
    transform: none;
  }
  
  /* Add active states for touch */
  .btn:active {
    transform: scale(0.98);
  }
  
  .feature-card:active {
    transform: translateY(-4px);
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Focus States */
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-input:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Product Search Section - Review and Earn Page */
.product-search-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.9) 100%);
  position: relative;
  overflow: hidden;
}

.product-search-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 122, 255, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(88, 86, 214, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.product-search-section .container {
  position: relative;
  z-index: 1;
}

.search-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Method Cards */
.search-method-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.search-method-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  background: rgba(255, 255, 255, 0.98);
}

.search-method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-method-card:hover::before {
  opacity: 1;
}

/* Method Headers */
.method-header {
  text-align: center;
  margin-bottom: 2rem;
}

.method-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.search-icon {
  background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
}

.qr-icon {
  background: linear-gradient(135deg, #5856D6 0%, #AF52DE 100%);
}

.link-icon {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
}

.method-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.method-header p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.5;
}

/* Search Box Styling */
.search-box-container {
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12);
  background: white;
}

.search-btn {
  position: absolute;
  right: 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 0.5rem;
  display: none;
}

/* QR Upload Styling */
.qr-upload-container {
  position: relative;
}

.qr-drop-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(248, 250, 252, 0.5);
}

.qr-drop-zone:hover,
.qr-drop-zone.drag-over {
  border-color: var(--primary);
  background: rgba(0, 122, 255, 0.05);
}

.qr-drop-content {
  pointer-events: none;
}

.qr-upload-icon {
  font-size: 3rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
  display: block;
}

.qr-drop-zone:hover .qr-upload-icon {
  color: var(--primary);
}

.qr-drop-zone h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.qr-drop-zone p {
  color: var(--gray-500);
  margin: 0;
}

.qr-preview {
  text-align: center;
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.5);
  border-radius: var(--radius-lg);
}

.qr-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

/* Link Input Styling */
.link-input-container {
  position: relative;
}

.link-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.link-input {
  width: 100%;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.link-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12);
  background: white;
}

.link-btn {
  position: absolute;
  right: 0.75rem;
  background: linear-gradient(135deg, var(--success) 0%, #30D158 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
}

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.supported-platforms {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.platform-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.platform-tag {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-700);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Search Results */
.search-results {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-results h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Product Cards */
.product-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 1);
}

.product-image {
  position: relative;
  margin-bottom: 1rem;
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.product-platform {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.product-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: #FFD60A;
  font-size: 1rem;
}

.rating-text {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.product-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: rgba(52, 199, 89, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 199, 89, 0.2);
}

.reward-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success);
}

.reward-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.product-select-btn {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Search Loading Overlay */
.search-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.search-loading-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-2xl);
}

.search-loading-content .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.search-loading-content p {
  color: var(--gray-700);
  font-weight: 500;
  margin: 0;
}

/* Search Notifications */
.search-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

.search-notification.error {
  border-left: 4px solid var(--error);
}

.search-notification.info {
  border-left: 4px solid var(--primary);
}

.search-notification i {
  font-size: 1.125rem;
}

.search-notification.error i {
  color: var(--error);
}

.search-notification.info i {
  color: var(--primary);
}

/* Search Suggestions */
.search-suggestions {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.suggestion-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid var(--gray-100);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--gray-50);
}

/* Button Small Variant */
.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Get Started Page Styling */
.get-started-section {
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.get-started-section::before {
  display: none;
}

.get-started-section .container {
  position: relative;
  z-index: 1;
}

.get-started-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Get Started Cards */
.get-started-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.get-started-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.25);
}

/* Card Headers */
.card-header {
  padding: 3rem 3rem 1rem;
  text-align: left;
  position: relative;
  background: transparent;
}

.card-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
  color: #1d1d1f;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.card-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0;
  color: #6e6e73;
  line-height: 1.4;
}


/* Card Content */
.card-content {
  flex: 1;
  margin-bottom: 2rem;
  padding: 0 3rem;
}

.get-started-card p {
  font-size: 1.125rem;
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: left;
}

/* Card Features */
.card-features {
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(2px);
}

.feature-item i {
  color: #34c759;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 1rem;
  font-weight: 400;
  color: #1d1d1f;
}

/* Card Stats */
.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #6e6e73;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* Card Actions */
.card-action {
  margin-top: auto;
  padding: 0 3rem 3rem;
  position: relative;
}

/* Gradient accent line */
.get-started-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 3rem;
  right: 3rem;
  height: 4px;
  border-radius: 2px;
}

.review-card::after {
  background: linear-gradient(90deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
}

.add-card::after {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.card-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 1rem;
  font-style: italic;
}

/* Additional Info Section */
.get-started-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.info-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--gray-600);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .get-started-section {
    padding: 4rem 0;
  }
  
  .get-started-options {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .get-started-card {
    padding: 0;
    min-height: auto;
  }
  
  .card-header {
    padding: 2rem 2rem 0.75rem;
  }
  
  .card-content {
    padding: 0 2rem;
  }
  
  .card-action {
    padding: 0 2rem 2rem;
  }
  
  .get-started-card::after {
    left: 2rem;
    right: 2rem;
  }
  
  .card-header h2 {
    font-size: 1.5rem;
  }
  
  .get-started-card p {
    font-size: 1rem;
  }
  
  .card-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .get-started-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem 1rem;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .card-header {
    padding: 1.5rem 1.5rem 0.5rem;
  }
  
  .card-header h2 {
    font-size: 1.25rem;
  }
  
  .card-subtitle {
    font-size: 1rem;
  }
  
  .card-content {
    padding: 0 1.5rem;
  }
  
  .card-action {
    padding: 0 1.5rem 1.5rem;
  }
  
  .get-started-card::after {
    left: 1.5rem;
    right: 1.5rem;
  }
  
  .card-stats {
    grid-template-columns: 1fr;
  }
  
  .feature-item {
    padding: 0.5rem;
  }
}

/* Product Form Styling */
.product-form-section {
  background: #f5f5f7;
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
}

.product-form {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.form-section-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f5f5f7;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.form-input {
  padding: 1rem 1.25rem;
  border: 2px solid #d1d1d6;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #1d1d1f;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
  height: 52px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-input:hover {
  border-color: #b8b8bd;
}

.form-input::placeholder {
  color: #8e8e93;
}

.form-error {
  font-size: 0.875rem;
  color: #ff3b30;
  font-weight: 500;
  min-height: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-error:before {
  content: '';
  font-size: 0.75rem;
}

/* Help Button */
.help-btn {
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary);
  font-size: 0.75rem;
}

.help-btn:hover {
  background: rgba(0, 122, 255, 0.15);
  border-color: rgba(0, 122, 255, 0.3);
  transform: scale(1.1);
}

/* File Upload */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.form-file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-area {
  border: 2px dashed #d1d1d6;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--primary);
  background: rgba(0, 122, 255, 0.05);
}

.file-upload-area i {
  font-size: 2rem;
  color: #8e8e93;
  margin-bottom: 1rem;
  display: block;
}

.file-upload-text {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.file-upload-hint {
  font-size: 0.875rem;
  color: #8e8e93;
}

.file-preview {
  text-align: center;
  padding: 1rem;
  border: 2px solid #d1d1d6;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.file-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.remove-file-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ff3b30;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.remove-file-btn:hover {
  background: #d70015;
  transform: scale(1.1);
}

/* Password Field */
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #8e8e93;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--primary);
}

.password-strength {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.password-strength.weak {
  color: #ff3b30;
}

.password-strength.medium {
  color: #ff9500;
}

.password-strength.strong {
  color: #34c759;
}

/* Checkbox */
.checkbox-group {
  margin-bottom: 2rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d1d6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

.checkbox-text {
  color: #1d1d1f;
}

.terms-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.terms-link:hover {
  text-decoration: underline;
}

/* Form Footer */
.form-footer {
  border-top: 1px solid #f5f5f7;
  padding-top: 2rem;
  text-align: center;
}

.form-submit-btn {
  min-width: 200px;
  position: relative;
}

.form-submit-btn.loading .btn-text {
  opacity: 0;
}

.form-submit-btn.loading .spinner {
  display: block !important;
}

/* Help Popup */
.help-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.help-popup {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.help-popup-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.help-popup-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.help-popup-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #8e8e93;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.help-popup-close:hover {
  background: #f5f5f7;
  color: #1d1d1f;
}

.help-popup-content {
  padding: 1rem 2rem 2rem;
}

.help-popup-content p {
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.help-example h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
}

.help-step {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fafafa;
  border-radius: 8px;
}

.help-step strong {
  color: var(--primary);
  font-weight: 600;
}

.help-step ol {
  margin: 0.5rem 0 0 1rem;
  color: #6e6e73;
}

.help-step li {
  margin-bottom: 0.25rem;
}

.help-step code {
  background: #e5e5e7;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.875rem;
  color: #1d1d1f;
}

/* Platform Examples */
.platform-examples {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-example {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  color: #495057;
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}

.help-note {
  background: rgba(0, 122, 255, 0.08);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.help-note i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.125rem;
}

.help-note span {
  color: #1d1d1f;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
  .product-form-section {
    padding: 3rem 0;
    min-height: auto;
    align-items: flex-start;
  }

  .form-container {
    margin: 0 1rem;
  }

  .product-form {
    padding: 1.5rem;
    margin: 0;
    border-radius: 16px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .form-input {
    padding: 0.875rem 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .form-label {
    font-size: 0.9rem;
  }
  
  .file-upload-area {
    padding: 1.5rem 1rem;
  }

  .file-upload-area i {
    font-size: 1.5rem;
  }

  .file-upload-text {
    font-size: 0.9rem;
  }

  .file-upload-subtext {
    font-size: 0.8rem;
  }
  
  .help-popup {
    width: 95%;
    max-width: none;
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
  }

  .help-popup h3 {
    font-size: 1.25rem;
  }

  .help-popup p {
    font-size: 0.9rem;
  }

  .platform-examples {
    gap: 0.75rem;
  }

  .platform-example {
    padding: 0.75rem;
    font-size: 0.85rem;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: pre-wrap;
  }

  .form-submit-btn {
    width: 100%;
    min-width: auto;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .checkbox-group {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .help-popup-header,
  .help-popup-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .product-form-section {
    padding: 1.5rem 0;
    min-height: auto;
  }

  .form-container {
    margin: 0 0.5rem;
  }

  .product-form {
    padding: 1rem;
    border-radius: 12px;
  }

  .form-grid {
    gap: 1rem;
  }

  .form-section-title {
    font-size: 1.125rem;
  }

  .form-input {
    padding: 0.75rem;
    font-size: 16px;
  }

  .form-label {
    font-size: 0.85rem;
  }
  
  .form-section {
    gap: 1rem;
  }
  
  .file-upload-area {
    padding: 1rem;
  }

  .file-upload-area i {
    font-size: 1.25rem;
  }

  .file-upload-text {
    font-size: 0.85rem;
  }

  .file-upload-subtext {
    font-size: 0.75rem;
  }
  
  .help-popup {
    margin: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    width: calc(100% - 1rem);
  }

  .help-popup h3 {
    font-size: 1.125rem;
  }

  .help-popup p {
    font-size: 0.85rem;
  }

  .platform-example {
    padding: 0.5rem;
    font-size: 0.8rem;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
  }

  .form-submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .checkbox-label {
    font-size: 0.85rem;
  }

  .password-wrapper {
    position: relative;
  }

  .password-toggle {
    right: 0.75rem;
    width: 20px;
    height: 20px;
  }
  
  .help-popup-header,
  .help-popup-content {
    padding: 1rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .search-methods-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .search-method-card {
    padding: 2rem 1.5rem;
  }
  
  .method-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
  
  .search-input,
  .link-input {
    padding: 1rem 3.5rem 1rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .search-btn,
  .link-btn {
    min-width: 40px;
    height: 40px;
    padding: 0.75rem;
  }
  
  .qr-drop-zone {
    padding: 2rem 1rem;
  }
  
  .supported-platforms {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-2xl);
}

.loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loading-spinner p {
  color: var(--gray-700);
  font-weight: 500;
  margin: 0;
}

/* Notifications */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  z-index: 10000;
  animation: slideInRight 0.3s ease;
}

.notification-success {
  border-left-color: var(--success);
}

.notification-error {
  border-left-color: var(--error);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-content i {
  font-size: 1.125rem;
}

.notification-success .notification-content i {
  color: var(--success);
}

.notification-error .notification-content i {
  color: var(--error);
}

.notification-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.25rem;
}

.notification-close:hover {
  color: var(--gray-600);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Alert Messages */
.alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error);
}

.alert-success {
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.2);
  color: var(--success);
}

.alert i {
  font-size: 1.125rem;
  margin-top: 0.125rem;
}

.alert p {
  margin: 0;
  font-weight: 500;
}
