/* 
  Theme: Crystal Marine / Tech Prism 
  Colors: 
  - Base: #f0f9ff (Soft Azure)
  - Primary: #0284c7 (Marine Blue)
  - Secondary: #0d9488 (Teal Depth)
  - Accent: #7c3aed (Prism Violet)
  - Dark: #0f172a (Deep Space)
  - Text: #1e293b
*/

:root {
  --base: #f0f9ff;
  --white: #ffffff;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --secondary: #0d9488;
  --accent: #7c3aed;
  --dark: #0f172a;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --text: #1e293b;
  --text-muted: #64748b;
  --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);
  --radius: 12px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}
.brand-icon { width: 32px; height: 32px; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 16px 40px; font-size: 1.125rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Hero */
.hero {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
  text-align: center;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.hero-h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 24px; color: var(--dark); }
.hero-p { font-size: 1.25rem; color: var(--gray-600); margin-bottom: 40px; }
.hero-btns { display: flex; justify-content: center; gap: 20px; }

/* Sections */
.sec { padding: 100px 0; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.sec-title { font-size: 2.5rem; color: var(--dark); margin-bottom: 16px; }
.sec-p { color: var(--gray-600); font-size: 1.125rem; }

/* Cards Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-icon { width: 56px; height: 56px; margin-bottom: 24px; }
.card-h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--dark); }
.card-p { color: var(--gray-600); }

/* Feature Detailed */
.feat-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}
.feat-row:nth-child(even) { flex-direction: row-reverse; }
.feat-info { flex: 1; }
.feat-vis { 
  flex: 1; 
  background: var(--gray-100); 
  border-radius: var(--radius-lg); 
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feat-vis svg { width: 80%; height: auto; }
.feat-h3 { font-size: 2rem; margin-bottom: 20px; color: var(--dark); }
.feat-list { margin-top: 24px; }
.feat-list-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.feat-list-icon { width: 24px; height: 24px; color: var(--secondary); flex-shrink: 0; }

/* Platforms */
.plat-card {
  text-align: center;
  padding: 48px 32px;
}
.plat-icon { width: 64px; height: 64px; margin: 0 auto 24px; }
.plat-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.plat-desc { color: var(--gray-600); font-size: 0.9375rem; margin-bottom: 24px; }

/* Reviews */
.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.rev-card { padding: 32px; }
.rev-stars { display: flex; gap: 4px; color: #fbbf24; margin-bottom: 16px; }
.rev-text { font-style: italic; margin-bottom: 24px; color: var(--gray-600); }
.rev-user { display: flex; align-items: center; gap: 12px; }
.rev-avatar { 
  width: 44px; height: 44px; 
  background: var(--primary); 
  color: var(--white); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700; 
}

/* Stats */
.stats-bar { background: var(--dark); color: var(--white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 1.125rem; opacity: 0.8; }

/* Comparison Table */
.cmp-table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-top: 40px; 
  border-radius: var(--radius); 
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cmp-table th, .cmp-table td { padding: 20px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.cmp-table th { background: var(--gray-100); font-weight: 700; color: var(--dark); }
.cmp-table tr:hover td { background: var(--gray-100); }
.cmp-hl { color: var(--primary); font-weight: 700; }
.check-icon { width: 20px; height: 20px; color: var(--secondary); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.faq-q { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; background: var(--white); transition: 0.3s; }
.faq-q:hover { background: var(--gray-100); color: var(--primary); }
.faq-a { padding: 0 24px; height: 0; overflow: hidden; transition: 0.3s; background: var(--white); border-top: 0 solid var(--gray-200); }
.faq-item.open .faq-a { padding: 20px 24px; height: auto; border-top-width: 1px; }
.faq-chevron { transition: 0.3s; width: 20px; height: 20px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }

/* Footer */
.footer { background: var(--gray-100); padding: 80px 0 40px; border-top: 1px solid var(--gray-200); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-info p { color: var(--gray-600); margin-top: 20px; }
.footer-h4 { font-size: 1.125rem; color: var(--dark); margin-bottom: 24px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-600); font-size: 0.9375rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--gray-300); padding-top: 40px; text-align: center; font-size: 0.875rem; color: var(--gray-600); }
.footer-security { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--secondary); font-weight: 600; margin-bottom: 12px; }

/* Download Specific */
.dl-hero { padding: 80px 0; background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); color: var(--white); text-align: center; }
.dl-main-card { 
  background: var(--white); 
  border-radius: var(--radius-lg); 
  max-width: 900px; 
  margin: -60px auto 0; 
  padding: 60px; 
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 48px;
  align-items: center;
}
.dl-main-info { flex: 1; text-align: left; }
.dl-main-h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 16px; }
.dl-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
.dl-spec-item { display: flex; flex-direction: column; }
.dl-spec-label { font-size: 0.8125rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dl-spec-val { font-weight: 600; color: var(--dark); }

.install-steps { margin-top: 60px; }
.step-item { display: flex; gap: 30px; margin-bottom: 48px; }
.step-num { 
  width: 48px; height: 48px; 
  background: var(--primary); 
  color: var(--white); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700; 
  font-size: 1.25rem; 
  flex-shrink: 0; 
}
.step-body h3 { font-size: 1.5rem; margin-bottom: 12px; }

/* SEO Article Styles */
.article-hero { background: var(--gray-100); padding: 80px 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.article-tag { padding: 6px 16px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 100px; font-size: 0.875rem; color: var(--gray-600); }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; padding: 60px 0; }
.article-content { font-size: 1.125rem; line-height: 1.8; color: var(--text); }
.article-content h2 { font-size: 2rem; margin: 48px 0 24px; color: var(--dark); }
.article-content p { margin-bottom: 24px; }
.sidebar { position: sticky; top: 100px; }
.side-box { padding: 30px; background: var(--gray-100); border-radius: var(--radius); margin-bottom: 30px; }
.side-h3 { font-size: 1.25rem; margin-bottom: 20px; }

/* Animations */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 
  0% { transform: translateY(0px); } 
  50% { transform: translateY(-10px); } 
  100% { transform: translateY(0px); } 
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-h1 { font-size: 2.75rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .feat-row { flex-direction: column !important; }
  .dl-main-card { flex-direction: column; text-align: center; padding: 40px; }
  .dl-main-info { text-align: center; }
  .dl-specs { justify-items: center; }
  .article-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-links.show { 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    top: 72px; 
    left: 0; 
    width: 100%; 
    background: var(--white); 
    padding: 20px; 
    box-shadow: var(--shadow); 
  }
  .nav-toggle { display: block; border: none; background: transparent; cursor: pointer; }
  .hero-h1 { font-size: 2.25rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
