/* ========== CSS VARIABLES ========== */
:root {
    /* Brand Colors - WealthX Gold Luxury */
    --primary: #A08B5B;
    --primary-dark: #7A6A45;
    --primary-light: #C4B07B;
    --primary-50: #FAF8F5;
    --primary-100: #F5F0E6;

    /* Neutral Colors - Warm Tones */
    --gray-900: #333333;
    --gray-800: #3D3D3D;
    --gray-700: #444444;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #D5D0C5;
    --gray-200: #E8E5DE;
    --gray-100: #F5F0E6;
    --gray-50: #FAFAF8;
    --white: #ffffff;

    /* Accent Colors */
    --success: #3D9970;
    --warning: #D4A017;
    --error: #C73E3E;

    /* Typography */
    --font-serif: 'big-caslon-fb', Georgia, serif;
    --font-sans: 'articulat-cf', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 12px rgba(160, 139, 91, 0.2);

    /* Transitions */
    --transition: 0.2s ease;
}

/* ========== BASE RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--gray-900);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--gray-900);
}

.nav-btn-secondary {
    padding: 10px 20px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    background: var(--white);
    transition: all var(--transition);
}

.nav-btn-secondary:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.nav-btn-primary {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #5A4A35 100%);
    box-shadow: var(--shadow-gold);
}

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

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition);
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #5A4A35 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-secondary:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 160px 24px 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

/* ========== AUDIENCE SECTION ========== */
.audience {
    padding: 100px 0;
}

.audience-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
}

.audience-tab {
    padding: 12px 24px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
}

.audience-tab:hover {
    background: var(--gray-200);
}

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

.audience-content {
    display: none;
}

.audience-content.active {
    display: block;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.audience-info h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.audience-info p {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--gray-700);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--gray-900);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.preview-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--gray-800);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-600);
}

.preview-dot:first-child { background: #ef4444; }
.preview-dot:nth-child(2) { background: #f59e0b; }
.preview-dot:nth-child(3) { background: #10b981; }

.preview-content {
    padding: 32px;
}

.preview-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.preview-stat {
    text-align: center;
    padding: 20px;
    background: var(--gray-800);
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-client-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-client {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-800);
    border-radius: 10px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.client-name {
    flex: 1;
    color: var(--white);
    font-weight: 500;
}

.client-stat {
    color: var(--gray-400);
    font-size: 14px;
}

/* ========== FEATURES OVERVIEW ========== */
.features-overview {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-icon-box svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 32px;
}

.stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 16px;
    color: var(--gray-600);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

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

.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========== FOOTER ========== */
.footer {
    padding: 80px 0 40px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: var(--white);
    color: var(--primary);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .audience-visual {
        order: -1;
    }

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

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

    .stat-value {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta a {
        text-align: center;
    }

    .audience-tabs {
        flex-direction: column;
    }

    .preview-stat-row {
        grid-template-columns: 1fr;
    }
}

/* ========== PRICING PAGE STYLES ========== */
.pricing-hero {
    padding: 160px 24px 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.pricing-toggle span {
    font-size: 15px;
    color: var(--gray-600);
}

.pricing-toggle span.active {
    color: var(--gray-900);
    font-weight: 600;
}

.toggle-switch {
    width: 56px;
    height: 30px;
    background: var(--gray-300);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background var(--transition);
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active::after {
    transform: translateX(26px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all var(--transition);
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.pricing-card .price {
    margin-bottom: 8px;
}

.pricing-card .price-value {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--gray-900);
}

.pricing-card .price-period {
    font-size: 16px;
    color: var(--gray-500);
}

.pricing-card .price-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray-700);
}

.pricing-card ul li .check-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

/* ========== FEATURES PAGE STYLES ========== */
.features-hero {
    padding: 160px 24px 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
}

.features-hero h1 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.features-hero p {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.feature-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--gray-200);
}

.feature-section:nth-child(even) {
    background: var(--gray-50);
}

.feature-section:last-child {
    border-bottom: none;
}

.feature-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-section-grid.reverse {
    direction: rtl;
}

.feature-section-grid.reverse > * {
    direction: ltr;
}

.feature-section-info h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.feature-section-info p {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.feature-section-visual {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 40px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== SIGNUP PAGE STYLES ========== */
.signup-page {
    min-height: 100vh;
    display: flex;
}

.signup-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.signup-left h1 {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.signup-left p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.signup-benefits {
    list-style: none;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 16px;
}

.signup-benefits .check-icon {
    background: rgba(255, 255, 255, 0.2);
}

.signup-right {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
}

.signup-form-container {
    max-width: 400px;
    width: 100%;
}

.signup-form-container h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.signup-form-container > p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(160, 139, 91, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.signup-form .btn-primary {
    width: 100%;
    margin-top: 8px;
}

.signup-terms {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

.signup-terms a {
    color: var(--primary);
    text-decoration: none;
}

.signup-login {
    margin-top: 32px;
    text-align: center;
    font-size: 15px;
    color: var(--gray-600);
}

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

/* Login page specific */
.login-page .signup-right {
    flex: unset;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .feature-section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-section-grid.reverse {
        direction: ltr;
    }

    .signup-page {
        flex-direction: column;
    }

    .signup-left {
        padding: 40px 24px;
    }

    .signup-left h1 {
        font-size: 28px;
    }

    .signup-right {
        padding: 40px 24px;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
