/* ==========================================
   Sihirli Masal - Web Sitesi Stilleri
   Renkler: primary=#6C5CE7, background=#FFF8F0
   ========================================== */

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

:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #A29BFE;
  --background: #FFF8F0;
  --text: #2D3436;
  --text-light: #636E72;
  --white: #FFFFFF;
  --accent: #FD79A8;
  --accent-light: #FFEEF5;
  --shadow: 0 4px 20px rgba(108, 92, 231, 0.15);
  --shadow-lg: 0 8px 40px rgba(108, 92, 231, 0.2);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

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

/* ==========================================
   Layout
   ========================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Header / Navbar
   ========================================== */

.navbar {
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.navbar-brand span {
  font-size: 1.5rem;
}

.navbar-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--primary);
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--background) 0%, #F0E6FF 100%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.store-badge {
  width: 200px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.hero-image {
  margin-top: 50px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   Features Section
   ========================================== */

.features {
  padding: 100px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--background);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   How It Works
   ========================================== */

.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, #F0E6FF 0%, var(--background) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ==========================================
   Pricing / Credits
   ========================================== */

.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-info {
  background: var(--background);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-free {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 20px 32px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 24px;
  font-size: 1.1rem;
  font-weight: 600;
}

.pricing-details {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================
   CTA Section
   ========================================== */

.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

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

.cta .btn-primary:hover {
  background: var(--background);
  color: var(--primary-dark);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================
   Legal Pages
   ========================================== */

.legal {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal .last-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--primary);
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text-light);
}

.legal ul, .legal ol {
  margin-bottom: 12px;
  padding-left: 24px;
  color: var(--text-light);
}

.legal li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.legal strong {
  color: var(--text);
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .navbar-links {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .pricing-info {
    padding: 32px 24px;
  }

  .legal-card {
    padding: 28px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }
}
