:root {
    --color-primary: #2E7D32;
    --color-primary-light: #4CAF50;
    --color-primary-dark: #1B5E20;
    --color-gray: #424242;
    --color-gray-light: #F5F5F5;
    --color-white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-gray);
    overflow-x: hidden;
    background: linear-gradient(-45deg, #f9f9f7, #f0f7f0, #e6f2e6, #e1f0e1);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    z-index: 1;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    /* Adjust for more/less visibility */
    background: url('data:image/svg+xml;utf8,<svg width="34.64" height="60" viewBox="0 0 34.64 60" xmlns="http://www.w3.org/2000/svg"><path d="M17.32,0 L34.64,10 L34.64,30 L17.32,40 L0,30 L0,10 Z" stroke="%238BC34A" fill="none" stroke-width="0.5"/></svg>');
    background-repeat: repeat;
    background-size: 60px 60px;
    /* Adjust for pattern scale */
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('images/mantis-baseball.jpg') center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    margin-top: -70px;
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Floating SVG shapes in hero */
.floating-shapes {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    opacity: 0.7;
    animation: floatBlob 12s ease-in-out infinite;
}

.blob1 {
    left: 10vw;
    top: 10vh;
    width: 180px;
    height: 180px;
    animation-delay: 0s;
}

.blob2 {
    right: 15vw;
    top: 20vh;
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

.blob3 {
    left: 50vw;
    bottom: 10vh;
    width: 140px;
    height: 140px;
    animation-delay: 4s;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-primary);
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    padding: 30px;
    background: var(--color-gray-light);
    border-radius: 10px;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkmark {
    color: var(--color-primary);
    font-size: 24px;
}

/* Product Preview */
.product-preview {
    text-align: center;
}

.product-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: var(--transition);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    padding: 30px;
    background: var(--color-gray-light);
    border-radius: 10px;
    text-align: center;
}

.testimonial cite {
    display: block;
    margin-top: 20px;
    font-weight: 500;
    color: var(--color-primary);
}

/* Pricing */
.pricing-box {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #e1f0e1 60%, #90ff71 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44, 167, 80, 0.12);
    border: 2px solid #2E7D32;
    position: relative;
}

.pricing-box .cta-button {
    margin-top: 28px;
}

.pricing-box h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--color-gray);
    color: var(--color-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--color-white);
    text-decoration: none;
    margin-right: 20px;
}

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

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.15rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.cta-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--color-gray);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-gray);
    transition: var(--transition);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Glassmorphism for cards */
.feature,
.testimonial,
.step,
.pricing-box {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced button hover */
.cta-button {
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    box-shadow: 0 2px 8px rgba(44, 167, 80, 0.15);
}

.cta-button:hover {
    background: linear-gradient(90deg, #2E7D32 0%, #90ff71 100%);
    color: #fff;
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 6px 24px rgba(44, 167, 80, 0.25);
}

/* Card hover effect */
.feature:hover,
.testimonial:hover,
.step:hover,
.pricing-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(44, 167, 80, 0.18);
}

.reaction-timer-image-section {
    padding: 40px 0 40px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.reaction-timer-image {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44, 167, 80, 0.12);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* About Section */
.about-box {
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    transition: var(--transition);
}

.about-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(44, 167, 80, 0.18);
}
