:root {
    --primary: #00A859;
    --primary-glow: rgba(0, 168, 89, 0.15);
    --secondary: #10B981;
    --accent: #34D399;
    --bg-light: #FFFFFF;
    --bg-section: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-dark: #0F172A; /* Defined for dark elements if needed */
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

main {
    position: relative;
    z-index: 1;
}

/* Background Effects */
#canvas-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* Overlay above all content */
    pointer-events: none;
}

.lighting-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--primary-glow) 0%, transparent 60%);
    z-index: 9998; /* Overlay just below particles */
    opacity: 0.8; /* Restore slight glow strength */
    pointer-events: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0; /* Reduced from 10rem for better flow */
    position: relative;
    overflow: hidden;
    background: transparent; /* Allow particles to show through */
}

section:nth-child(even) {
    background-color: var(--bg-section);
}

/* Glassmorphism / Modern Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 1rem;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 168, 89, 0.2);
}

.btn-primary:hover {
    background: var(--accent);
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 240, 100, 0.3);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

input, textarea, select {
    width: 100%;
    padding: 1.1rem;
    background: #F1F5F9;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 168, 89, 0.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 12rem 0 10rem;
    background: radial-gradient(circle at top right, rgba(0, 168, 89, 0.05) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(52, 211, 153, 0.05) 0%, transparent 40%);
}

/* Video Wrapper */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--glass-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 10rem 0 8rem; /* Reduced padding */
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--bg-light) 100%), 
                linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('./hero_bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 80px 80px;
    margin-bottom: 6rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.hero h1 {
    color: var(--text-dark);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3.5rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

/* Footer */
footer {
    margin-top: 6rem;
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 5rem;
        border-radius: 0 0 40px 40px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}
