:root {
  --primary: #7c3aed;
  --secondary: #f59e0b;
  --accent: #10b981;
  --background: #faf5ff;
  --surface: #ffffff;
  --text: #1e1b4b;
  --muted: #6b7280;
  --red-warning: #ef4444;

  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

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

a:hover {
  color: #5b21b6;
}

ul {
  list-style: none;
}

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

/* --- LAYOUT & HELPERS --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem auto;
    color: var(--muted);
    font-size: 1.1rem;
}

.grid-layout {
  display: grid;
  gap: 1.5rem;
}

.grid-layout.cols-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-layout.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), #a855f7);
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--background);
  transform: translateY(-3px);
}

/* --- HEADER --- */
.main-header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-nav-toggle svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--text);
}


/* --- HERO SECTION --- */
.hero-section {
  padding: 6rem 0 8rem;
  text-align: center;
  background: linear-gradient(170deg, var(--background) 70%, var(--surface) 30%);
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--surface);
  color: var(--primary);
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
}

.hero-section h1 {
  margin-bottom: 1rem;
}

.subheadline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-container {
    margin-top: 4rem;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--surface);
}

/* --- TRUST BADGES --- */
.trust-badges-section {
    padding: 3rem 0;
    background-color: var(--surface);
}

.trust-badges-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
}
.badge-item span { font-size: 1.75rem; }
.badge-item p { margin: 0; font-size: 0.9rem; }
.badge-item strong { color: var(--text); }


/* --- WHY SECTION --- */
.why-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-card h3 {
    margin-bottom: 0.75rem;
}

/* --- IDEAS (TABS) SECTION --- */
.ideas-section {
    background-color: var(--surface);
}
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    background: var(--surface);
    color: var(--muted);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.tab-pane {
    display: none;
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
}
.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}
.tab-pane ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    gap: 1.5rem;
}
.tab-pane li {
    padding: 0.5rem 0;
}
.info-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #e0e7ff;
    border-left: 4px solid var(--primary);
    border-radius: 0.25rem;
}
.info-box.warning {
    background-color: #fff1f2;
    border-color: var(--red-warning);
}

/* --- PASSIVE INCOME SECTION --- */
.passive-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.passive-card .card-header {
    padding: 1rem 1.5rem;
    color: white;
}
.passive-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
}
.passive-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text);
}
.passive-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}
.passive-card.status-green .card-header { background: var(--accent); }
.passive-card.status-yellow .card-header { background: var(--secondary); }
.passive-card.status-red .card-header { background: var(--red-warning); }


/* --- TAXES SECTION --- */
.taxes-section {
    background-color: var(--surface);
}
.info-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
}
.info-card h4 { margin-bottom: 0.5rem; }
.info-card p { color: var(--muted); }

.warning-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left-width: 4px;
    border-left-color: var(--secondary);
    border-radius: 0.25rem;
    text-align: center;
}


/* --- TIME MANAGEMENT SECTION --- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.tip-item {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
}


/* --- FAQ SECTION --- */
.faq-section {
    background-color: var(--surface);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.faq-question {
    width: 100%;
    padding: 1.5rem 1rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}
.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--primary);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p {
    padding: 0 1rem 1.5rem;
    color: var(--muted);
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: var(--text);
    color: white;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    padding: 10rem 0 6rem;
    margin-top: -6rem;
}
.contact-section .section-title { color: white; text-align: left; }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}
.contact-info p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}
.contact-info ul li {
    margin-bottom: 0.5rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.contact-form input, 
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    background-color: #2b285b;
    border: 1px solid #433f8b;
    border-radius: 0.5rem;
    color: white;
    font-family: var(--font-body);
}
.contact-form input:focus, 
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.5);
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.form-group-checkbox a {
    color: var(--secondary);
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--text);
    color: #d1d5db;
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #3730a3;
}
.footer-col .logo { color: white; }
.footer-col .tagline, .footer-col .address {
    font-size: 0.9rem;
    margin-top: 1rem;
}
.footer-col h4 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}
.footer-col ul a {
    color: #d1d5db;
}
.footer-col ul a:hover {
    color: white;
}
.newsletter-form {
    display: flex;
}
.newsletter-form input {
    flex-grow: 1;
    border: 1px solid #433f8b;
    background-color: #2b285b;
    padding: 0.5rem;
    border-radius: 0.25rem 0 0 0.25rem;
    color: white;
}
.newsletter-form button {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    border-radius: 0 0.25rem 0.25rem 0;
    cursor: pointer;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-info {
        text-align: center;
    }
     .contact-section .section-title { text-align: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .tab-pane ul {
        columns: 1;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
}