/* 1. Global Styles */
:root {
    --background-color: #111111;
    --primary-text-color: #cfcfcf;
    --secondary-text-color: #aeacac;
    --accent-color: #39FF14;
    --highlight-color: #FF0000;
}

body {
    background-color: var(--background-color);
    color: var(--primary-text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.mobile-break {
    display: none;
}

/* 2. Section 1: Hero (Full Viewport) */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-text-color);
    z-index: 10;
    margin: 0 20px;
}

.graph-svg {
    position: absolute;
    width: 80%;
    max-width: 800px;
    height: auto;
    z-index: 1;
}

.graph-path {
    stroke: var(--accent-color);
    stroke-width: 3px;
    fill: none;
    filter: drop-shadow(0 0 8px var(--accent-color));
    /* The total length of the path. This will be used for the animation. */
    /* This value might need adjustment if the path `d` attribute is changed. */
    stroke-dasharray: 990;
    stroke-dashoffset: 990;
    /* Animation: draw 3.7s, hold 3.5s = 7.2s total */
    animation: draw-graph 7.2s ease-in-out infinite;
}

@keyframes draw-graph {
    0% {
        stroke-dashoffset: 990; /* Start with the path hidden */
    }
    /* Animate drawing the curve (duration: 3.7 seconds) */
    /* 3.7s / 7.2s = ~51.4% */
    51.4% {
        stroke-dashoffset: 0; /* Finish drawing the path */
    }
    /* Hold (pause) for 3.5 seconds */
    100% {
        stroke-dashoffset: 0; /* Keep the path fully drawn */
    }
}


/* 3. Section 2: Statement (CTA) */
#statement {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.slogan {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary-text-color);
    margin: 0;
}

.launch-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary-text-color);
    margin: 0;
}

.contact-email {
    font-size: 0.5rem;
    color: var(--secondary-text-color);
    margin-top: 150px;
}

/* 4. Responsiveness (Mobile View) */
@media (max-width: 600px) {
    .headline {
        font-size: 2rem;
    }

    .graph-svg {
        width: 150%;
    }

    .mobile-break {
        display: block;
    }

    #statement {
        padding: 80px 20px;
    }
}
