/*
Theme Name: Snoozila
Theme URI: https://snoozila.com
Author: EL ASBIHANI MOHAMMED
Author URI: https://snoozila.com
Description: Official Snoozila sleep sounds app landing page theme. Dark, modern design with glass morphism effects.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: snoozila
Tags: dark, landing-page, app, one-column, custom-menu
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --background: hsl(217, 33%, 9%);
  --foreground: hsl(215, 14%, 89%);
  --card: hsl(217, 33%, 17%);
  --card-foreground: hsl(215, 14%, 89%);
  --primary: hsl(217, 91%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(280, 85%, 80%);
  --secondary-foreground: hsl(280, 85%, 20%);
  --muted: hsl(217, 14%, 71%);
  --muted-foreground: hsl(217, 33%, 30%);
  --accent: hsl(38, 92%, 50%);
  --border: hsl(217, 33%, 17%);
  --radius: 0.5rem;

  --font-sans: 'DM Sans', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  overflow-x: clip;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.glass {
  backdrop-filter: blur(12px);
  background-color: hsl(217, 33%, 17%, 0.5);
  border: 1px solid hsl(215, 14%, 89%, 0.1);
}

.glass-light {
  backdrop-filter: blur(12px);
  background-color: hsl(215, 14%, 89%, 0.05);
  border: 1px solid hsl(215, 14%, 89%, 0.1);
}

.gradient-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.gradient-primary-subtle {
  background: linear-gradient(135deg, hsl(217, 91%, 60%, 0.2), hsl(280, 85%, 80%, 0.2));
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

/* Constrain ALL SVGs inside buttons */
.btn svg {
  width: 1.1rem !important;
  height: 1.1rem !important;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(217, 91%, 50%));
  color: #fff;
  box-shadow: 0 4px 15px hsl(217, 91%, 60%, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, hsl(217, 91%, 55%), hsl(217, 91%, 45%));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsl(217, 91%, 60%, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: hsl(215, 14%, 89%, 0.05);
  color: var(--foreground);
  border: 1px solid hsl(215, 14%, 89%, 0.25);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: #fff;
  background: hsl(217, 91%, 60%, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px hsl(217, 91%, 60%, 0.2);
}
.btn-outline:active { transform: translateY(0); }

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

/* ── App Store Buttons ───────────────────────────────────────── */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 180px;
  white-space: nowrap;
}

.btn-store svg {
  width: 1.6rem !important;
  height: 1.6rem !important;
  flex-shrink: 0;
}

.btn-store-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store-label { font-size: 0.65rem; font-weight: 400; opacity: 0.85; letter-spacing: 0.03em; }
.btn-store-name  { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }

.btn-store-dark {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.btn-store-dark:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.5); color: #fff; }

.btn-store-light {
  background: #fff;
  color: #000;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-store-light:hover { background: #f5f5f5; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); color: #000; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background-color: hsl(217, 33%, 17%, 0.5);
  border-bottom: 1px solid hsl(215, 14%, 89%, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) { .main-nav { display: flex; } }

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(215, 14%, 89%, 0.8);
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.current-menu-item { color: var(--primary); }

.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: flex; align-items: center; gap: 0.75rem; } }

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  border-radius: var(--radius);
}
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn svg { width: 1.25rem; height: 1.25rem; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid hsl(215, 14%, 89%, 0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: hsl(215, 14%, 89%, 0.8);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, hsl(217, 91%, 60%, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, hsl(280, 85%, 80%, 0.1) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 10 0 L 0 0 0 10' fill='none' stroke='white' stroke-opacity='0.03' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 5rem 0;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr 1fr; }
}

.hero-content { opacity: 0; transform: translateX(-20px); }
.hero-content.animated { animation: slideInLeft 0.6s ease forwards; }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(215, 14%, 89%, 0.8);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: hsl(215, 14%, 89%, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.hero-image-wrap {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  opacity: 0; transform: translateX(20px);
}
.hero-image-wrap.animated { animation: slideInRight 0.6s ease 0.2s forwards; }

.hero-image-inner {
  position: relative;
  aspect-ratio: 9/16;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 3rem;
  filter: blur(3rem);
  opacity: 0.3;
}

.hero-image-inner img {
  position: relative;
  border-radius: 3rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: hsl(215, 14%, 89%, 0.4);
  animation: bounce 2s infinite;
}
.hero-scroll-indicator svg { width: 1.5rem; height: 1.5rem; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.section { padding: 5rem 0; }
.section-alt { background: linear-gradient(to bottom, var(--background), hsl(217, 33%, 17%, 0.3)); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0; transform: translateY(20px);
  transition: all 0.5s ease;
}
.section-header.in-view { opacity: 1; transform: translateY(0); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: hsl(215, 14%, 89%, 0.7);
  max-width: 40ch;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: 1fr 1fr; } }

.feature-card {
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
  opacity: 0; transform: translateY(20px);
}
.feature-card.in-view { animation: fadeInUp 0.5s ease forwards; }
.feature-card:hover { transform: scale(1.02); }

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(217, 91%, 60%, 0.2), hsl(280, 85%, 80%, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }

.feature-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-desc { color: hsl(215, 14%, 89%, 0.8); line-height: 1.6; }

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  position: relative;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  opacity: 0; transform: translateY(20px);
}
.pricing-card.in-view { animation: fadeInUp 0.5s ease forwards; }
.pricing-card:hover { transform: scale(1.02); }

.pricing-card.highlighted {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px var(--primary);
  background: linear-gradient(135deg, hsl(217, 91%, 60%, 0.2), hsl(280, 85%, 80%, 0.2));
}
.pricing-card.highlighted:hover { transform: scale(1.07); }

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.pricing-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem; }
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.pricing-amount { font-size: 2.5rem; font-weight: 700; }
.pricing-period { color: hsl(215, 14%, 89%, 0.6); font-size: 0.9rem; }

.pricing-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: hsl(215, 14%, 89%, 0.8);
}
.pricing-features li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-free-note {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(215, 14%, 89%, 0.6);
  background: hsl(215, 14%, 89%, 0.05);
  border: 1px solid hsl(215, 14%, 89%, 0.1);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
  opacity: 0; transform: translateY(20px);
}
.testimonial-card.in-view { animation: fadeInUp 0.5s ease forwards; }
.testimonial-card:hover { transform: scale(1.02); }

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.testimonial-stars svg { width: 1rem; height: 1rem; fill: currentColor; }

.testimonial-quote {
  font-size: 1.05rem;
  color: hsl(215, 14%, 89%, 0.9);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(215, 14%, 89%, 0.6);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid hsl(215, 14%, 89%, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: hsl(217, 33%, 17%, 0.5);
  border: none;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: hsl(217, 33%, 20%, 0.7); }
.faq-question svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: hsl(217, 33%, 17%, 0.3);
  padding: 0 1.5rem;
  color: hsl(215, 14%, 89%, 0.8);
  line-height: 1.7;
}
.faq-answer.open { max-height: 300px; padding: 1.25rem 1.5rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}
.cta-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.cta-desc { font-size: 1.1rem; color: hsl(215, 14%, 89%, 0.7); margin-bottom: 2rem; max-width: 40ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--card);
  border-top: 1px solid hsl(215, 14%, 89%, 0.1);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand p {
  font-size: 0.875rem;
  color: hsl(215, 14%, 89%, 0.8);
  margin-top: 1rem;
  max-width: 36ch;
  line-height: 1.7;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(215, 14%, 89%, 0.8);
}
.footer-email svg { width: 1rem; height: 1rem; color: hsl(215, 14%, 89%, 0.6); }
.footer-email a:hover { color: var(--primary); }

.footer-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: hsl(215, 14%, 89%, 0.8);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-socials { display: flex; gap: 0.75rem; }
.footer-social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(215, 14%, 89%, 0.8);
  transition: all 0.2s;
  background: hsl(215, 14%, 89%, 0.05);
  border: 1px solid hsl(215, 14%, 89%, 0.1);
}
.footer-social-link:hover { color: var(--primary); transform: scale(1.1); }
.footer-social-link svg { width: 1rem; height: 1rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(215, 14%, 89%, 0.1);
  font-size: 0.875rem;
  color: hsl(215, 14%, 89%, 0.6);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */
.page-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}
.page-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.page-subtitle {
  font-size: 1.1rem;
  color: hsl(215, 14%, 89%, 0.7);
  max-width: 50ch;
  margin: 0 auto;
}

/* Download page */
.download-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; margin: 2rem 0; }
@media (min-width: 640px) { .download-buttons { flex-direction: row; } }

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}
@media (min-width: 1024px) { .download-grid { grid-template-columns: 1fr 1fr; } }

.download-features { border-radius: 1rem; padding: 2rem; }
.download-features h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.download-features ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: hsl(215, 14%, 89%, 0.8);
}
.download-features ul li svg { color: var(--primary); flex-shrink: 0; width: 1.25rem; height: 1.25rem; }

.qr-box {
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.qr-placeholder {
  width: 10rem;
  height: 10rem;
  background: #fff;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.875rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}
.blog-card:hover { transform: scale(1.02); }
.blog-card-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: hsl(215, 14%, 89%, 0.6);
  margin-bottom: 0.75rem;
}
.blog-card-date svg { width: 0.875rem; height: 0.875rem; }
.blog-card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 0.9rem; color: hsl(215, 14%, 89%, 0.7); line-height: 1.6; }

.blog-article {
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .blog-article { padding: 3rem; } }

.article-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1.5rem; }
.article-content p { color: hsl(215, 14%, 89%, 0.8); line-height: 1.8; margin-bottom: 1rem; }

.separator { height: 1px; background: hsl(215, 14%, 89%, 0.1); margin: 3rem 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form { border-radius: 1rem; padding: 2rem; }
.contact-form h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(217, 33%, 17%, 0.5);
  border: 1px solid hsl(215, 14%, 89%, 0.1);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary); }
.form-textarea { min-height: 7rem; resize: vertical; }

/* Content pages (Privacy, Terms) */
.content-page { max-width: 800px; margin: 0 auto; padding: 3rem 0; }
.content-page h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.content-page .updated { color: hsl(215, 14%, 89%, 0.6); font-size: 0.875rem; margin-bottom: 2rem; }
.content-page h2 { font-size: 1.4rem; font-weight: 600; margin: 2rem 0 1rem; color: var(--primary); }
.content-page p, .content-page li { color: hsl(215, 14%, 89%, 0.8); line-height: 1.8; margin-bottom: 0.75rem; }
.content-page ul { padding-left: 1.5rem; list-style: disc; }
.content-page a { color: var(--primary); }
.content-page a:hover { text-decoration: underline; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-block-image { margin: 1.5rem 0; }
.aligncenter { text-align: center; }
.alignright { text-align: right; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ============================================================
   ELEMENTOR ZONES
   ============================================================ */
.snoozila-elementor-zone {
  width: 100%;
}

/* Hero zone — inline below buttons */
#zone-elementor_hero_extra {
  margin-top: 1.5rem;
}

/* Full-width zones between sections */
#zone-elementor_before_features,
#zone-elementor_after_features,
#zone-elementor_before_pricing,
#zone-elementor_after_testimonials,
#zone-elementor_before_cta,
#zone-elementor_download_top,
#zone-elementor_download_bottom,
#zone-elementor_footer_top {
  padding: 2rem 0;
}

/* Make Elementor widgets blend with dark theme */
.snoozila-elementor-zone .elementor-widget-container {
  color: var(--foreground);
}
