/* ═══ Storage Cleaner Website — Modern, Animated, SEO-optimized ═══ */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --keep: #22C55E;
  --delete: #EF4444;
  --warning: #F59E0B;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-secondary: #64748B;
  --divider: #E2E8F0;
  --gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ═══ Nav ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(248,250,252,0.85);
  border-bottom: 1px solid var(--divider);
  transition: all 0.3s;
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.nav-logo-icon { font-size: 24px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

/* ═══ Hero ═══ */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.5s both;
}
.stat { text-align: center; }
.stat-number { font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-suffix { font-size: 20px; font-weight: 700; color: var(--primary); }
.stat-label { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.6s both;
}
.hero-trust {
  font-size: 13px;
  color: var(--text-secondary);
  animation: fadeInUp 0.6s ease 0.7s both;
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ═══ Social Proof ═══ */
.social-proof { padding: 40px 0; background: white; border-bottom: 1px solid var(--divider); }
.proof-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.proof-item { text-align: center; max-width: 280px; }
.proof-stars { font-size: 18px; }
.proof-item p { font-size: 15px; margin: 8px 0 4px; font-style: italic; }
.proof-author { font-size: 13px; color: var(--text-secondary); }

/* ═══ Section Headers ═══ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 8px; }
.section-header p { color: var(--text-secondary); font-size: 17px; }

/* ═══ Features ═══ */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ═══ How It Works ═══ */
.how-it-works { padding: 80px 0; background: white; }
.steps { max-width: 600px; margin: 0 auto; }
.step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}
.step:last-child { border-bottom: none; }
.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.step-content p { color: var(--text-secondary); font-size: 15px; }

/* ═══ Pricing ═══ */
.pricing { padding: 80px 0; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.pricing-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.pricing-card-featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-secondary); }
.pricing-save { color: var(--keep); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-card li { padding: 6px 0; font-size: 14px; }
.pricing-trial { font-size: 12px; color: var(--text-secondary); margin-top: 8px; }

/* ═══ FAQ ═══ */
.faq { padding: 80px 0; background: white; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--divider);
  padding: 16px 0;
}
.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
}
.faq-item summary::marker { display: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--text-secondary); font-size: 15px; padding: 8px 0; line-height: 1.7; }

/* ═══ Download CTA ═══ */
.download-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--gradient);
  color: white;
}
.download-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.download-cta p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }
.download-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.store-badge img { height: 48px; width: auto; }

/* ═══ Footer ═══ */
.footer { padding: 60px 0 24px; background: #0B1220; color: #9CA3AF; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 18px; font-weight: 700; color: white; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-contact { margin-top: 12px; }
.footer-contact a { color: var(--primary-light); }
.footer-links h4 { color: white; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-links a { display: block; color: #9CA3AF; text-decoration: none; font-size: 13px; padding: 3px 0; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 13px; text-align: center; }
.footer-bottom a { color: var(--primary-light); text-decoration: none; }

/* ═══ Animations ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-aos] { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ═══ Article / SEO Pages ═══ */
.article-page {
  padding: 100px 0 60px;
}
.article-header {
  max-width: 800px;
  margin: 0 auto 40px;
}
.article-breadcrumb {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.article-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.article-breadcrumb a:hover {
  text-decoration: underline;
}
.article-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}
.article-meta {
  font-size: 14px;
  color: var(--text-secondary);
}
.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
}
.article-content h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}
.article-content h3 {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.article-content p {
  margin-bottom: 16px;
  color: var(--text);
}
.article-content ul, .article-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.article-content li {
  margin-bottom: 8px;
  color: var(--text);
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(37,99,235,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.article-content a:hover {
  text-decoration-color: var(--primary);
}
.article-content strong {
  font-weight: 700;
  color: var(--text);
}

/* Article CTA Box */
.article-cta {
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(124,58,237,0.06));
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.article-cta h3 {
  margin-top: 0 !important;
  font-size: 22px !important;
}
.article-cta p {
  color: var(--text-secondary) !important;
  margin-bottom: 20px;
}
.article-cta .btn {
  margin-top: 8px;
}

/* Legal Content */
.legal-content h2 {
  font-size: 20px;
  margin-top: 40px;
}
.legal-content h3 {
  font-size: 17px;
  margin-top: 24px;
}

/* ═══ Blog Grid ═══ */
.blog-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.blog-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.blog-card h2 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card h2 a:hover {
  color: var(--primary);
}
.blog-card-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.blog-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-link:hover {
  color: var(--primary-dark);
}

/* ═══ Mobile ═══ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 100px 16px 60px; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proof-items { flex-direction: column; align-items: center; }
}
