/*
Theme Name: SleepLean Landing Page
Theme URI: https://sleeplean.net
Description: Tema WordPress para landing page do SleepLean - Suplemento Natural para Sono e Metabolismo
Author: SleepLean Affiliate
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sleeplean
*/

/* ========================================
   DESIGN SYSTEM - SleepLean Brand
   ======================================== */

:root {
  /* Core Colors */
  --background: hsl(215, 35%, 12%);
  --foreground: hsl(0, 0%, 100%);
  
  --card: hsl(215, 30%, 15%);
  --card-foreground: hsl(0, 0%, 100%);
  
  --primary: hsl(174, 65%, 60%);
  --primary-foreground: hsl(215, 35%, 12%);
  
  --secondary: hsl(215, 25%, 20%);
  --secondary-foreground: hsl(0, 0%, 100%);
  
  --muted: hsl(215, 25%, 18%);
  --muted-foreground: hsl(210, 20%, 65%);
  
  --accent: hsl(174, 65%, 60%);
  --border: hsl(215, 25%, 25%);
  
  /* Brand Colors */
  --midnight: hsl(215, 35%, 12%);
  --indigo: hsl(215, 30%, 18%);
  --turquoise: hsl(174, 65%, 60%);
  --moonlight: hsl(210, 40%, 85%);
  --glow: hsl(174, 80%, 75%);
  
  /* Effects */
  --shadow-glow: 0 0 40px hsl(174, 65%, 60%, 0.3);
  --shadow-soft: 0 10px 30px -10px hsl(215, 35%, 5%, 0.5);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius: 1rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

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

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

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

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

.section-spacing {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-spacing { padding: 6rem 0; }
}

@media (min-width: 1024px) {
  .section-spacing { padding: 8rem 0; }
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(174, 65%, 50%);
  box-shadow: var(--shadow-glow);
}

.btn-cta {
  background: linear-gradient(135deg, hsl(215, 35%, 25%), hsl(174, 65%, 60%));
  color: var(--foreground);
}

.btn-cta:hover {
  box-shadow: 0 0 40px hsl(174, 65%, 60%, 0.6);
  transform: scale(1.05);
}

.btn-lg {
  height: 3.5rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ========================================
   CARD STYLES
   ======================================== */

.card {
  background: linear-gradient(180deg, var(--card), var(--secondary));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px hsl(215, 35%, 5%, 0.7);
}

/* ========================================
   GLOW TEXT EFFECT
   ======================================== */

.glow-text {
  text-shadow: 0 0 30px var(--turquoise);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .section-spacing {
    padding: 3rem 0;
  }
}
