/* Pivotify Design System Light Theme v1.0
 * Clean, professional light theme
 * Based on modern SaaS landing page patterns
 */

:root {
  /* Primary Colors */
  --color-primary: #22c55e;
  --color-primary-hover: #16a34a;
  --color-primary-light: rgba(34, 197, 94, 0.1);
  --color-primary-dark: #15803d;
  
  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-card: #ffffff;
  --color-bg-hover: #f8fafc;
  --color-bg-active: #f1f5f9;
  
  /* Border Colors */
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --color-border-active: rgba(34, 197, 94, 0.4);
  
  /* Text Colors */
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-tertiary: #64748b;
  --color-text-muted: #94a3b8;
  
  /* Status Colors */
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
  
  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

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

p {
  color: var(--color-text-secondary);
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo img {
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-item {
  padding: 10px 16px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-item:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 200px;
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
}

.dropdown-menu a:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.dropdown-menu a:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
  background: var(--color-bg-tertiary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn-ghost:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px var(--space-xl) 80px;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-2xl);
}

/* Section */
.section {
  padding: 100px var(--space-xl);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Pricing Cards */
.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
  position: relative;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.plan-description {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-xl);
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-primary);
}

.price-period {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.trial-notice {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

/* Features List */
.features-list {
  list-style: none;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.features-list svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.feature-highlight {
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Toggle Switch */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.toggle-label.active {
  color: var(--color-text-primary);
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--color-bg-tertiary);
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.toggle-switch.active {
  background: var(--color-primary);
}

.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(28px);
}

/* FAQ Section */
.faq-section {
  background: var(--color-bg-secondary);
}

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

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--color-bg-hover);
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
}

.faq-question svg {
  color: var(--color-text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Features Grid */
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  gap: 24px;
  transition: all var(--transition-base);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Steps */
.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--color-text-secondary);
}

/* Results Grid */
.results-section {
  background: var(--color-bg-secondary);
}

.results-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.result-card {
  text-align: center;
  padding: 32px;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.result-card h3 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.result-card p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

/* Testimonials */
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.testimonial-card p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.author-info h4 {
  font-size: 1rem;
  color: var(--color-text-primary);
}

.author-info p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-primary-light) 100%);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
}

/* Comparison Table */
.comparison {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}

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

.comparison-row.header {
  background: var(--color-bg-tertiary);
  font-weight: 600;
}

.comparison-cell {
  padding: 20px;
  text-align: center;
  color: var(--color-text-secondary);
}

.comparison-cell:first-child {
  text-align: left;
  color: var(--color-text-primary);
  font-weight: 500;
}

.comparison-cell svg {
  width: 20px;
  height: 20px;
}

.comparison-cell .check {
  color: var(--color-success);
}

.comparison-cell .x {
  color: var(--color-text-muted);
}

/* Industries Grid */
.industries-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.industry-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-base);
}

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

.industry-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.industry-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.industry-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.industry-card p {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* Translation Cards */
.translation-examples {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.translation-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.translation-header {
  background: var(--color-bg-tertiary);
  padding: 16px 24px;
  font-weight: 600;
  color: var(--color-primary);
}

.translation-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.translation-side {
  padding: 24px;
  border-right: 1px solid var(--color-border);
}

.translation-side:last-child {
  border-right: none;
}

.translation-side h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.translation-side.military {
  background: rgba(239, 68, 68, 0.05);
}

.translation-side.civilian {
  background: rgba(34, 197, 94, 0.05);
}

/* Partners */
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  width: 120px;
  height: 60px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 60px var(--space-xl) var(--space-xl);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.footer-col a {
  display: block;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.trust-badge svg {
  color: var(--color-primary);
}

/* Email Form */
.email-form {
  margin-bottom: 24px;
}

.email-form label {
  display: block;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.email-input-group {
  display: flex;
  gap: 12px;
}

.email-input-group input {
  flex: 1;
  padding: 14px 16px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.email-input-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.email-input-group input::placeholder {
  color: var(--color-text-muted);
}

/* Branch Badge */
.branch-badge {
  display: inline-block;
  background: var(--color-bg-tertiary);
  color: var(--color-text-muted);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .nav {
    display: none;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 20px 60px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .pricing-card {
    padding: 28px;
  }
  
  .price {
    font-size: 2.5rem;
  }
  
  .email-input-group {
    flex-direction: column;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 16px;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .comparison-cell {
    text-align: left;
  }
  
  .translation-body {
    grid-template-columns: 1fr;
  }
  
  .translation-side {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}