/* VODACIS Marketing Site Styles
   Based on shared design system - see planning/DESIGN_REFERENCE.md */

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: #1976D2;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1565C0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

.section {
  padding: 80px 24px;
}

.section-gray {
  background: #f8f9fa;
}

.section-dark {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 50%, #0D47A1 100%);
  color: white;
}

/* ========== Typography ========== */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #666;
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-title {
  color: white;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1976D2;
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-brand .icon {
  font-size: 28px;
}

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

.nav-link {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1976D2;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 8px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.btn-primary {
  background: #1976D2;
  color: white;
  border-color: #1976D2;
}

.btn-primary:hover {
  background: #1565C0;
  border-color: #1565C0;
  color: white;
}

.btn-white {
  background: white;
  color: #1976D2;
  border-color: white;
}

.btn-white:hover {
  background: #f5f5f5;
  color: #1565C0;
}

.btn-outline {
  background: transparent;
  color: #1976D2;
  border-color: #1976D2;
}

.btn-outline:hover {
  background: #1976D2;
  color: white;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline-white:hover {
  background: white;
  color: #1976D2;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.1rem;
}

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 50%, #0D47A1 100%);
  padding: 140px 24px 100px;
  text-align: center;
  color: white;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #90CAF9, #42A5F5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Benefits Cards ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.benefit-card:hover {
  border-color: #1976D2;
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.1);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 48px;
  color: #1976D2;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ========== How It Works (Steps) ========== */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  width: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #1976D2;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step-icon {
  font-size: 48px;
  color: #1976D2;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.step-arrow {
  font-size: 32px;
  color: #ccc;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #1976D2;
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.1);
}

.feature-icon {
  font-size: 32px;
  color: #1976D2;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ========== Products Section ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 2px solid #eee;
  position: relative;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: #1976D2;
  box-shadow: 0 12px 32px rgba(25, 118, 210, 0.12);
}

.product-card.featured {
  border-color: #1976D2;
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.15);
}

.product-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1976D2;
  color: white;
  padding: 4px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-icon {
  font-size: 48px;
  color: #1976D2;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.product-card .description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.product-features {
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #444;
}

.product-features .icon {
  color: #4CAF50;
  font-size: 20px;
  flex-shrink: 0;
}

/* ========== Use Cases / Markets ========== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.market-card {
  background: white;
  padding: 24px 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s;
}

.market-card:hover {
  border-color: #1976D2;
  transform: translateY(-4px);
}

.market-icon {
  font-size: 40px;
  color: #1976D2;
  margin-bottom: 12px;
}

.market-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.market-card p {
  font-size: 0.85rem;
  color: #666;
}

/* ========== Comparison Table ========== */
.comparison-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #1a1a2e;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight {
  color: #1976D2;
  font-weight: 600;
}

/* ========== Contact Form ========== */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 20px;
  text-align: left;
  margin-top: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1976D2;
}

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

.contact-info {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.contact-info p {
  color: #666;
  margin-bottom: 8px;
}

.contact-info a {
  font-weight: 500;
}

/* ========== Footer ========== */
.footer {
  background: #1a1a2e;
  color: white;
  padding: 64px 24px 32px;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-brand .icon {
  font-size: 24px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 280px;
}

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

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #42A5F5;
}

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

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

/* ========== CTA Sections ========== */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== AI Section Highlight ========== */
.ai-section {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.ai-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ai-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.ai-card .icon {
  font-size: 28px;
  color: #1976D2;
}

.ai-card p {
  color: #666;
  line-height: 1.6;
}

.ai-privacy-note {
  margin-top: 40px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid #1976D2;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ai-privacy-note h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #1976D2;
}

.ai-privacy-note p {
  color: #666;
}

/* ========== Legal Pages ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: #666;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  color: #444;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  color: #444;
  margin-bottom: 8px;
  line-height: 1.6;
  list-style: disc;
}

/* ========== Utilities ========== */
.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

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

  .markets-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-brand-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-card.featured {
    order: -1;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 16px 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 60px 16px;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .steps-grid {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .markets-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }
}

/* ========== Material Icons ========== */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
