/* === Elegant Finance Design #3 === */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+Pro:wght@400;600&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #1e3a5f; /* Navy Blue */
    --secondary-color: #c9a962; /* Gold */
    --accent-color: #2d5a3d; /* Forest Green */
    --background-color: #faf9f7; /* Warm White */
    --surface-color: #ffffff; /* White */
    --card-bg-color: #f5f3f0; /* Cream */
    --text-color: #1a1a1a; /* Near Black */
    --muted-color: #6b7280; /* Gray */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;

    --border-radius: 4px;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography & Links --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    color: var(--muted-color);
}


p { margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: color var(--transition-speed);
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

a:hover {
    color: var(--secondary-color);
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

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

section {
    padding: 6rem 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* --- Header --- */
#main-header {
    background-color: var(--surface-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: var(--shadow-soft);
    transition: padding var(--transition-speed);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo:hover { color: var(--primary-color); }
.logo::after { display: none; }
.logo svg { margin-right: 0.5rem; }
.logo span { margin-top: 4px; }


#main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

#main-nav a {
    font-weight: 600;
    font-size: 1rem;
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--surface-color);
    background: url('https://placehold.co/1920x1080/1e3a5f/c9a962/png?text=WealthPath+Hero') no-repeat center center/cover;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 95, 0.75); /* semi-transparent navy */
}

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

.hero h1 {
    color: var(--surface-color);
    font-weight: 600;
}

.hero .subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    box-shadow: var(--shadow-medium);
}
.cta-button:hover {
    background-color: #d4b574;
    transform: translateY(-2px);
    color: var(--primary-color);
}
.cta-button::after { display: none; }


/* --- Trust Badges --- */
.trust-badges {
    background-color: var(--card-bg-color);
    padding: 2.5rem 0;
}

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

.badge-item {
    text-align: center;
}

.badge-item strong {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.badge-item p {
    color: var(--muted-color);
    margin: 0;
    font-size: 0.9rem;
}

/* --- Intro Section --- */
.intro-section { background-color: var(--surface-color); }
.intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* --- Pillars Section --- */
.pillars-section { background-color: var(--background-color); }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background-color: var(--card-bg-color);
    border: 1px solid #e5e2dd;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}
.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.pillar-card .icon-wrapper {
    background-color: rgba(30, 58, 95, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}
.pillar-card .icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.pillar-card h3 { color: var(--primary-color); }
.pillar-card p { color: var(--muted-color); flex-grow: 1;}
.pillar-card img {
    width: calc(100% + 4rem);
    margin: 1.5rem -2rem -2rem -2rem;
    height: 150px;
    object-fit: cover;
    opacity: 0.7;
}

/* --- KI Section --- */
.ki-section { background-color: var(--surface-color); }

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    color: var(--surface-color);
}
.feature-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.8) 0%, rgba(30, 58, 95, 0) 60%);
    z-index: 1;
}
.feature-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}
.feature-box:hover img {
    transform: scale(1.05);
}
.feature-box h3 {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    color: var(--surface-color);
}


/* --- Strategies Section (Tabs) --- */
.strategies-section { background-color: var(--background-color); }

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #d1d5db;
    margin-bottom: 2rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--muted-color);
    position: relative;
    transition: color var(--transition-speed);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
}

.tab-content {
    display: none;
    gap: 2rem;
    align-items: center;
}
.tab-content.active {
    display: grid;
    grid-template-columns: 40% 1fr;
    animation: fadeIn 0.5s ease;
}
.tab-content img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}
.tab-content p { color: var(--muted-color); }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Roadmap Section --- */
.roadmap-section { background-color: var(--surface-color); }
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #e5e2dd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 25px;
}
.timeline-item:nth-child(even) .timeline-content {
    padding-left: 25px;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--surface-color);
    border: 4px solid var(--secondary-color);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}
.timeline-content p {
    color: var(--muted-color);
    margin-bottom: 0;
}

/* --- Resources Section --- */
.resources-section { background-color: var(--background-color); }
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.resource-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-color);
}
.resource-card::after { display: none; }
.resource-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-content h3 { font-size: 1.2rem; }
.card-content p { color: var(--muted-color); margin-bottom: 1rem; flex-grow: 1; }
.card-content span {
    color: var(--secondary-color);
    font-weight: 600;
    align-self: flex-start;
}

/* --- Disclaimer Box --- */
.disclaimer-section { padding-top: 0; }
.disclaimer-box {
    border: 2px solid var(--secondary-color);
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}
.disclaimer-box h3 { color: var(--primary-color); }
.disclaimer-box p { color: var(--muted-color); margin-bottom: 0; font-size: 0.9rem; }

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

/* --- Contact Section --- */
.contact-section { background-color: var(--background-color); }
.contact-form-wrapper h3, .contact-info-wrapper h3 {
    margin-bottom: 0.5rem;
}
.contact-form-wrapper p, .contact-info-wrapper p {
    color: var(--muted-color);
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius);
    background-color: var(--surface-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.3);
}
.submit-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--surface-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}
.submit-button:hover { background-color: #274975; }
.map-container { margin-top: 2rem; }

/* --- Footer --- */
#main-footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-col p { font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}
.footer-col a:hover {
    color: var(--surface-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
.disclaimer-footer {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
/* ... and so on for staggered effects if needed */

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    .grid-2-col { grid-template-columns: 1fr; }
    .intro-image { order: -1; margin-bottom: 2rem; }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .resource-grid { grid-template-columns: 1fr 1fr; }
    .feature-boxes { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        padding-left: 25px;
        padding-right: 0;
    }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 20px; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    section { padding: 4rem 0; }
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--surface-color);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right var(--transition-speed);
        padding-top: 6rem;
    }
    #main-nav.is-open { right: 0; }
    #main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    #main-nav a { font-size: 1.2rem; }
    #mobile-menu-toggle { display: block; }
    #mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 5px 0;
        transition: all var(--transition-speed);
    }
    #mobile-menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    #mobile-menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero { height: 80vh; }
    .trust-badges .container { flex-direction: column; gap: 2rem; }
    .pillars-grid, .resource-grid { grid-template-columns: 1fr; }
    .tab-content.active { grid-template-columns: 1fr; }
    .tab-content img { margin-bottom: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
}