/* ═══════════════════════════════════════════════════════════════════════════ */
/* Design Tokens                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --primary-color: #03EF62;
  --primary-dark:  #00994A;
  --gradient:      linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --text-dark:     #333;
  --text-light:    #666;
  --bg-light:      #f5f7fa;
  --border-color:  #e0e0e0;
  --shadow:        0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover:  0 6px 30px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Reset & Base                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
               Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #e8edf5;
  line-height: 1.6;
  background: linear-gradient(135deg, #05192D 0%, #13253A 50%, #00994A 100%);
}

img { max-width: 100%; height: auto; }

a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #f0f4f8;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Hero                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  background: #fff;
  border-radius: 20px;
  padding: 80px 40px 60px;
  text-align: center;
  color: #05192D;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 4px 20px rgba(3, 239, 98, 0.4));
  margin-bottom: 30px;
  border-radius: 24px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 36px;
  opacity: 0.9;
  line-height: 1.7;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--primary-color);
  color: #05192D;
  box-shadow: 0 4px 15px rgba(3, 239, 98, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(3, 239, 98, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #05192D;
  border: 2px solid #05192D;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(5, 25, 45, 0.15);
  color: #05192D;
}

/* Buy Me A Coffee */
.bmc-link { display: inline-block; transition: transform 0.3s ease; }
.bmc-link:hover { transform: translateY(-3px); }
.bmc-img { height: 50px; border-radius: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Hero Screenshot                                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */
.hero-screenshot {
  text-align: center;
  margin-bottom: 80px;
}

.hero-screenshot img {
  max-width: 900px;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-screenshot img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Features                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */
.features {
  margin-bottom: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 3.5em;
  margin-bottom: 16px;
}

.feature h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* How It Works                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */
.how-it-works {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 60px 40px;
  margin-bottom: 80px;
}

.how-it-works h2 { color: var(--text-dark); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #05192D;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Screenshots                                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */
.screenshots {
  margin-bottom: 80px;
}

.screenshot-group {
  margin-bottom: 48px;
}

.screenshot-group-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary-color);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.screenshot-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.screenshot-item { text-align: center; }

.screenshot-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.screenshot-caption {
  margin-top: 12px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Privacy First                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */
.privacy-first {
  background: linear-gradient(135deg, #13253A 0%, #1a3a5c 50%, #05192D 100%);
  border-radius: 20px;
  padding: 60px 40px;
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}

.privacy-first h2 { color: #fff; }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.privacy-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

.privacy-item:hover {
  transform: translateY(-5px);
}

.privacy-icon {
  font-size: 2.8em;
  margin-bottom: 14px;
}

.privacy-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.privacy-item p {
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Installation                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */
.installation {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 60px 40px;
  margin-bottom: 80px;
}

.installation h2 { color: var(--text-dark); }

.install-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.install-method {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.install-method h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.install-method ol {
  padding-left: 20px;
}

.install-method li {
  margin-bottom: 10px;
  color: var(--text-light);
  line-height: 1.6;
}

.install-method li a {
  color: var(--primary-dark);
  font-weight: 600;
}

.install-note {
  background: #fff;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 20px 24px;
  color: var(--text-light);
  box-shadow: var(--shadow);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Troubleshooting                                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */
.troubleshooting {
  margin-bottom: 80px;
}

.troubleshoot-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 32px 36px;
}

.troubleshoot-icon {
  font-size: 2.4em;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.troubleshoot-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #f0f4f8;
}

.troubleshoot-body p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Support                                                                    */
/* ═══════════════════════════════════════════════════════════════════════════ */
.support {
  background: linear-gradient(135deg, #FF931E 0%, #FF6752 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}

.support h2 {
  color: #fff;
  margin-bottom: 16px;
}

.support p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Privacy Policy                                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */
.privacy-policy {
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-policy .policy-date {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-bottom: 30px;
}

.privacy-policy h3 {
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: #e8edf5;
}

.privacy-policy p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  line-height: 1.7;
}

.privacy-policy ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-policy li {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  line-height: 1.6;
}

.privacy-policy code {
  background: rgba(255, 255, 255, 0.12);
  color: #e8edf5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Footer                                                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 40px;
  margin-top: 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #f0f4f8;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Lightbox                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Responsive                                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .feature-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps-grid         { grid-template-columns: repeat(2, 1fr); }
  .screenshot-pair    { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid       { grid-template-columns: repeat(2, 1fr); }
  .install-steps      { grid-template-columns: 1fr; } /* already single-col */
  .footer-content     { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  body { padding: 12px; }

  .hero { padding: 50px 24px 40px; border-radius: 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero .subtitle { font-size: 1rem; }

  .btn { padding: 12px 28px; font-size: 0.95rem; }

  h2 { font-size: 1.5rem; margin-bottom: 28px; }

  .feature-grid,
  .steps-grid,
  .screenshot-pair,
  .privacy-grid       { grid-template-columns: 1fr; }

  .how-it-works,
  .installation,
  .privacy-first,
  .support            { padding: 40px 20px; border-radius: 16px; }
}
