/* ============================================
   SageReport - Modern SaaS Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #319795;
  --color-primary-dark: #2A8583;
  --color-primary-light: #3BABA9;
  --color-text: #1A1A2E;
  --color-text-secondary: #4A5568;
  --color-text-muted: #718096;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7FAFC;
  --color-bg-dark: #1A1A2E;
  --color-border: #E2E8F0;
  --color-success: #48BB78;
  --color-warning: #ECC94B;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
}

.logo-icon {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

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

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 24px 80px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Product Mockup */
.hero-visual {
  position: relative;
}

.product-mockup {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.mockup-dots span:first-child { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:last-child { background: #28CA41; }

.mockup-title {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.mockup-content {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 180px;
  background: var(--color-bg-alt);
  padding: 16px 12px;
  border-right: 1px solid var(--color-border);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-item:hover {
  background: white;
}

.sidebar-item.active {
  background: white;
  color: var(--color-primary);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 280px;
  overflow: hidden;
}

.tab-content {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.tab-content.active {
  display: flex;
}

.student-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.student-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--color-background);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.student-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.student-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.student-name {
  font-weight: 500;
  color: var(--color-text);
  font-size: 14px;
}

.student-detail {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.card-badge.complete {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.mockup-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.card-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--color-primary);
}

.card-badge.review {
  background: rgba(236, 201, 75, 0.2);
  color: #B7791F;
}

.card-progress {
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.card-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
  padding: 100px 24px;
  background: var(--color-bg);
}

.problem .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.problem p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.time-comparison {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.time-block {
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.time-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 157, 143, 0.15);
  border-color: var(--color-primary);
}

.time-label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.time-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.time-block.old .time-value {
  color: var(--color-text-secondary);
}

.time-block.new .time-value {
  color: var(--color-primary);
}

.time-bar {
  height: 12px;
  background: var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.time-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s ease;
}

.time-block.old .time-fill {
  background: var(--color-text-muted);
}

.time-block.new .time-fill {
  background: var(--color-primary);
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 100px 24px;
  background: var(--color-bg-alt);
}

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

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--color-text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(42, 157, 143, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  padding: 100px 24px;
  background: var(--color-bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.step:last-child {
  border-bottom: none;
}

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

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   About Section
   ============================================ */
.about {
  padding: 100px 24px;
  background: var(--color-bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-creds {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cred {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
}

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

.quote-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(42, 157, 143, 0.2);
  border-color: var(--color-primary);
}

.quote-icon {
  color: var(--color-primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.quote-card p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 100px 24px;
  background: var(--color-bg-dark);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.cta-buttons {
  margin-bottom: 24px;
}

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

.cta .btn-primary:hover {
  background: var(--color-primary-light);
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 80px 24px 40px;
  margin-top: 80px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 16px;
  max-width: 280px;
}

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

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-visual {
    max-width: 600px;
  }

  .problem .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .mockup-sidebar {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .problem h2,
  .about-content h2 {
    font-size: 28px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 16px 48px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .stat-number {
    font-size: 24px;
  }

  .time-value {
    font-size: 24px;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================
   Page Header (Internal Pages)
   ============================================ */
.page-header {
  padding: 140px 24px 60px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.page-header p {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Features Brief (Homepage)
   ============================================ */
.features-brief {
  padding: 80px 24px;
  background: var(--color-bg-alt);
}

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

.feature-brief {
  text-align: center;
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-brief:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 157, 143, 0.15);
  border-color: var(--color-primary);
}

.feature-brief .feature-icon {
  margin: 0 auto 16px;
}

.feature-brief h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-brief p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.features-cta {
  text-align: center;
}

/* ============================================
   Social Proof (Homepage)
   ============================================ */
.social-proof {
  padding: 80px 24px;
  background: var(--color-bg);
}

.proof-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.quote-author {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  font-style: normal;
}

.author-title {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: normal;
}

.proof-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proof-stat {
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.proof-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 157, 143, 0.15);
  border-color: var(--color-primary);
}

.proof-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ============================================
   Features Detail Page
   ============================================ */
.features-detail {
  padding: 80px 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text);
}

.feature-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.assessment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.assessment-tag {
  padding: 6px 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.assessment-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.25);
  border-color: var(--color-primary);
}

/* Feature Mockups */
.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-mockup {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  text-align: center;
  min-height: 180px;
}

.upload-zone svg {
  margin-bottom: 16px;
  color: var(--color-primary);
}

.upload-zone span {
  display: block;
}

.upload-hint {
  font-size: 12px;
  margin-top: 8px;
}

.scores-mockup {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.score-row {
  display: grid;
  grid-template-columns: 1fr 80px 120px;
  gap: 24px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.score-row.highlight {
  background: rgba(236, 201, 75, 0.1);
  margin: 0 -24px;
  padding: 12px 24px;
}

.score-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.score-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.score-range {
  font-size: 12px;
  color: var(--color-text-muted);
}

.score-range.flag {
  color: var(--color-text);
  font-weight: 500;
}

.compliance-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.compliance-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 157, 143, 0.2);
}

.compliance-badge svg {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.badge-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.badge-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
}

.editor-mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 450px;
  flex-shrink: 0;
}

.editor-toolbar {
  display: flex;
  gap: 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.toolbar-btn {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toolbar-btn:hover {
  color: var(--color-text);
}

.toolbar-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: white;
}

.editor-content {
  padding: 24px;
  height: 250px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Preview view */
.preview-doc {
  font-size: 13px;
  line-height: 1.6;
  width: 100%;
}

.preview-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.preview-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.preview-section strong {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.preview-section p {
  color: var(--color-text-secondary);
  margin: 0;
}

/* Export view */
.export-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.export-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg-alt);
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.export-option:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.15);
}

.export-option svg {
  color: var(--color-primary);
}

.export-option span {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.editor-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.highlight-text {
  background: rgba(42, 157, 143, 0.2);
  padding: 2px 4px;
  border-radius: 3px;
}

.features-grid-section {
  padding: 80px 24px;
  background: var(--color-bg-alt);
}

/* ============================================
   Steps Detail Page
   ============================================ */
.steps-detail {
  padding: 40px 24px 80px;
}

.step-block {
  display: flex;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

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

.step-line {
  width: 2px;
  flex: 1;
  background: var(--color-border);
  margin-top: 16px;
}

.step-content-block h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-content-block > p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.step-details {
  margin-bottom: 32px;
}

.step-details h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.upload-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.upload-type {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
}

.upload-type svg {
  color: var(--color-primary);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.process-icon {
  width: 36px;
  height: 36px;
  background: rgba(42, 157, 143, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.process-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.process-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.process-text span {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.control-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text);
}

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

.step-visual {
  margin-top: 32px;
}

/* Step Mockups */
.upload-mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.upload-header {
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}

.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  border: 2px dashed var(--color-border);
  margin: 20px;
  border-radius: var(--radius);
  color: var(--color-text-muted);
}

.upload-dropzone svg {
  color: var(--color-primary);
  margin-bottom: 12px;
}

.uploaded-files {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-20px);
}

.file-item svg {
  color: var(--color-text-muted);
}

.file-check {
  margin-left: auto;
  color: var(--color-success);
  font-weight: 600;
}

.processing-mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.processing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.processing-header span:first-child {
  font-weight: 600;
}

.processing-time {
  font-family: monospace;
  color: var(--color-primary);
}

.processing-stages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--color-text-muted);
}

.stage.complete {
  color: var(--color-text);
}

.stage.active {
  background: rgba(42, 157, 143, 0.1);
  color: var(--color-primary);
  font-weight: 500;
}

.stage-check {
  color: var(--color-success);
  font-weight: 600;
}

.stage-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.stage-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.stage-dot {
  width: 8px;
  height: 8px;
  background: var(--color-border);
  border-radius: 50%;
}

.stage-check {
  color: var(--color-primary);
  font-weight: 600;
}

.processing-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  color: #16a34a;
}

.processing-complete svg {
  color: #16a34a;
}

.processing-complete span {
  font-weight: 600;
  font-size: 16px;
}

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

.stage-dot {
  width: 8px;
  height: 8px;
  background: var(--color-border);
  border-radius: 50%;
  margin: 0 4px;
}

.final-mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.final-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}

.final-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--color-border);
}

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

.final-content {
  padding: 20px;
}

.report-section {
  margin-bottom: 20px;
}

.report-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.report-section p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.report-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(49, 151, 149, 0.1);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
}

.report-badge.waiting {
  background: rgba(236, 201, 75, 0.15);
  color: #B7791F;
  justify-content: space-between;
}

.report-badge.waiting svg {
  color: #B7791F;
}

.report-badge.approved {
  background: rgba(72, 187, 120, 0.15);
  color: #276749;
}

.report-badge.approved svg {
  color: #48BB78;
}

.approve-btn {
  padding: 8px 16px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.approve-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Time Saved Section */
.time-saved {
  padding: 80px 24px;
  background: var(--color-bg-alt);
}

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

.time-saved h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.time-saved > .time-saved-content > p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.time-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.time-example {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.time-example:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(49, 151, 149, 0.15);
  border-color: var(--color-primary);
}

.example-time {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.example-use {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ============================================
   About Page
   ============================================ */
.mission-video {
  padding: 0 24px 60px;
}

.video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-bg-dark);
}

.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.video-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.video-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
}

.our-story {
  padding: 80px 24px;
  background: var(--color-bg);
}

.story-content {
  max-width: 700px;
  margin: 0 auto;
}

.story-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.story-content p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.vision {
  padding: 60px 24px;
  background: var(--color-bg-alt);
}

.vision-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.vision-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.vision-card p {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.vision-card p:last-child {
  margin-bottom: 0;
}

.team {
  padding: 80px 24px;
  background: var(--color-bg);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
}

.team-member {
  text-align: center;
  max-width: 300px;
}

.member-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.member-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.member-title {
  display: block;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.member-info p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.team-note {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 32px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.team-note p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.values {
  padding: 80px 24px;
  background: var(--color-bg-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 157, 143, 0.15);
  border-color: var(--color-primary);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(42, 157, 143, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-header {
  padding-bottom: 40px;
}

.contact-section {
  padding: 0 24px 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-primary {
  display: flex;
}

.contact-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calendly-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calendly-card .calendly-wrapper {
  flex: 1;
}

.calendly-card .calendly-inline-widget {
  height: 100% !important;
  min-height: 630px;
}

/* Qualification Form Styles */
.qualify-form {
  padding: 24px 32px 32px;
}

.form-page {
  display: none;
}

.form-page.active {
  display: block;
}

.progress-indicator {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.3s ease;
}

.progress-dot.active {
  background: var(--color-primary);
}

.form-hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-option,
.radio-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.checkbox-option input[type="checkbox"],
.radio-option input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
}

.checkbox-option span,
.radio-option span {
  line-height: 1.2;
  position: relative;
  top: 1px;
}

.checkbox-option:hover:not(.disabled),
.radio-option:hover {
  background: var(--color-bg);
  border-color: var(--color-primary);
}

.checkbox-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.checkbox-option.disabled:hover {
  background: var(--color-bg-alt);
  border-color: transparent;
}

.checkbox-option input,
.radio-option input {
  accent-color: var(--color-primary);
}

.checkbox-option span,
.radio-option span {
  font-size: 14px;
}

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

.radio-option {
  flex: 1;
  justify-content: center;
}

.form-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.form-nav .btn {
  flex: 1;
}

.form-group input.error,
.form-group select.error {
  border-color: #E53E3E;
}

/* Calendly Skeleton Loader */
.calendly-skeleton {
  padding: 24px;
}

.skeleton-header {
  height: 32px;
  background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border) 50%, var(--color-bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.skeleton-calendar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-row {
  display: flex;
  gap: 8px;
}

.skeleton-day {
  flex: 1;
  height: 48px;
  background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border) 50%, var(--color-bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

.skeleton-times {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.skeleton-time {
  height: 44px;
  background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border) 50%, var(--color-bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-header-contact {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--color-border);
}

.card-header-contact h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-header-contact p {
  font-size: 15px;
  color: var(--color-text-secondary);
}

.calendly-wrapper {
  padding: 0;
}

.form-card {
  padding-bottom: 32px;
}

.contact-form {
  padding: 24px 32px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-full {
  width: 100%;
}

.form-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  color: var(--color-primary);
}

.form-success svg {
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

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

.contact-secondary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-info-card > p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 10px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ============================================
   Additional Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
  .features-grid-brief {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .feature-row.reverse > * {
    direction: ltr;
  }

  .time-examples {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 32px;
  }

  .features-grid-brief {
    grid-template-columns: 1fr;
  }

  .step-block {
    flex-direction: column;
    gap: 24px;
  }

  .step-indicator {
    flex-direction: row;
    gap: 16px;
  }

  .step-line {
    height: 2px;
    width: 100%;
    margin-top: 0;
    margin-left: 16px;
  }

  .upload-types {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .video-text h2 {
    font-size: 24px;
  }

  .video-text p {
    font-size: 16px;
  }

  .vision-card {
    padding: 32px 24px;
  }

  .vision-card h2 {
    font-size: 24px;
  }

  .vision-card p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 120px 16px 40px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .step-content-block h2 {
    font-size: 24px;
  }

  .member-photo {
    width: 140px;
    height: 140px;
  }
}

/* Legal Pages */
.legal-content {
  padding: 80px 0;
  background: var(--color-background);
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.legal-text ul {
  margin: 0 0 24px 24px;
  padding: 0;
}

.legal-text li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.legal-text a {
  color: var(--color-primary);
  text-decoration: none;
}

.legal-text a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 60px 0;
  }

  .legal-text h2 {
    font-size: 20px;
    margin-top: 36px;
  }
}

/* Interactive Upload Animation */
.interactive-upload {
  position: relative;
  overflow: hidden;
}

.flying-doc {
  position: absolute;
  top: -60px;
  left: -60px;
  opacity: 0;
  transform: rotate(-15deg);
  transition: none;
  z-index: 10;
  color: var(--color-primary);
}

.interactive-upload.animating .flying-doc {
  animation: flyIn 0.8s ease-out forwards;
}

@keyframes flyIn {
  0% {
    top: -60px;
    left: -60px;
    opacity: 0;
    transform: rotate(-15deg) scale(1.2);
  }
  60% {
    opacity: 1;
  }
  100% {
    top: calc(50% - 16px);
    left: calc(50% - 16px);
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

.upload-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.state-default {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.interactive-upload.animating .state-default {
  opacity: 0;
}

.interactive-upload.processing .state-default {
  opacity: 0;
}

.interactive-upload.processing .state-processing {
  opacity: 1;
}

.interactive-upload.pause .state-default {
  opacity: 0;
}

.interactive-upload.pause .state-processing {
  opacity: 0;
}

.interactive-upload.pause .state-pause {
  opacity: 1;
}

.interactive-upload.complete .state-default {
  opacity: 0;
}

.interactive-upload.complete .state-processing {
  opacity: 0;
}

.interactive-upload.complete .state-pause {
  opacity: 0;
}

.interactive-upload.complete .state-complete {
  opacity: 1;
}

.interactive-upload.complete .state-complete svg {
  color: #16a34a;
}

.processing-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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