/* Static Site Styles */
:root {
  --primary: #2563eb;
  --accent: #f59e0b;
  --font-heading: 'system-ui, sans-serif', system-ui, sans-serif;
  --font-body: 'system-ui, sans-serif', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: #111827;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Utility classes */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 5rem 0; }
.section-title { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; text-align: center; margin-bottom: 1rem; }
.section-subtitle { color: #6b7280; text-align: center; margin-bottom: 3rem; max-width: 42rem; margin-left: auto; margin-right: auto; }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2-layout { grid-template-columns: repeat(2, 1fr); }
}

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); border-bottom: 1px solid #f3f4f6; }
.navbar-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 0.5rem; }
.navbar-logo img { height: 2rem; }
.navbar-logo span { font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); }
.navbar-links { display: none; align-items: center; gap: 2rem; }
.navbar-links a { font-size: 0.875rem; color: #6b7280; transition: color 0.2s; }
.navbar-links a:hover { color: #111827; }
.navbar-cta { display: none; padding: 0.5rem 1rem; color: #fff; font-size: 0.875rem; border-radius: 0.5rem; background: var(--primary); transition: opacity 0.2s; }
.navbar-cta:hover { opacity: 0.9; }
.navbar-toggle { display: block; padding: 0.5rem; color: #6b7280; background: none; border: none; cursor: pointer; }
.navbar-toggle svg { width: 1.5rem; height: 1.5rem; }
.navbar-mobile { display: none; border-top: 1px solid #f3f4f6; background: #fff; padding: 1rem 1.5rem; }
.navbar-mobile.open { display: block; }
.navbar-mobile a { display: block; padding: 0.5rem 0; font-size: 0.875rem; color: #6b7280; }
.navbar-mobile .mobile-cta { display: block; text-align: center; margin-top: 0.75rem; padding: 0.5rem 1rem; color: #fff; font-size: 0.875rem; border-radius: 0.5rem; background: var(--primary); }

@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .navbar-cta { display: inline-block; }
  .navbar-toggle { display: none; }
}

/* Hero */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.hero-content { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.hero h1 { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
.hero p.sub { font-size: 1.125rem; margin-bottom: 2rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero-ctas .btn-primary { padding: 0.75rem 2rem; color: #fff; border-radius: 0.5rem; font-weight: 500; background: var(--primary); transition: opacity 0.2s; }
.hero-ctas .btn-primary:hover { opacity: 0.9; }
.hero-ctas .btn-secondary { padding: 0.75rem 2rem; border: 1px solid #d1d5db; border-radius: 0.5rem; font-weight: 500; transition: background 0.2s; }
.hero-ctas .btn-secondary:hover { background: #f9fafb; }
.hero.has-bg h1, .hero.has-bg p.sub { color: #fff; }
.hero.has-bg p.sub { color: rgba(255,255,255,0.8); }
.hero.has-bg .btn-secondary { border-color: rgba(255,255,255,0.6); color: #fff; }
.hero.has-bg .btn-secondary:hover { background: rgba(255,255,255,0.1); }
.hero-stats { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.hero-stat-value { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-stat-label { font-size: 0.875rem; margin-top: 0.25rem; }
.hero.has-bg .hero-stat-value { color: #fff; }
.hero.has-bg .hero-stat-label { color: rgba(255,255,255,0.7); }
.hero:not(.has-bg) .hero-stat-value { color: var(--primary); }
.hero:not(.has-bg) .hero-stat-label { color: #6b7280; }

@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; }
  .hero p.sub { font-size: 1.25rem; }
  .hero-stat-value { font-size: 2.25rem; }
  .hero-stats { gap: 2.5rem; }
}

/* Feature Grid */
.feature-card { border-radius: 0.75rem; border: 1px solid #f3f4f6; overflow: hidden; transition: box-shadow 0.2s; }
.feature-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.feature-card-body { padding: 1.5rem; }
.feature-card img { width: 100%; height: 12rem; object-fit: cover; }
.feature-icon { width: 3rem; height: 3rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: #6b7280; font-size: 0.875rem; line-height: 1.625; }

/* Logo Wall */
.logo-wall { padding: 4rem 0; background: #f9fafb; }
.logo-wall-title { text-align: center; font-size: 0.875rem; color: #6b7280; margin-bottom: 2rem; }
.logo-wall-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; }
@media (min-width: 768px) { .logo-wall-grid { gap: 4rem; } }
.logo-wall-grid img { height: 2rem; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: all 0.2s; }
.logo-wall-grid img:hover { filter: grayscale(0%); opacity: 1; }
.logo-wall-grid .logo-text { display: inline-flex; align-items: center; height: 2rem; padding: 0 1rem; font-size: 0.875rem; font-weight: 500; color: #9ca3af; letter-spacing: 0.05em; transition: color 0.2s; }
.logo-wall-grid .logo-text:hover { color: #4b5563; }
@media (min-width: 768px) { .logo-wall-grid img { height: 2.5rem; } .logo-wall-grid .logo-text { height: 2.5rem; } }

/* Testimonial */
.testimonial-card { padding: 1.5rem; border-radius: 0.75rem; background: rgba(255,255,255,0.8); border: 1px solid #f3f4f6; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.testimonial-card .quote { color: #374151; line-height: 1.625; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-author img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-weight: 600; font-size: 0.875rem; }
.testimonial-author .meta { font-size: 0.75rem; color: #6b7280; }

/* FAQ */
.faq-item { background: #fff; border-radius: 0.75rem; border: 1px solid #f3f4f6; overflow: hidden; }
.faq-question { width: 100%; padding: 1rem 1.5rem; text-align: left; display: flex; align-items: center; justify-content: space-between; font-weight: 500; font-family: var(--font-heading); background: none; border: none; cursor: pointer; font-size: 1rem; color: #111827; transition: background 0.2s; }
.faq-question:hover { background: #f9fafb; }
.faq-question .arrow { transition: transform 0.2s; }
.faq-question .arrow.open { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1rem; color: #6b7280; font-size: 0.875rem; line-height: 1.625; display: none; }
.faq-answer.open { display: block; }

/* CTA */
.cta-section { text-align: center; }
.cta-section h2 { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-section h2 { font-size: 2.25rem; } }
.cta-section p { font-size: 1.125rem; margin-bottom: 2rem; }
.cta-section .cta-btn { display: inline-block; padding: 0.75rem 2rem; border-radius: 0.5rem; font-weight: 500; transition: all 0.2s; }

/* Footer */
.site-footer { background: #111827; color: #fff; padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo img { height: 2rem; }
.footer-logo h3 { font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-socials a { font-size: 0.875rem; color: #9ca3af; transition: color 0.2s; }
.footer-socials a:hover { color: #fff; }
.footer-col h4 { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: #9ca3af; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-copyright { border-top: 1px solid #1f2937; padding-top: 2rem; text-align: center; color: #6b7280; font-size: 0.875rem; }

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.comparison-table thead tr { background: var(--primary); }
.comparison-table th { padding: 1rem 1.5rem; font-weight: 500; color: #fff; text-align: center; }
.comparison-table th:first-child { text-align: left; }
.comparison-table td { padding: 1rem 1.5rem; color: #374151; }
.comparison-table td:first-child { font-weight: 500; }
.comparison-table td:not(:first-child) { text-align: center; color: #6b7280; }
.comparison-table tr:nth-child(even) { background: #f9fafb; }

/* Product Gallery */
.product-card { background: #fff; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: box-shadow 0.2s; }
.product-card:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 16rem; object-fit: cover; }
.product-card-body { padding: 1.25rem; }
.product-card h3 { font-weight: 600; font-size: 1.125rem; }
.product-card .desc { color: #6b7280; font-size: 0.875rem; margin-top: 0.5rem; }
.product-card .bottom { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.product-card .price { font-size: 1.125rem; font-weight: 700; }
.product-card .link { font-size: 0.875rem; color: #2563eb; }
.product-card .link:hover { text-decoration: underline; }

/* Rich Content */
.rich-content h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; }
.rich-content p { color: #6b7280; line-height: 1.625; }
.rich-content img { width: 100%; border-radius: 0.75rem; }
.rich-side-by-side { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .rich-side-by-side { grid-template-columns: repeat(2, 1fr); } }
.rich-side-by-side img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.75rem; }

/* Spec Table */
.spec-table { border: 1px solid #e5e7eb; border-radius: 0.75rem; overflow: hidden; }
.spec-row { display: flex; }
.spec-row:nth-child(odd) { background: #f9fafb; }
.spec-row:nth-child(even) { background: #fff; }
.spec-label { width: 33%; padding: 1rem 1.5rem; font-weight: 500; color: #374151; border-right: 1px solid #e5e7eb; }
.spec-value { width: 67%; padding: 1rem 1.5rem; color: #6b7280; }

/* Stats Grid */
.stat-item { text-align: center; padding: 1.5rem; }
.stat-icon { font-size: 1.875rem; margin-bottom: 0.75rem; }
.stat-value { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; color: var(--primary); }
@media (min-width: 768px) { .stat-value { font-size: 3rem; } }
.stat-label { font-family: var(--font-heading); font-weight: 500; font-size: 0.875rem; color: #111827; margin-bottom: 0.25rem; }
.stat-desc { font-size: 0.75rem; color: #6b7280; margin-top: 0.25rem; }

/* Team */
.team-member { text-align: center; }
.team-avatar { width: 8rem; height: 8rem; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; background: #f3f4f6; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar .initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.875rem; font-weight: 700; color: #fff; background: var(--primary); }
.team-member h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; }
.team-member .role { font-size: 0.875rem; margin-top: 0.25rem; color: var(--primary); }
.team-member .bio { font-size: 0.875rem; color: #6b7280; margin-top: 0.5rem; max-width: 20rem; margin-left: auto; margin-right: auto; }
.team-socials { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.75rem; }
.team-socials a { font-size: 0.75rem; color: #9ca3af; transition: color 0.2s; }
.team-socials a:hover { color: #4b5563; }

/* Timeline */
.timeline { position: relative; }
.timeline-line { position: absolute; left: 1.5rem; top: 0; bottom: 0; width: 2px; background: color-mix(in srgb, var(--primary) 20%, transparent); }
@media (min-width: 768px) { .timeline-line { left: 50%; transform: translateX(-50%); } }
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-desktop { display: none; }
@media (min-width: 768px) { .timeline-desktop { display: flex; align-items: center; } .timeline-mobile { display: none; } }
.timeline-mobile { display: flex; align-items: flex-start; gap: 1rem; }
.timeline-dot { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.875rem; font-weight: 700; background: var(--primary); box-shadow: 0 4px 6px rgba(0,0,0,0.1); flex-shrink: 0; z-index: 10; }
.timeline-content .date { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.timeline-content h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-top: 0.25rem; }
.timeline-content p { font-size: 0.875rem; color: #6b7280; margin-top: 0.25rem; }
.timeline-left { width: 41.67%; text-align: right; padding-right: 2rem; }
.timeline-center { width: 16.67%; display: flex; justify-content: center; }
.timeline-right { width: 41.67%; }
.timeline-item:nth-child(even) .timeline-desktop { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-left { text-align: left; padding-left: 2rem; padding-right: 0; }
