/* ═══════════════ Chrome Technology Hub - Global Styles ═══════════════ */

/* ─── CSS Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ─── Keyframes ─── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes ring {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ─── Utility Classes ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ─── Navigation ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0f172a;
  letter-spacing: -0.3px;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s ease;
  position: relative;
}
.nav-links a:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.nav-links a.active {
  color: #0d9488;
  background: #f0fdfa;
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: #14b8a6;
  border-radius: 2px;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #134e4a 100%);
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(20,184,166,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249,115,22,0.1) 0%, transparent 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat {
  text-align: center;
}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #14b8a6;
  display: block;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-browser-mockup {
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}
.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }
.mockup-content {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(20,184,166,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20,184,166,0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ─── Section Styles ─── */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f0fdfa;
  color: #0d9488;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 1.05rem;
  color: #64748b;
}

/* ─── Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon.teal { background: #f0fdfa; color: #14b8a6; }
.card-icon.orange { background: #fff7ed; color: #f97316; }
.card-icon.blue { background: #eff6ff; color: #3b82f6; }
.card-icon.purple { background: #faf5ff; color: #a855f7; }
.card-icon.green { background: #f0fdf4; color: #22c55e; }
.card-icon.red { background: #fef2f2; color: #ef4444; }
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.card-text {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* ─── Feature Row ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row.reverse .feature-content { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-visual {
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px solid #e2e8f0;
}
.feature-list {
  margin-top: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}
.feature-list li svg {
  flex-shrink: 0;
  color: #14b8a6;
  margin-top: 3px;
}

/* ─── Download Section ─── */
.download-section {
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
  padding: 80px 0;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.download-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.download-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 12px 32px rgba(20,184,166,0.12);
  transform: translateY(-4px);
}
.download-card .platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f0fdfa;
  color: #14b8a6;
}
.download-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.download-card .platform-version {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 20px;
}
.download-card .btn {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
}

/* ─── Table Styles ─── */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.data-table th {
  background: #f8fafc;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f8fafc; }

/* ─── FAQ Accordion ─── */
.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: #cbd5e1; }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #94a3b8;
}
.faq-item.active .faq-question svg { transform: rotate(180deg); color: #14b8a6; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  border-radius: 24px;
  padding: 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(20,184,166,0.2) 0%, transparent 70%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ─── Testimonials / Badges ─── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.85rem;
  color: #94a3b8;
}
.breadcrumb a { color: #64748b; transition: color 0.2s; }
.breadcrumb a:hover { color: #14b8a6; }
.breadcrumb span { color: #cbd5e1; margin: 0 8px; }

/* ─── SEO Content Block ─── */
.seo-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e2e8f0;
}
.seo-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0fdfa;
}
.seo-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin: 28px 0 12px;
}
.seo-content p {
  color: #475569;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.seo-content ul {
  margin: 12px 0 12px 20px;
  list-style: disc;
}
.seo-content ul li {
  color: #475569;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.seo-content ol {
  margin: 12px 0 12px 20px;
  list-style: decimal;
}
.seo-content ol li {
  color: #475569;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.seo-content code {
  background: #f8fafc;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: #0d9488;
  font-family: "SF Mono", Monaco, monospace;
}

/* ─── Step Guide ─── */
.step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.step-item {
  position: relative;
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}
.step-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}
.step-item p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* ─── Footer ─── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: #64748b;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #14b8a6; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.8;
}
.footer-bottom strong {
  color: #22c55e;
  font-weight: 600;
}

/* ─── Alert Banner ─── */
.alert-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: #92400e;
  font-size: 0.95rem;
}
.alert-banner svg { flex-shrink: 0; }

/* ─── Version Badge ─── */
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .hero-grid,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row.reverse .feature-content { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .hero-title { font-size: 2.4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero-title { font-size: 2rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.8rem; }
  .card-grid,
  .download-grid,
  .card-grid-4 { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 1.6rem; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .nav-links a { padding: 6px 12px; font-size: 0.85rem; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .trust-bar { gap: 20px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .nav-inner { height: 60px; }
  .nav-logo span { display: none; }
}
