/* ============================================
   PASSIVE INCOME SA – GLOBAL STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --primary:       #007A5E;
  --primary-dark:  #005A44;
  --primary-light: #00C98A;
  --secondary:     #FFB81C;
  --accent:        #E63946;
  --dark:          #0F1923;
  --text:          #1E2A35;
  --text-light:    #5A6B7A;
  --bg-light:      #F4F7F5;
  --white:         #FFFFFF;
  --card-border:   rgba(0,122,94,0.10);
  --gradient:      linear-gradient(135deg, #007A5E 0%, #00B87A 100%);
  --gradient-warm: linear-gradient(135deg, #FFB81C 0%, #FF8C00 100%);
  --shadow-sm:     0 2px 10px rgba(0,0,0,0.07);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.11);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.15);
  --radius:        14px;
  --radius-lg:     22px;
  --nav-h:         70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

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

img { max-width: 100%; display: block; }

/* ============================================
   NAVIGATION
   ============================================ */

header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,122,94,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}

header.scrolled { box-shadow: var(--shadow-md); }

nav {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
}

.logo span { color: var(--secondary); }
.logo img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(0,122,94,0.08);
}

.nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,184,28,0.1) 0%, transparent 40%);
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: 'Sora', sans-serif;
}

.hero-stat span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,122,94,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,122,94,0.4);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(255,184,28,0.3);
}

.btn-secondary:hover {
  background: #FFCA4F;
  transform: translateY(-2px);
  color: var(--dark);
}

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

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

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

.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   LAYOUT & SECTIONS
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-wrap {
  max-width: 900px;
  margin: 0 auto;
}

section { padding: 5rem 2rem; }
section.alt { background: var(--bg-light); }

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: rgba(0,122,94,0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ============================================
   CARDS
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  transition: all 0.3s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,122,94,0.2);
}

.card-body { padding: 1.75rem; }

.card-header {
  padding: 1.5rem 1.75rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ============================================
   APP CARDS
   ============================================ */

.app-card {
  border-top: 3px solid var(--primary);
}

.app-logo-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--card-border);
}

.app-logo-wrap img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.app-logo-wrap .emoji-logo {
  font-size: 2rem;
}

.app-meta { flex: 1; }
.app-meta h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }

.app-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-top { background: #FEF3C7; color: #92400E; }
.badge-new { background: #D1FAE5; color: #065F46; }
.badge-hot { background: #FEE2E2; color: #991B1B; }

.app-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.stars { color: #F59E0B; letter-spacing: -2px; }

.app-desc {
  padding: 1rem 1.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
  border-top: 1px solid var(--card-border);
  margin-top: 0.5rem;
}

.app-features {
  padding: 0 1.75rem;
  list-style: none;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.app-features li:last-child { border-bottom: none; }

.app-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  flex-shrink: 0;
  font-weight: 700;
}

.app-footer {
  padding: 1.25rem 1.75rem 1.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.earnings-tag {
  flex: 1;
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-light);
}

.earnings-tag strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Sora', sans-serif;
}

/* ============================================
   FEATURE ITEMS
   ============================================ */

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  transition: all 0.2s;
}

.feature-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,122,94,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.feature-text p { color: var(--text-light); font-size: 0.875rem; }

/* ============================================
   NUMBERED LIST
   ============================================ */

.step-list { list-style: none; }

.step-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step-content p { color: var(--text-light); font-size: 0.95rem; }

/* ============================================
   PROS / CONS
   ============================================ */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.pros, .cons {
  padding: 1.5rem;
  border-radius: var(--radius);
}

.pros { background: #ECFDF5; border: 1px solid #A7F3D0; }
.cons { background: #FEF2F2; border: 1px solid #FECACA; }

.pros h4 { color: #065F46; margin-bottom: 1rem; }
.cons h4 { color: #991B1B; margin-bottom: 1rem; }

.pros ul, .cons ul { list-style: none; }

.pros ul li, .cons ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
}

.pros ul li::before { content: "✓"; color: #059669; font-weight: 700; }
.cons ul li::before { content: "✗"; color: #DC2626; font-weight: 700; }

/* ============================================
   CTA BOX
   ============================================ */

.cta-box {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-box h2, .cta-box h3 { color: var(--white); margin-bottom: 0.75rem; }
.cta-box p { opacity: 0.9; margin-bottom: 1.75rem; }

/* ============================================
   ALERT BOXES
   ============================================ */

.box { padding: 1.25rem 1.5rem; border-radius: var(--radius); margin: 1.5rem 0; }

.box-info {
  background: #EFF6FF;
  border-left: 4px solid #3B82F6;
}

.box-info strong { color: #1D4ED8; }

.box-warn {
  background: #FFFBEB;
  border-left: 4px solid var(--secondary);
}

.box-warn strong { color: #92400E; }

.box-success {
  background: #ECFDF5;
  border-left: 4px solid #10B981;
}

.box-success strong { color: #065F46; }

.box-affiliate {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.box-affiliate .aff-icon { font-size: 2rem; flex-shrink: 0; }
.box-affiliate h4 { margin-bottom: 0.3rem; color: var(--dark); }
.box-affiliate p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; }

/* ============================================
   ADSENSE AD SLOTS
   ============================================ */

.ad-slot {
  display: block;
  text-align: center;
  margin: 2rem auto;
  max-width: 100%;
  background: var(--bg-light);
  border: 1px dashed rgba(0,0,0,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 90px;
}

.ad-slot-banner  { max-width: 728px; min-height: 90px; }
.ad-slot-rect    { max-width: 336px; min-height: 280px; margin: 2rem auto; }
.ad-slot-full    { max-width: 100%; min-height: 90px; }

/* ============================================
   REVIEW LAYOUT
   ============================================ */

.review-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  margin-bottom: 2rem;
}

.review-logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.review-logo img { width: 64px; height: 64px; object-fit: contain; }

.review-meta h1 { font-size: 1.75rem; margin-bottom: 0.4rem; }
.review-verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ECFDF5;
  color: #065F46;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  border: 1px solid #A7F3D0;
}

.content-article h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.content-article p { color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.8; }
.content-article ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.content-article ul li { color: var(--text-light); margin-bottom: 0.5rem; }
.content-article strong { color: var(--text); }

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  font-family: 'Sora', sans-serif;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--secondary); }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.55;
}

.footer-disclaimer {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  font-size: 0.78rem;
  opacity: 0.45;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1rem;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  background: var(--gradient);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { opacity: 0.5; }

/* ============================================
   TABLE OF CONTENTS
   ============================================ */

.toc {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.toc h4 { margin-bottom: 0.75rem; font-size: 1rem; }
.toc ol { padding-left: 1.25rem; }
.toc ol li { margin-bottom: 0.4rem; }
.toc ol li a { font-size: 0.9rem; color: var(--primary); }
.toc ol li a:hover { text-decoration: underline; }

/* ============================================
   COMPARISON TABLE
   ============================================ */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

.compare-table th {
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
}

.compare-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-light);
}

.compare-table tr:nth-child(even) td { background: var(--bg-light); }
.compare-table tr:hover td { background: rgba(0,122,94,0.04); }
.compare-table .highlight td { font-weight: 600; color: var(--text); }

/* ============================================
   PRIVACY PAGE
   ============================================ */

.privacy-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--dark);
  padding-top: 0.5rem;
  border-top: 1px solid var(--card-border);
}

.privacy-content p, .privacy-content li {
  color: var(--text-light);
  margin-bottom: 0.85rem;
  line-height: 1.8;
  font-size: 0.97rem;
}

.privacy-content ul { padding-left: 1.5rem; }
.privacy-content ul li { margin-bottom: 0.5rem; }

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

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

.fade-in { animation: fadeUp 0.6s ease both; }
.fade-in-2 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-in-3 { animation: fadeUp 0.6s 0.2s ease both; }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--card-border);
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }
  header { position: relative; }

  .hero { padding: 4rem 1.5rem 3rem; }
  section { padding: 3.5rem 1.25rem; }

  .pros-cons { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ad-slot-banner { max-width: 100%; }
  .review-header { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 1.25rem; }
  .cta-box { padding: 2rem 1.25rem; }
}
