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

:root {
    --primary-dark: #1a1a1a;
    --primary-gold: #8b755d;
    --primary-light: #f8f6f0;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
}

section {
    scroll-margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Odor Mean Chey', 'Georgia', serif;
    line-height: 1.2;
    font-weight: 400;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-medium);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(139, 117, 93, 0.6) 100%), 
                url('https://pixabay.com/get/g2d384045fd0cae5d63202da5b3c83de033d30b2011343db3ac7667535c260089c23ef16489b8eb7a6c481e6c7471af5d03142de3052329ed03a02023ff557865_1280.jpg');
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(139, 117, 93, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    width: 100%;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    line-height: 0.9;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
    line-height: 1.7;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-gold);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    transition: left 0.3s ease;
    z-index: 1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button span,
.cta-button i {
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    text-align: center;
    opacity: 0.8;
}

.scroll-line {
    width: 1px;
    height: 3rem;
    background: var(--white);
    margin: 0 auto 1rem;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
    transform: translateY(0);
    /* Ensure no overflow */
    overflow: hidden;
    box-sizing: border-box;
    /* Remove any padding that could cause overflow */
    padding: 0;
}

.nav.visible {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transform: translateY(0);
}

.nav .nav-links a {
    color: var(--white);
    transition: var(--transition);
}

.nav.visible .nav-links a {
    color: var(--primary-dark);
}

.nav .investor-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.nav.visible .investor-btn {
    background: var(--primary-gold) !important;
    color: var(--white) !important;
    border: none !important;
}

.nav .logo-black {
    display: none;
}

.nav .logo-white {
    display: block;
}

.nav.visible .logo-black {
    display: block;
}

.nav.visible .logo-white {
    display: none;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    /* Ensure content stays within screen bounds */
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    /* Prevent any overflow */
    overflow: hidden;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
}

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

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

.investor-btn {
    background: var(--primary-gold) !important;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

.investor-btn::after {
    display: none !important;
}


/* Section Spacing */
section {
    padding: 8rem 0;
}

/* Philosophy Section */
.philosophy {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    padding: 6rem 0;
}

.philosophy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.development-note {
    background: rgba(139, 117, 93, 0.1);
    padding: 2rem;
    border-left: 4px solid var(--primary-gold);
    margin-top: 3rem;
}

.development-note p {
    margin: 0;
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 6rem;
}

/* About Section */
.about {
    background: var(--gray-light);
}

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

.pillar {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 117, 93, 0.05), transparent);
    transition: left 0.6s ease;
}

.pillar:hover::before {
    left: 100%;
}

.pillar:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pillar-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.pillar p {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    padding: 0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}


.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(139, 117, 93, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Membership Section */
.membership {
    background: var(--primary-light);
}

.membership-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
    align-items: stretch;
}


.tier-card {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.tier-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.tier-card:hover:not(.featured) {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}


.tier-header h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tier-price {
    font-size: 3rem;
    color: var(--primary-gold);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.tier-price span {
    font-size: 1rem;
    color: var(--gray-medium);
}

.original-price {
    font-size: 1.5rem;
    color: var(--gray-medium);
    text-decoration: line-through;
    margin-bottom: 0.25rem;
    opacity: 0.7;
}

.original-price span {
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.savings-banner {
    background: #a8d8a8;
    color: #2d5a2d;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.75rem;
    margin: -3rem -2rem 2rem -2rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.tier-wrapper {
    position: relative;
}

.external-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(189, 156, 88, 0.3);
}

.founding-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.founding-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    transition: left 0.3s ease;
    z-index: 1;
}

.founding-cta-button:hover::before {
    left: 0;
}

.founding-cta-button span,
.founding-cta-button i {
    position: relative;
    z-index: 2;
}

.founding-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.cost-per-night {
    font-size: 1rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(189, 156, 88, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(189, 156, 88, 0.3);
    display: inline-block;
    font-style: italic;
}

.tier-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.tier-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
    padding-left: 2rem;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

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

/* Spa Section */
.spa {
    position: relative;
    overflow: hidden;
    background: var(--gray-light);
    /* Ensure minimum height for better aspect ratio */
    min-height: 70vh;
}

.spa-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.spa-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure video is always visible and well-positioned */
    object-position: center;
}

.spa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.spa .container,
.spa .section-header,
.spa-grid {
    position: relative;
    z-index: 3;
}


.spa-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3rem;
}

.spa-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.spa-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 117, 93, 0.05), transparent);
    transition: left 0.6s ease;
}

.spa-item:hover::before {
    left: 100%;
}

.spa-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.spa-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.spa-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.spa-item p {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 4rem;
}

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

.experience-item:nth-child(even) {
    direction: rtl;
}

.experience-item:nth-child(even) > * {
    direction: ltr;
}

.experience-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.experience-image img,
.experience-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.experience-item:hover .experience-image img,
.experience-item:hover .experience-image video {
    transform: scale(1.05);
}

.experience-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.experience-content p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}


/* Waitlist Section */
.waitlist {
    background: var(--primary-dark);
    color: var(--white);
}

.waitlist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.waitlist-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.waitlist-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.waitlist-benefits {
    display: grid;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit i {
    color: var(--primary-gold);
    font-size: 1.25rem;
    width: 1.5rem;
}

.waitlist-form {
    background: var(--white);
    padding: 3rem;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    background: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: var(--primary-gold);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    text-decoration: none;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    transition: left 0.3s ease;
    z-index: 1;
}

.submit-button:hover::before {
    left: 0;
}

.submit-button span,
.submit-button i {
    position: relative;
    z-index: 2;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Focus styles for accessibility */
.cta-button:focus-visible,
.founding-cta-button:focus-visible,
.submit-button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(139, 117, 93, 0.4);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .spa-video video {
        display: none;
    }
    
    .spa {
        background: var(--gray-light);
    }
    
    .cta-button, .founding-cta-button, .submit-button {
        transition: none;
    }
    
    .cta-button:hover, .founding-cta-button:hover, .submit-button:hover {
        transform: none;
        box-shadow: none;
    }
    
    .cta-button::before, .founding-cta-button::before, .submit-button::before {
        transition: none;
    }
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-loading {
    display: none;
}

.submit-button.loading .button-text {
    display: none;
}

.submit-button.loading .button-loading {
    display: block;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.form-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FAQ Section */
.faq {
    background: var(--gray-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.faq-question i {
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer-brand img {
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.footer-brand p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 400;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary-gold);
    opacity: 1;
}


.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--primary-gold);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
    opacity: 0;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(50px);
    opacity: 0;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
    opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
    
    .spa-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
    
    .membership-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .experience-item:nth-child(even) {
        direction: ltr;
    }
    
    .waitlist-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav.visible .hamburger span {
    background: var(--primary-dark);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Full Screen Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    z-index: 10000;
    transition: right 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
}

.mobile-menu-link {
    display: block;
    color: white;
    font-size: 2rem;
    font-weight: 300;
    text-decoration: none;
    padding: 1.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--primary-gold);
}

.mobile-menu-link.investor-link {
    background: var(--primary-gold);
    color: var(--primary-dark);
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    border-radius: 8px;
    width: fit-content;
    font-weight: 600;
}

.mobile-menu-link.investor-link:hover {
    background: white;
    color: var(--primary-dark);
}

/* Simple Language Selector */
.lang-select {
    background: none;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="white" d="M6 8L0 2h12z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    transition: all 0.3s ease;
}

.nav.visible .lang-select {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M6 8L0 2h12z"/></svg>');
}

.lang-select:hover {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.lang-select option {
    background: var(--primary-dark);
    color: white;
    padding: 0.5rem;
}

/* Mobile Navigation Controls */
.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

.mobile-lang-select {
    font-size: 0.8rem;
    padding: 0.4rem 2rem 0.4rem 0.8rem;
}


@media (max-width: 768px) {
    /* Show mobile navigation controls */
    .mobile-nav-controls {
        display: flex;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
    }
    
    /* Hide desktop nav links and language selector */
    .nav-links {
        display: none;
    }
    
    .desktop-lang {
        display: none;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .spa-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    /* Mobile spa video optimizations */
    .spa {
        min-height: 80vh;
        /* Better aspect ratio for mobile */
    }
    
    .spa-video {
        /* Ensure video container is properly sized on mobile */
        min-height: 80vh;
    }
    
    .spa-video video {
        /* Better mobile video positioning */
        object-fit: cover;
        object-position: center center;
        /* Prevent video from being too cropped on mobile */
        transform: scale(1.1);
        /* Ensure proper mobile video playback */
        width: 100%;
        height: 100%;
    }
    
    .membership-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

@media (min-width: 769px) {
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    section {
        padding: 4rem 0;
    }
    
    
    .tier-card.featured {
        transform: none;
    }
    
    .waitlist-form {
        padding: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pillar,
    .spa-item,
    .waitlist-form {
        padding: 2rem 1.5rem;
    }
    
    .spa-item {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        /* Better contrast on mobile with video background */
        background: rgba(255, 255, 255, 0.98);
    }
    
    /* Enhance spa section content visibility on mobile */
    .spa .section-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: 12px;
        margin-bottom: 3rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .hero-video,
    .nav {
        display: none;
    }
    
    .hero {
        background: var(--primary-dark);
        color: var(--white);
    }
    
    * {
        box-shadow: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-dark: #000000;
        --gray-medium: #444444;
        --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-video video {
        display: none;
    }
}

/* Investor Login Page Styles */
.investor-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-header img {
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.login-header p {
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.login-form input:focus {
    border-color: var(--primary-gold);
    outline: none;
}

.login-button {
    width: 100%;
    background: var(--primary-gold);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.login-button:hover {
    background: var(--primary-dark);
}

.login-button.loading .button-text {
    display: none;
}

.login-button.loading .button-loading {
    display: block;
}

.button-loading {
    display: none;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    border: 1px solid #f5c6cb;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-medium);
    text-decoration: none;
    margin-top: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-gold);
}

/* Investor Dashboard Styles */
.investor-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
}

.investor-nav .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-btn {
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.logout-btn:hover {
    background: var(--primary-dark);
}

.investor-dashboard {
    padding: 3rem 0;
    background: var(--gray-light);
    min-height: calc(100vh - 80px);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.dashboard-header p {
    font-size: 1.25rem;
    color: var(--gray-medium);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

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

.metric-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.metric-content h3 {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.metric-subtitle {
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.project-sections {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.section-card h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.5rem;
}

.section-content ul {
    list-style: none;
    padding: 0;
}

.section-content li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
}

.section-content li::before {
    content: '•';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.revenue-breakdown,
.investment-breakdown {
    display: grid;
    gap: 1rem;
}

.revenue-item,
.investment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 4px;
}

.revenue-label,
.investment-label {
    font-weight: 500;
    color: var(--primary-dark);
}

.revenue-value,
.investment-value {
    font-weight: 600;
    color: var(--primary-gold);
}

.dashboard-footer {
    text-align: center;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-btn,
.documents-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gold);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-btn:hover,
.documents-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Enhanced Investor Dashboard Styles */
.dashboard-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.dashboard-header h1 {
    font-family: 'Odor Mean Chey', serif;
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.dashboard-header .tagline {
    font-size: 1.25rem;
    color: var(--gray-medium);
    font-style: italic;
}

/* Enhanced Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.metric-card.primary {
    border: 2px solid var(--primary-gold);
}

/* Investor FAQ Section */
.investor-faq-section {
    margin: 4rem 0;
}

.investor-faq-section h2 {
    font-family: 'Odor Mean Chey', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.investor-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-category {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-category h3 {
    background: var(--primary-gold);
    color: var(--white);
    padding: 1.5rem 2rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: var(--white);
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    flex: 1;
}

.faq-question i {
    color: var(--primary-gold);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 1.5rem 0;
    color: var(--gray-medium);
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary-dark);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .investor-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem;
    }
}
    box-shadow: 0 8px 25px rgba(189, 156, 88, 0.2);
}

.metric-change.positive {
    color: #28a745;
    font-weight: 500;
}

/* Chart Section */
.chart-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.chart-section h2 {
    font-family: 'Odor Mean Chey', serif;
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.chart-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 300px;
    gap: 2rem;
    position: relative;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 0;
    margin-bottom: 2rem;
}

.year-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.year-column h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.revenue-bar {
    width: 80px;
    background: var(--primary-gold);
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    padding-top: 1rem;
    min-height: 60px;
    margin-bottom: 0;
}

.revenue-value {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.year-label {
    color: var(--gray-medium);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    position: absolute;
    bottom: -2rem;
}

/* Performance Grid */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.performance-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.performance-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.big-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.profit-visual {
    margin-top: 2rem;
}

.profit-bar {
    width: 100%;
    height: 12px;
    background: var(--gray-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.profit-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), #4CAF50);
    border-radius: 6px;
    transition: width 1s ease;
}

.member-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.member-tier {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tier-name {
    width: 60px;
    font-weight: 500;
    font-size: 0.9rem;
}

.tier-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.tier-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.tier-fill.bronze { background: #CD7F32; }
.tier-fill.silver { background: #C0C0C0; }
.tier-fill.gold { background: var(--primary-gold); }

.tier-count {
    font-size: 0.9rem;
    color: var(--gray-medium);
    width: 80px;
    text-align: right;
}

/* Investment Breakdown */
.breakdown-section {
    margin-bottom: 4rem;
}

.breakdown-section h2 {
    font-family: 'Odor Mean Chey', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.breakdown-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.breakdown-visual {
    margin-bottom: 1.5rem;
}

.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-gold) 0deg, var(--primary-gold) calc(var(--percentage, 0) * 3.6deg), var(--gray-light) calc(var(--percentage, 0) * 3.6deg));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.progress-circle::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    position: absolute;
}

.circle-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.circle-content .percentage {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.circle-content .label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-medium);
    margin-top: 0.25rem;
}

.breakdown-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.breakdown-desc {
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.4;
}

/* Advantages Section */
.advantages-section {
    margin-bottom: 4rem;
}

.advantages-section h2 {
    font-family: 'Odor Mean Chey', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.advantage-card h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: var(--gray-medium);
    line-height: 1.5;
}

/* Risk & Returns Section */
.risk-returns-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.risk-card, .returns-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.risk-card h3, .returns-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.risk-list {
    list-style: none;
    padding: 0;
}

.risk-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.risk-list li:last-child {
    border-bottom: none;
}

.risk-list i {
    color: #28a745;
    font-size: 1.1rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
}

.timeline-year {
    font-weight: 600;
    color: var(--primary-dark);
}

.timeline-event {
    color: var(--gray-medium);
}

.timeline-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-value.positive {
    color: #28a745;
}

.timeline-value.negative {
    color: #dc3545;
}

/* Cumulative Cash Flow Section */
.cashflow-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.cashflow-section h2 {
    font-family: 'Odor Mean Chey', serif;
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.cashflow-chart {
    position: relative;
    height: 300px;
}

.line-chart {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-grid {
    position: absolute;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-light);
    font-size: 0.8rem;
    color: var(--gray-medium);
    padding-left: 0.5rem;
}

.cash-flow-line {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.chart-labels {
    position: absolute;
    bottom: -30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.chart-labels .year-label {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.cash-values {
    position: absolute;
    top: 0;
    width: 100%;
}

.cash-value {
    position: absolute;
    transform: translateX(-50%);
    top: -30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

/* Investment Timeline Section */
.timeline-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.timeline-section h2 {
    font-family: 'Odor Mean Chey', serif;
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.investment-graph {
    position: relative;
    height: 400px;
}

.graph-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding-left: 60px;
    padding-bottom: 40px;
}

.y-axis {
    position: absolute;
    left: 0;
    top: 0;
    height: 300px;
    width: 50px;
}

.y-label {
    position: absolute;
    right: 10px;
    transform: translateY(50%);
    font-size: 0.8rem;
    color: var(--gray-medium);
    text-align: right;
}

.investment-chart {
    width: 100%;
    height: 300px;
    position: absolute;
    top: 0;
    left: 60px;
}

.x-axis-labels {
    position: absolute;
    bottom: 0;
    left: 60px;
    right: 0;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.x-label {
    font-size: 0.8rem;
    color: var(--gray-medium);
    text-align: center;
}

.data-points {
    position: absolute;
    top: -40px;
    left: 60px;
    right: 0;
    height: 340px;
    pointer-events: none;
}

.data-point {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
}

.point-value {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
    background: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2px;
}

.point-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-medium);
}

/* Update progress circles for minimalistic design */
.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    border: 2px solid var(--primary-gold);
}

.progress-circle::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    position: absolute;
}

/* Update tier bars for cleaner lines */
.tier-bar {
    flex: 1;
    height: 2px;
    background: var(--gray-light);
    border-radius: 1px;
    overflow: hidden;
}

.tier-fill {
    height: 100%;
    border-radius: 1px;
    transition: width 1s ease;
}

/* Update profit bar for cleaner design */
.profit-bar {
    width: 100%;
    height: 2px;
    background: var(--gray-light);
    border-radius: 1px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.profit-fill {
    height: 100%;
    background: var(--primary-gold);
    border-radius: 1px;
    transition: width 1s ease;
}

/* Enhanced Chart Responsiveness */
.cash-flow-line,
.investment-chart {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    margin-top: 1rem;
}

.chart-labels .year-label {
    flex: 1;
    text-align: center;
}

.x-axis-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    margin-top: 1rem;
}

.x-axis-labels .x-label {
    flex: 1;
    text-align: center;
}

.data-points .data-point {
    transform: translateX(-50%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header h1 {
        font-size: 2.5rem;
    }
    
    .performance-grid,
    .risk-returns-section {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }
    
    .year-column {
        height: 150px;
        width: 100%;
    }
    
    .revenue-bar {
        width: 100%;
        height: 60px;
    }
    
    .cashflow-chart,
    .investment-graph {
        height: 250px;
    }
    
    .chart-labels .year-label,
    .x-axis-labels .x-label {
        font-size: 0.8rem;
    }
    
    .cash-value,
    .point-value {
        font-size: 0.8rem;
    }
    
    .point-label {
        font-size: 0.6rem;
    }
}
