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

:root {
  /* Colors - Google Blue Palette */
  --color-primary: #1a73e8;
  --color-primary-hover: #1557b0;
  --color-primary-light: #4285f4;
  --color-text-primary: #213547;
  --color-text-secondary: #5f6368;
  --color-text-light: #80868b;
  --color-bg-white: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-bg-lighter: #f5f5f5;
  --color-border: #e0e0e0;
  --color-shadow: rgba(0, 0, 0, 0.08);
  --color-shadow-hover: rgba(0, 0, 0, 0.12);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Typography */
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Courier New', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  line-height: 1.6;
  color: #213547;
  background: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
  color: #202124;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

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

.nav-links a {
  color: #5f6368;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1a73e8;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

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

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: #202124;
  margin: 0 0 24px 0;
}

.hero-title .highlight-text {
  color: #1a73e8;
  position: relative;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #5f6368;
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

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

.btn-primary {
  background: #1a73e8;
  color: white;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.btn-secondary:hover {
  background: rgba(26, 115, 232, 0.05);
}

/* Comparison Slider */
.comparison-slider {
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  cursor: ew-resize;
  user-select: none;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-label {
  position: absolute;
  top: 24px;
  background: rgba(230, 230, 230, 0.75);
  color: black;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.before-label {
  left: 100px;
}

.after-label {
  right: 100px;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #1a73e8;
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}

.divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #1a73e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
  cursor: ew-resize;
}

/* Metrics Section */
.metrics {
  background: #f8f9fa;
  padding: 80px 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.metric-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.metric-value {
  font-size: 48px;
  font-weight: 700;
  color: #1a73e8;
  line-height: 1;
  margin-bottom: 12px;
}

.metric-label {
  font-size: 16px;
  color: #5f6368;
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 100px 20px;
  background: white;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: #202124;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  text-align: center;
  color: #5f6368;
  margin-bottom: 80px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.feature-title {
  font-size: 32px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-description {
  font-size: 18px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-size: 16px;
  color: #202124;
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a73e8;
  font-weight: bold;
  font-size: 18px;
}

.feature-list kbd {
  display: inline-block;
  padding: 3px 8px;
  font-size: 14px;
  line-height: 1;
  color: #202124;
  background: #f1f3f4;
  border: 1px solid #dadce0;
  border-radius: 4px;
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
  margin: 0 2px;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-callout {
  background: linear-gradient(135deg, #e8f0fe 0%, #f1f3f4 100%);
  border: 2px solid #1a73e8;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.callout-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.callout-text strong {
  display: block;
  font-size: 22px;
  color: #202124;
  margin-bottom: 8px;
}

.callout-text p {
  font-size: 16px;
  color: #5f6368;
  margin: 0;
  line-height: 1.5;
}

/* Demo Section */
.demo {
  background: #f8f9fa;
  padding: 100px 20px;
}

.demo-video {
  max-width: 1200px;
  margin: 0 auto 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.demo-video video {
  width: 100%;
  height: auto;
  display: block;
}

.demo-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 800px;
  margin: 0 auto;
}

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

.demo-stat-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 8px;
}

.demo-stat-label {
  display: block;
  font-size: 16px;
  color: #5f6368;
  font-weight: 500;
}

/* Download Section */
.download {
  padding: 100px 20px;
  background: white;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.download-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.download-card:hover {
  border-color: #1a73e8;
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.15);
  transform: translateY(-4px);
}

.download-card-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.download-icon {
  color: #1a73e8;
  margin-bottom: 20px;
}

.download-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
}

.download-info p {
  font-size: 16px;
  color: #5f6368;
  margin-bottom: 12px;
}

.download-format {
  display: inline-block;
  font-size: 14px;
  color: #80868b;
  background: #f1f3f4;
  padding: 6px 12px;
  border-radius: 4px;
}

.download-footer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.download-footer p {
  font-size: 16px;
  color: #5f6368;
  margin-bottom: 12px;
  line-height: 1.6;
}

.download-footer strong {
  color: #202124;
}

.download-footer a {
  color: #1a73e8;
  text-decoration: none;
}

.download-footer a:hover {
  text-decoration: underline;
}

.download-note {
  font-size: 14px !important;
  color: #80868b !important;
}

/* Footer */
.footer {
  background: #202124;
  color: rgba(255, 255, 255, 0.87);
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  width: 48px;
  height: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin: 0;
}

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.87);
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #1a73e8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-content {
    flex-direction: column;
    gap: 20px;
  }

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

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

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

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

  .demo-stats {
    flex-direction: column;
    gap: 30px;
  }

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

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

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }

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

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

  .section-title {
    font-size: 32px;
  }

  .feature-title {
    font-size: 24px;
  }

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

  .metric-value {
    font-size: 36px;
  }

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