body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    color: #333;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Ctext x='50' y='50' font-family='serif' font-size='20' fill='%234a4a4a'>∫₀ⁿ x² dx</text%3E%3Ctext x='250' y='100' font-family='serif' font-size='24' fill='%234a4a4a'>lim ₓ→∞ 1/x = 0</text%3E%3Ctext x='100' y='200' font-family='serif' font-size='22' fill='%234a4a4a'>∑ᵢ₌₁ⁿ iⁿ</text%3E%3Ctext x='200' y='300' font-family='serif' font-size='26' fill='%234a4a4a'>∂f/∂x</text%3E%3C/svg%3E"),
        repeating-linear-gradient(0deg, transparent, transparent 29px, #c0c0c0 29px, #c0c0c0 30px),
        repeating-linear-gradient(90deg, transparent, transparent 29px, #c0c0c0 29px, #c0c0c0 30px);
    background-size: 400px 400px, 30px 30px, 30px 30px;
    opacity: 0.3;
    z-index: -1;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.bg-shape {
    position: absolute;
    z-index: -1;
}

.bg-shape-1 {
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(30px);
}

.bg-shape-2 {
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(50px);
}

.container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    min-height: 100vh;
    flex: 1 0 auto;
}

header {
    background-color: #222;
    padding: 15px 40px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: rotate(90deg);
}

.logo span {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

h1 {
    position: relative;
    display: inline;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.4;
    z-index: 1;
}

h1::before {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    top: 0;
    bottom: 0;
    background-color: #ffff00;
    opacity: 0.5;
    transform: skew(-5deg);
    z-index: -1;
}

.subtitle {
    font-size: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #bbb;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 100px; /* Adds space above the features section */
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card svg {
    fill: none;
    stroke: #00C853; /* Vibrant green */
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    color: #00C853; /* Vibrant green */
    margin-top: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.cta-button {
    display: block;
    margin: 0 auto;
    background-color: #4a4aff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #3a3aff;
    transform: translateY(-2px);
}

.demo {
    margin-top: 100px;
    text-align: center;
}

.demo h2 {
    font-size: 34px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 20px;
}

footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}

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

    h1 {
        font-size: 36px;
    }

    header {
        padding: 15px 20px;
    }

    .logo svg {
        width: 32px;
        height: 32px;
    }

    .logo span {
        font-size: 24px;
    }
}

.intro {
    height: 80vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.intro h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.2;
}

.intro .subtitle {
    font-size: 22px;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
}

.cta-button {
    font-size: 20px;
    padding: 15px 30px;
    background-color: #4a4aff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #3a3aff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .intro {
        height: 70vh;
    }

    .intro h1 {
        font-size: 40px;
    }

    .intro .subtitle {
        font-size: 18px;
    }

    .cta-button {
        font-size: 18px;
        padding: 12px 24px;
    }
}

.primary-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #00C853; /* Vibrant green */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-button:hover {
    background-color: #00A041; /* Darker green for hover state */
}