/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Proxima Nova', 'Graphik', 'DM Sans', sans-serif;
    font-weight: 400;
    background: 
        linear-gradient(135deg, #684bff 0%, #5a42e6 25%, #684bff 50%, #7c5cff 75%, #684bff 100%);
    background-size: 100% 100%;
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}



.container {
    position: relative;
    z-index: 2;
}

.coming-soon-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.coming-soon-section .content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: block;
    width: min(60vw, 320px);
    height: auto;
    margin: 0 auto 2rem auto;
    filter: none;
}

.coming-soon-text {
    font-family: 'Proxima Nova', 'Graphik', 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 3rem;
    opacity: 0.9;
    text-transform: lowercase;
}

.story-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.story-section.active {
    opacity: 1;
    transform: translateY(0);
}

.story-section:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.content {
    text-align: center;
    padding: 0.25rem;
    position: relative;
    margin: 0 auto;
}

/* Dynamic max-width for different screen sizes */
@media (min-width: 769px) and (max-width: 1024px) {
    .content {
        max-width: 900px;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .content {
        max-width: 1200px;
    }
}

@media (min-width: 1441px) {
    .content {
        max-width: 1400px;
    }
}

/* Wider content for second slide */
.story-section[data-section="2"] .content {
    max-width: 1200px;
    padding: 0.25rem;
}

/* Full width for chart section */
.story-section[data-section="4"] .content {
    max-width: none;
    width: 100%;
    padding: 0 0.1rem;
}



h1 {
    font-family: 'Proxima Nova', 'Graphik', 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 8rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    overflow: hidden;
    line-height: 1.1;
}

.trademark {
    font-size: 0.33em;
    vertical-align: super;
}

.fundraising-info {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #684bff;
}

.contact-cta {
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #684bff;
    margin-bottom: 1.5rem;
    text-align: center;
    opacity: 0.9;
}


h2 {
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #684bff;
}

h2 em {
    font-style: italic;
    font-weight: 400;
    opacity: 0.8;
}

p {
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #684bff;
}

/* Logo styling */
.logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

/* Hero subtitle styling */
.hero-subtitle {
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 2.4rem;
    line-height: 1.8;
    color: #684bff;
    margin-bottom: 0.3rem;
}

/* Hero subtitle secondary styling */
.hero-subtitle-secondary {
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.6;
    color: #684bff;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

/* Hero description styling */
.hero-description {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content grid for second slide */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.content-item {
    padding: 1.5rem;
}

.content-item h3 {
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #684bff;
}

.content-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #684bff;
}

.content-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.content-item li {
    font-size: 1rem;
    line-height: 1.6;
    color: #684bff;
    margin-bottom: 0.5rem;
    position: relative;
}

.content-item li::before {
    content: "•";
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.content-item a {
    color: #b19cd9;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-item a:hover {
    color: #7c5cff;
    text-decoration: underline;
}

/* Contact button */
.contact-button, .pitch-deck-button {
    display: inline-block;
    margin: 1rem;
    padding: 1rem 2rem;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.contact-button::before, .pitch-deck-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-button:hover::before, .pitch-deck-button:hover::before {
    left: 100%;
}

.contact-button:active, .pitch-deck-button:active {
    transform: translateY(0);
}

/* Button container for multiple buttons */
.button-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* LinkedIn button specific styling */
.linkedin-button {
    background: 
        linear-gradient(135deg, rgba(0, 119, 181, 0.8) 0%, rgba(0, 119, 181, 0.6) 100%);
    border: 1px solid rgba(0, 119, 181, 0.5);
    min-width: 100px;
    max-width: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.linkedin-button:hover {
    background: 
        linear-gradient(135deg, rgba(0, 119, 181, 0.9) 0%, rgba(0, 119, 181, 0.7) 100%);
    border: 1px solid rgba(0, 119, 181, 0.7);
}

/* Ensure both buttons are the same size */
.contact-button {
    min-width: 100px;
    max-width: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

/* Chart container styling */
.chart-container {
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 0.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

/* Show chart only on desktop/tablet */
@media (min-width: 769px) {
    .chart-container {
        display: block;
    }
    
    .story-section[data-section="4"] h2 {
        display: block;
        font-size: 4.5rem;
        margin-bottom: 2rem;
    }
}

/* Legend styling */
.legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Graphik', 'DM Sans', sans-serif;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .button-container {
        flex-direction: column;
        justify-content: center;
    }
}



/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    z-index: 10;
}

.scroll-progress {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    transition: height 0.3s ease;
    height: 0%;
    position: relative;
    overflow: hidden;
}

.scroll-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Coming soon mobile styles */
@media (max-width: 768px) {
    .coming-soon-section {
        padding: 1rem;
    }
    
    .coming-soon-section h1 {
        font-size: 4rem;
        white-space: normal;
        line-height: 1.1;
    }
    
    .coming-soon-text {
        font-size: 1rem;
        margin-top: 2rem;
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Hide any story sections on mobile */
    .story-section {
        display: none;
    }
    
    .logo {
        width: min(70vw, 260px);
        margin-bottom: 2rem;
    }
}

/* Mobile-first responsive design */
@media (max-width: 480px) {
    h1 {
        font-size: 3.5rem;
        white-space: normal;
        line-height: 1.1;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .hero-subtitle-secondary {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .content {
        padding: 0.5rem;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .story-section {
        padding: 0.5rem;
        min-height: 100vh;
    }
    
    .logo {
        max-width: 100px;
        margin: 0 auto 1rem auto;
    }
    
    .fundraising-info {
        font-size: 1.5rem;
        margin: 0 auto 1rem auto;
    }
    
    .contact-cta {
        font-size: 1.1rem;
        margin: 0 auto 1.25rem auto;
    }
    
    /* Hide chart on mobile */
    .chart-container {
        display: none;
    }
    
    /* Hide chart section title on mobile */
    .story-section[data-section="3"] h2 {
        display: none;
    }
    
    .content-item {
        padding: 0.75rem;
    }
    
    .content-item h3 {
        font-size: 1.1rem;
    }
    
    .content-item ul {
        margin: 0.75rem 0;
        padding-left: 1.25rem;
    }
    
    .content-item p {
        font-size: 0.9rem;
    }
    
    .content-item li {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .content-item li::before {
        left: -1.25rem;
    }
    
    .contact-button, .linkedin-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: 80px;
        max-width: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .scroll-indicator {
        right: 0.5rem;
        height: 120px;
        width: 4px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    h1 {
        font-size: 4.5rem;
        white-space: normal;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .content {
        padding: 0.75rem;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .story-section {
        padding: 0.75rem;
    }
    
    .logo {
        max-width: 120px;
        margin: 0 auto 1.25rem auto;
    }
    
    .fundraising-info {
        font-size: 1.8rem;
        margin: 0 auto 1rem auto;
    }
    
    .contact-cta {
        font-size: 1.2rem;
        margin: 0 auto 1.25rem auto;
    }
    
    /* Hide chart on medium mobile devices too */
    .chart-container {
        display: none;
    }
    
    /* Hide chart section title on medium mobile */
    .story-section[data-section="3"] h2 {
        display: none;
    }
    
    .content-item {
        padding: 1rem;
    }
    
    .content-item h3 {
        font-size: 1.2rem;
    }
    
    .content-item ul {
        margin: 0.875rem 0;
        padding-left: 1.375rem;
    }
    
    .content-item p {
        font-size: 1rem;
    }
    
    .content-item li {
        font-size: 0.95rem;
        margin-bottom: 0.45rem;
    }
    
    .content-item li::before {
        left: -1.375rem;
    }
    
    .contact-button, .linkedin-button {
        padding: 0.8rem 1.4rem;
        font-size: 1rem;
        min-width: 90px;
        max-width: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .scroll-indicator {
        right: 0.75rem;
        height: 140px;
    }
}

@media (max-width: 768px) {
    /* Common mobile styles */
    .content {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .story-section {
        overflow-x: hidden;
    }
    
    /* Reset margins for mobile centering */
    .story-section[data-section="1"] .content,
    .story-section[data-section="2"] .content,
    .story-section[data-section="2b"] .content,
    .story-section[data-section="2c"] .content,
    .story-section[data-section="5"] .content {
        margin: 0 auto;
    }
    
    /* Hide chart section completely on mobile */
    .story-section[data-section="4"] {
        display: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 auto;
    }
    
    .content-item {
        margin: 0 auto;
    }
    
    .button-container {
        flex-direction: column;
        gap: 0.5rem;
        margin: 0 auto;
        align-items: center;
    }
    
    /* Ensure proper centering for all text elements */
    h1, h2, p, .hero-subtitle, .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        max-width: 95%;
        margin: 0.2rem auto;
    }
    
    /* Ensure buttons are properly centered */
    .contact-button, .pitch-deck-button {
        margin: 0.5rem auto;
        display: block;
    }
    
    /* Fix any potential overflow issues */
    body {
        overflow-x: hidden;
    }
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
