/* =============================================
   Homepage Styles - Pure CSS Design System
   ============================================= */

/* CSS Variables */
:root {
    --color-primary: hsl(345, 80%, 30%);
    --color-primary-dark: hsl(345, 80%, 25%);
    --color-primary-light: hsl(345, 80%, 40%);
    --color-primary-glow: hsl(345, 80%, 50%);
    --color-secondary: hsl(40, 90%, 50%);
    --color-secondary-light: hsl(40, 90%, 60%);
    --color-background: hsl(0, 0%, 100%);
    --color-surface: hsl(0, 0%, 99%);
    --color-muted: hsl(0, 0%, 96%);
    --color-text: hsl(0, 0%, 10%);
    --color-text-muted: hsl(0, 0%, 45%);
    --color-border: hsl(0, 0%, 90%);
    --color-success: hsl(142, 76%, 36%);
    --font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 1px 2px hsla(0, 0%, 0%, 0.05);
    --shadow-md: 0 4px 12px hsla(0, 0%, 0%, 0.08);
    --shadow-lg: 0 10px 30px hsla(0, 0%, 0%, 0.12);
    --shadow-xl: 0 20px 50px hsla(0, 0%, 0%, 0.15);
    --shadow-primary: 0 10px 30px hsla(345, 80%, 30%, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        hsla(345, 80%, 30%, 0.08) 0%, 
        hsla(0, 0%, 100%, 1) 50%, 
        hsla(40, 90%, 50%, 0.05) 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: hsla(345, 80%, 30%, 0.15);
    top: 10%;
    left: 5%;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: hsla(40, 90%, 50%, 0.1);
    bottom: 10%;
    right: 5%;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: hsla(345, 80%, 40%, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(hsla(0, 0%, 0%, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, hsla(0, 0%, 0%, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-text {
    animation: fadeUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: hsla(345, 80%, 30%, 0.1);
    border: 1px solid hsla(345, 80%, 30%, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.hero-badge-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    border-radius: 50%;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-title-sub {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--color-text);
    -webkit-text-fill-color: var(--color-text);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--color-primary);
}

.hero-description a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.hero-description a:hover {
    text-decoration: underline;
}

/* Live Counter */
.hero-counter {
    margin-bottom: 2rem;
}

.hero-counter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.hero-counter-value {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px hsla(345, 80%, 30%, 0.35);
}

.btn-secondary {
    background: var(--color-background);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: hsla(345, 80%, 30%, 0.05);
}

/* Hero Stats */
.hero-stats {
    position: relative;
    animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: hsla(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: hsla(345, 80%, 30%, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.stat-card:nth-child(1),
.stat-card:nth-child(4) {
    transform: translateY(20px);
}

.stat-card:nth-child(1):hover,
.stat-card:nth-child(4):hover {
    transform: translateY(15px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: hsla(345, 80%, 30%, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform var(--transition-normal);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeUp 0.8s ease-out 0.8s backwards;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid hsla(0, 0%, 0%, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* =============================================
   Section Styles
   ============================================= */
.section {
    padding: 5rem 0;
}

.section-muted {
    background: var(--color-muted);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* =============================================
   Biography Section
   ============================================= */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.bio-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bio-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, hsla(0, 0%, 0%, 0.8), transparent);
    color: white;
}

.bio-image-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.bio-image-title {
    font-size: 0.875rem;
    opacity: 0.8;
}

.bio-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.bio-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.bio-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

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

.bio-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.bio-stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* =============================================
   Net Worth Cards
   ============================================= */
.networth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.networth-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.networth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.networth-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.networth-card:hover::before {
    transform: scaleX(1);
}

.networth-card.featured {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border: none;
}

.networth-card.featured::before {
    background: var(--color-secondary);
    transform: scaleX(1);
}

.networth-year {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.networth-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.networth-card.featured .networth-value {
    color: white;
}

.networth-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-success);
    background: hsla(142, 76%, 36%, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.networth-card.featured .networth-change {
    background: hsla(255, 255, 255, 0.2);
    color: white;
}

/* =============================================
   Income Breakdown
   ============================================= */
.income-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.income-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.income-card-image {
    height: 200px;
    overflow: hidden;
}

.income-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.income-card:hover .income-card-image img {
    transform: scale(1.05);
}

.income-card-content {
    padding: 1.5rem;
}

.income-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.income-card-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.income-card-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Income Progress Bars */
.income-bars {
    margin-top: 3rem;
}

.income-bar-item {
    margin-bottom: 1.5rem;
}

.income-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.income-bar-label {
    font-weight: 600;
    color: var(--color-text);
}

.income-bar-value {
    font-weight: 600;
    color: var(--color-primary);
}

.income-bar-track {
    height: 12px;
    background: var(--color-muted);
    border-radius: 6px;
    overflow: hidden;
}

.income-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 6px;
    transition: width 1s ease-out;
}

/* =============================================
   FAQ Section
   ============================================= */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: hsla(345, 80%, 30%, 0.3);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-muted);
    border-radius: 50%;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--color-primary);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* =============================================
   Assets Gallery
   ============================================= */
.assets-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.assets-tab {
    padding: 0.75rem 1.5rem;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.assets-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.assets-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.asset-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.asset-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.asset-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.asset-card:hover .asset-image img {
    transform: scale(1.05);
}

.asset-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.asset-content {
    padding: 1.5rem;
}

.asset-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.asset-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.asset-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* =============================================
   Back to Top
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-primary);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px hsla(345, 80%, 30%, 0.4);
}

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-stats {
        order: 2;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero-stats-grid {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .bio-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .assets-tabs {
        gap: 0.5rem;
    }
    
    .assets-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
