/* --- Pastel Academia Theme --- */

/* 1. Global Styles & Variables */
:root {
  --bg-color: #fdfcfa;
  --text-color: #4a4a4a;
  --primary-accent: #8d9db6; /* Dusty Blue */
  --secondary-accent: #f5d0c5; /* Soft Peach */
  --panel-bg: #ffffff;
  --border-color: #e0e0e0;
  --heading-font: 'Lora', serif;
  --body-font: 'Nunito Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: #333;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

p { margin-bottom: 1em; }
a { color: var(--primary-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. Navigation */
.main-nav {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.logo svg {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.nav-links a:hover {
  color: #000;
  text-decoration: none;
}

.nav-links a.active {
  color: var(--primary-accent);
  border-bottom-color: var(--primary-accent);
}

/* 3. Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: #7b8a9e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(141, 157, 182, 0.3);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

.btn-secondary:hover {
  background-color: var(--primary-accent);
  color: #fff;
  text-decoration: none;
}

/* 4. Hero Section */
.hero {
  text-align: center;
  padding: 80px 0;
  background-color: #f7f9fc;
}

.hero h1 {
  font-size: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 20px auto 30px;
  color: #666;
}

/* 5. Section & Card Styles */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--panel-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-card-icon {
  margin-bottom: 20px;
  color: var(--primary-accent);
}

.feature-card-icon svg {
  width: 48px;
  height: 48px;
}

.feature-card h3 {
  font-size: 22px;
}

/* 6. Specific Sections */
.platforms-section {
  background-color: #f7f9fc;
}

.platform-card {
  background: var(--panel-bg);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.platform-card svg {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.deep-feature-section {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 50px 0;
}

.deep-feature-section:nth-child(even) {
  flex-direction: row-reverse;
}

.deep-feature-text, .deep-feature-media {
  flex: 1;
}

.deep-feature-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.review-card {
  background-color: var(--panel-bg);
  padding: 25px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  margin-right: 15px;
}

.review-stars {
  color: #ffc107;
}

.stats-bar {
  background-color: var(--primary-accent);
  color: #fff;
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 36px;
  color: #fff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.comparison-table th, .comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: #f7f9fc;
}

.comparison-table .highlight {
  font-weight: bold;
  color: var(--primary-accent);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* 7. Download Page Specific */
.download-hero {
  background-color: #eaf2ff;
  padding: 60px 0;
  text-align: center;
}

.main-download-box {
  background: var(--panel-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: inline-block;
  max-width: 600px;
  width: 100%;
}

.install-guide {
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.version-log {
  border-left: 3px solid var(--border-color);
  padding-left: 25px;
}

.version-item {
  position: relative;
  margin-bottom: 30px;
}

.version-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary-accent);
  border: 3px solid var(--bg-color);
}

.security-banner {
  background-color: #eaf2ff;
  border: 2px solid var(--primary-accent);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
}

/* 8. Footer */
.site-footer {
  background-color: #f0f2f5;
  color: #777;
  padding: 40px 0;
  margin-top: 70px;
  text-align: center;
  font-size: 14px;
}

.footer-content p {
  margin-bottom: 10px;
}

/* 9. Utilities & Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .deep-feature-section, .deep-feature-section:nth-child(even) {
    flex-direction: column;
  }
  .nav-inner { flex-direction: column; gap: 15px; }
  .nav-links { justify-content: center; width: 100%; }
}
