/* CSV Converter - Commercial Website Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure [hidden] attribute works properly */
[hidden] {
  display: none !important;
}

:root {
  --primary-color: #667eea;
  --primary-dark: #5a6fd8;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --success-color: #4ade80;
  --warning-color: #fbbf24;
  --error-color: #ef4444;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

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

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

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

.btn-cta {
  background: var(--gradient-accent);
  color: white;
  font-weight: 600;
}

.btn-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

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

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0 1.5rem;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-brand:visited,
.nav-brand:hover,
.nav-brand:focus {
  color: var(--primary-color);
  text-decoration: none;
}

.brand-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
}

.language-select {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background: white;
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.nav-link:focus-visible {
  outline: none;
}

.nav-link.btn-cta {
  background: var(--gradient-accent);
  color: #ffffff;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.nav-link.btn-cta:hover,
.nav-link.btn-cta:focus-visible {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-xl);
}

/* Accessibility: screen-reader only utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; /* added to prevent the text from wrapping */
  border: 0 !important;
}

/* Floating CTA (Chrome Web Store) */
.floating-cta {
  position: fixed;
  right: 24px;
  top: 88px; /* placed under fixed navbar */
  z-index: 1100;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: #f59e0b; /* orange background */
  color: #ffffff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25); /* strong shadow to emphasize floating */
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.28);
  background: #d97706; /* darker orange on hover */
  outline: none;
}

.floating-cta__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.floating-cta__subtitle {
  font-size: 11px; /* slightly larger than before */
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.98;
  text-align: center;       /* center subtitle text */
  align-self: center;       /* center the flex item horizontally */
}

@media (max-width: 480px) {
  .floating-cta {
    right: 16px;
    top: 80px;
    padding: 12px 14px;
  }
  .floating-cta__title {
    font-size: 20px;
  }
  .floating-cta__subtitle {
    font-size: 9px;
  }
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-primary);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #dddddd;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 500;
}

.feature-icon {
  font-size: 1.25rem;
}

/* Workflow Demo */
.hero-visual {
  margin-top: 4rem;
}

.workflow-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.workflow-step {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  min-width: 200px;
  text-align: center;
}

.step-number {
  background: white;
  color: var(--primary-color);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.data-preview {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  text-align: left;
}

.csv-row {
  margin-bottom: 0.25rem;
}

.ai-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.arrow {
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.7;
}

/* Problem/Solution Section */
.problem-solution {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-side {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.problem h3 {
  color: var(--error-color);
  margin-bottom: 1.5rem;
}

.solution h3 {
  /* Slightly darker green for better readability */
  color: #3fd176;
  margin-bottom: 1.5rem;
}

.comparison-side ul {
  list-style: none;
}

.comparison-side li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.comparison-side li:last-child {
  border-bottom: none;
}

/* Features Section */
.features {
  padding: 4rem 0;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Use Cases Section */
.use-cases {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

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

.use-case-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
}

.use-case-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.use-case-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.use-case-card p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.benefit {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 4rem 0;
}

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

.step {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.step:nth-child(even) {
  direction: rtl;
}

.step:nth-child(even) > * {
  direction: ltr;
}

.step-visual {
  text-align: center;
}

.step-number {
  background: var(--gradient-primary);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 2rem;
}

.step-demo {
  background: var(--bg-secondary);
  border-radius: 1rem;
  padding: 2rem;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.csv-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.file-icon {
  font-size: 2rem;
}

.column-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.column-item {
  background: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.column-item.selected {
  background: var(--primary-color);
  color: white;
}

.output-files {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.file-output {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.step-content ul {
  list-style: none;
  margin-top: 1rem;
}

.step-content li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

.step-content li::before {
  content: "✓ ";
  color: var(--success-color);
  font-weight: 600;
}

/* Pricing Section */
.pricing {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.plan-header h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.plan-features ul {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-action {
  text-align: center;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

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

.cta-actions {
  margin-bottom: 1rem;
}

.cta-note {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Pricing Modal */
.pricing-modal {
  position: fixed;
  inset: 0;
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.pricing-modal.is-visible {
  display: flex !important;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.pricing-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}

.pricing-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: calc(100% - 3rem);
  text-align: center;
  z-index: 1;
}

.pricing-modal__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-modal__message {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-modal__actions {
  display: flex;
  justify-content: center;
}

.pricing-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.pricing-modal__close:hover {
  color: var(--text-primary);
}

body.modal-open {
  overflow: hidden;
}

/* Licensing Page Specific Styles */
.hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.countdown {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 2rem 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.countdown-box .number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.countdown-box .label {
  font-size: 1rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.beta-form {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.beta-form h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.beta-form > p {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.beta-form button[type="submit"] {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

.success-message,
.error-message {
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.success-message {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.error-message {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.success-message p,
.error-message p {
  margin-bottom: 0.5rem;
  color: inherit;
}

.success-message p:last-child,
.error-message p:last-child {
  margin-bottom: 0;
}

/* Features grid in licensing page */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.features .feature {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease;
}

.features .feature:hover {
  transform: translateY(-5px);
}

.features .feature .feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.features .feature h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.features .feature p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* How it Works section in licensing page */
.how-it-works-section {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 1rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
}

.how-it-works-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.steps-list {
  margin-left: 1.5rem;
  margin-top: 0;
}

.steps-list li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.steps-list li:last-child {
  margin-bottom: 0;
}

.steps-list li strong {
  color: var(--text-primary);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

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

.footer-brand p {
  color: #9ca3af;
}

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

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

.footer-section a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badges {
  display: flex;
  gap: 1rem;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

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

.animate {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .workflow-demo {
    flex-direction: column;
  }
  
  .arrow {
    transform: rotate(90deg);
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .step:nth-child(even) {
    direction: ltr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.875rem;
  }
  
  /* Licensing page responsive */
  .beta-form {
    padding: 2rem 1.5rem;
  }
  
  .countdown-box {
    padding: 1.5rem 2rem;
  }
  
  .countdown-box .number {
    font-size: 2.5rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .how-it-works-section {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-container {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  /* Add dark mode styles if needed */
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    background: #000;
    border: 2px solid #000;
  }
  
  .btn-secondary {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}