:root {
    --primary: #22c55e; /* Vibrant Green */
    --primary-glow: rgba(34, 197, 94, 0.4);
    --primary-bg: #020617; /* Slate 950 - deeper than before */
    --secondary-bg: #0f172a; /* Slate 900 */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Animation */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.blob-1 { top: -20%; left: -10%; animation: float 25s infinite alternate ease-in-out; }
.blob-2 { bottom: -20%; right: -10%; animation: float 30s infinite alternate-reverse ease-in-out; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* Header & Nav */
header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(2, 6, 23, 0.7);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #22c55e, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button, .cta-button-small {
    background: var(--primary);
    color: #fff;
    padding: 1.1rem 2.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--primary-glow);
    border: 1px solid transparent;
}

.cta-button-small {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

.cta-button:hover, .cta-button-small:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--primary-glow);
    background: #16a34a;
}

.secondary-btn {
    background: var(--secondary-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

.secondary-btn:hover {
    background: var(--glass);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Features Grid */
section {
    padding: 8rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

/* Background Floating Emojis */
.floating-emojis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.05;
    filter: grayscale(1) brightness(1.2);
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
    color: transparent;
    user-select: none;
    pointer-events: none;
}

/* Hero Section Refinement */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: pulse-logo 4s infinite ease-in-out;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px var(--primary-glow)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 50px var(--primary-glow)); }
}

/* Features Section Redesign */
#features {
    padding: 8rem 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 2.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-card h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.feature-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card li {
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 400;
}

.feature-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--primary);
}

/* Footer Styling Fix */
footer {
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: #020617;
}

footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.footer-links a:hover {
    color: var(--primary);
    background: rgba(34, 197, 94, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3rem; }
    #features { padding: 6rem 1.5rem; }
    .footer-links { gap: 1.5rem; }
}

@media (max-width: 640px) {
    header { padding: 1rem 1.5rem; }
    .nav-link { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-logo { width: 100px; height: 100px; }
}
