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

:root {
    --primary: #00c853;
    --primary-dark: #00a844;
    --secondary: #00e676;
    --dark: #0a1a0f;
    --darker: #050d08;
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.7);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #0d2818 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 200, 83, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 230, 118, 0.1) 0%, transparent 40%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards, bounce 2s ease-in-out 1.5s infinite;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 0 auto;
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Styles */
section {
    padding: 8rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--dark);
}

.section-gradient {
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

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

/* What We Do Section */
.what-we-do {
    text-align: center;
}

.what-we-do h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.what-we-do h2 span {
    color: var(--primary);
}

.what-we-do .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 200, 83, 0.15);
    border-color: rgba(0, 200, 83, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Philosophy Section */
.philosophy {
    text-align: center;
    position: relative;
}

.philosophy::before {
    content: '"';
    position: absolute;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15rem;
    color: rgba(0, 200, 83, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.philosophy blockquote {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy blockquote span {
    color: var(--primary);
    font-weight: 600;
}

.philosophy cite {
    display: block;
    margin-top: 2rem;
    font-style: normal;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.1) 0%, transparent 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-item h3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 10rem 2rem;
}

.contact h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.contact p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--darker);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.4);
}

/* Footer */
footer {
    background: var(--darker);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* Page Content (for terms/privacy pages) */
.page-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.page-hero .app-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--darker);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 3rem 0 1rem;
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-content ul {
    color: var(--text-muted);
    margin: 1rem 0 1rem 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content strong {
    color: var(--text);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: gap 0.2s;
}

.back-link:hover {
    gap: 0.75rem;
}

@media (max-width: 768px) {
    section {
        padding: 5rem 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
