:root {
    --primary-bg: #000000;
    --accent-color: #3DC269;
    --text-main: #FFFFFF;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.text-accent {
    color: var(--accent-color);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(61, 194, 105, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: transparent;
    /* Show canvas below */
}

#heroCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(61, 194, 105, 0.2);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3DC269;
    /* Brighter green for text */
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #3DC269;
    border-radius: 50%;
    box-shadow: 0 0 10px #3DC269;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Impact Section (Scroll Reveal) */
.impact-section {
    position: relative;
    background-color: transparent;
    /* Show canvas below */
    z-index: 10;
}

.sticky-wrapper {
    height: 250vh;
    /* Long scroll area to drive animation */
    position: relative;
}

.impact-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.impact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 194, 105, 0.4) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#impact-text-container {
    font-size: 5rem;
    max-width: 1200px;
    text-align: center;
    line-height: 1.1;
    color: #333;
    /* Dimmed initially */
    padding: 0 2rem;
    transition: transform 0.1s linear;
    /* Smooth scale */
}

/* Grouped words for phased reveal */
.impact-group {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0 0.5rem;
}

.impact-group.active {
    opacity: 1;
    transform: translateY(0);
    color: #fff;
}

.impact-group.group-3 {
    font-size: 1.5em;
    /* 1.5x bigger */
    font-weight: 800;
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    #impact-text-container {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    #impact-text-container {
        font-size: 2.5rem;
    }
}

/* Benefits Subsection */
.benefits-subsection {
    margin-bottom: 8rem;
    text-align: center;
}

.benefits-subsection h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(61, 194, 105, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(61, 194, 105, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(61, 194, 105, 0.2);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    min-height: 3.6rem;
    /* Reserve space for 2 lines */
    line-height: 1.2;
    display: flex;
    align-items: flex-start;
    /* Ensure text aligns to top */
}

.benefit-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-hub-subsection {
    text-align: center;
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Feature Hub Section */
.features {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 70%);
}

.more-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    text-align: center;
}

.more-feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon-glow {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(61, 194, 105, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.more-feature-item:hover .feature-icon-glow {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 0 25px rgba(61, 194, 105, 0.7));
}

.more-feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.more-feature-item p {
    font-size: 0.95rem;
    color: #999;
}

/* Connector lines - simplified approach with pseudo elements on center hub? 
   Actually, absolute positioning lines might be cleaner */

/* Conversion Section */
.conversion {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to top, #0a0a0a, #000000);
}

.conversion h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.conversion p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #111;
    padding: 3rem;
    border: 1px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: #222;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: #000000;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2e9652;
}

/* Responsive */
/* Responsive Design */

/* Tablet & Smaller Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .benefits-grid,
    .more-features-grid {
        gap: 1.5rem;
    }
}

/* Tablet (max-width: 900px) */
@media (max-width: 900px) {
    .hero {
        min-height: 500px;
        /* Allow shorter hero on tablet */
        height: auto;
        padding: 8rem 0;
        /* Add padding since it's no longer forced full height necessarily */
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for tablet */
    }

    .more-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    p {
        font-size: 1rem;
    }

    /* Stack everything on mobile */
    .benefits-grid,
    .more-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .status-indicator {
        margin-bottom: 1.5rem;
    }

    /* Adjust padding for sections */
    .features,
    .conversion {
        padding: 60px 0;
    }

    /* Modal adjustments */
    .modal {
        width: 95%;
        padding: 2rem 1.5rem;
    }

    .modal h3 {
        font-size: 1.5rem;
    }
}