/*
Theme Name: Cosmic Timing Insights
Theme URI: https://cosmic-timing-insights.lovable.app
Author: Bia Siqueira
Author URI: https://cosmic-timing-insights.lovable.app
Description: Tema WordPress para página de vendas de relatórios astrológicos - Trânsitos Planetários
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: cosmic-timing
*/

/* ===== CSS Variables ===== */
:root {
  --cosmic-deep: 248 47% 5%;
  --cosmic-purple: 262 83% 58%;
  --cosmic-lilac: 270 67% 72%;
  --cosmic-gold: 45 93% 58%;
  --cosmic-gold-light: 45 100% 72%;
  
  --background: 248 47% 5%;
  --foreground: 0 0% 98%;
  --muted: 248 30% 15%;
  --muted-foreground: 248 10% 60%;
  --border: 248 30% 20%;
  --primary: 45 93% 58%;
  --primary-foreground: 248 47% 5%;
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
}

.text-gradient-gold {
  background: linear-gradient(135deg, hsl(var(--cosmic-gold)), hsl(var(--cosmic-gold-light)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Cosmic Card ===== */
.cosmic-card {
  background: linear-gradient(135deg, hsl(var(--muted) / 0.6), hsl(var(--muted) / 0.3));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.cosmic-glow {
  box-shadow: 0 0 30px hsl(var(--cosmic-purple) / 0.2),
              0 0 60px hsl(var(--cosmic-gold) / 0.1);
}

/* ===== Buttons ===== */
.btn-cosmic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  background: linear-gradient(135deg, hsl(var(--cosmic-gold)), hsl(var(--cosmic-gold-light)));
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px hsl(var(--cosmic-gold) / 0.3);
}

.btn-cosmic:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px hsl(var(--cosmic-gold) / 0.4);
}

/* ===== Star Field Background ===== */
.star-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== Sections ===== */
section {
  position: relative;
  padding: 6rem 1rem;
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.hero-section .subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Pain Points Section ===== */
.pain-point-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: hsl(var(--muted) / 0.3);
  border: 1px solid hsl(var(--border) / 0.3);
  transition: border-color 0.3s ease;
}

.pain-point-item:hover {
  border-color: hsl(var(--cosmic-gold) / 0.3);
}

.pain-point-item .emoji {
  font-size: 1.5rem;
}

.pain-point-item p {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.9);
}

/* ===== Solution Section ===== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.solution-card {
  text-align: center;
  padding: 2rem;
}

.solution-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.solution-card h3 {
  font-size: 1.25rem;
  color: hsl(var(--cosmic-gold));
  margin-bottom: 0.75rem;
}

.solution-card p {
  color: hsl(var(--muted-foreground));
}

/* ===== Benefits Section ===== */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.benefit-item:hover {
  background: hsl(var(--muted) / 0.3);
}

.benefit-item .check-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--cosmic-gold) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--cosmic-gold));
  margin-top: 0.125rem;
}

.benefit-item p {
  font-size: 1.125rem;
}

/* ===== How It Works Section ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--cosmic-gold)), hsl(var(--cosmic-gold-light)));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-content h3 {
  font-size: 1.25rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.step-content p {
  color: hsl(var(--muted-foreground));
}

/* Float Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ===== Pricing Section ===== */
.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.price-display {
  margin: 2rem 0;
}

.original-price {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--cosmic-gold));
}

.current-price span {
  font-size: 1.25rem;
  font-weight: 400;
}

.price-note {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

/* ===== About Section ===== */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    text-align: left;
  }
}

.about-image {
  flex-shrink: 0;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid hsl(var(--cosmic-gold) / 0.3);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

/* ===== FAQ Section ===== */
.faq-item {
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
}

.faq-question:hover {
  color: hsl(var(--cosmic-gold));
}

.faq-answer {
  padding-top: 1rem;
  color: hsl(var(--muted-foreground));
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== Footer ===== */
footer {
  padding: 2rem 1rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
  text-align: center;
}

footer p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  section {
    padding: 4rem 1rem;
  }
  
  .cosmic-card {
    padding: 1.5rem;
  }
  
  .btn-cosmic {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}
