:root {
    --color-primary: #3B82F6;
    --color-cta: #2563EB;
    --color-text: #F3F4F6;
    --color-text-muted: #9CA3AF;
    --color-bg-dark: #020617;
    --color-bg-card: #0F172A;
    --font-heading: 'Inter', -apple-system, system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
}

/* Base & Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-cta);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Sections */
/* Pain Points */
.pain-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.pain-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.pain-card h3 {
    color: white;
}

.pain-card p {
    color: var(--color-text-muted);
}

/* Process */
.process-section {
    background: #000000;
    position: relative;
    padding: 60px 0;
    /* Reduced padding for mobile fit */
}

.process-step {
    opacity: 0;
    /* Hidden initially for GSAP */
    transform: translateY(20px);
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.process-step h3 {
    color: white;
}

.process-step p {
    color: var(--color-text-muted);
}

/* Testimonials */
.testimonial-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    color: var(--color-text);
    font-style: italic;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

/* Projects */
.project-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Plans */
.plan-card {
    background: var(--color-bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.plan-card h3 {
    color: white;
}

.plan-card p {
    color: var(--color-text-muted);
}

.plan-card li {
    color: var(--color-text);
}

.plan-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.plan-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 60px 0 30px;
}

footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

/* Header */
header {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-desktop a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-desktop a:hover {
    color: white;
}

.mobile-toggle {
    display: none;
    /* Hidden on desktop */
    color: white;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .process-visual {
        display: none;
    }

    /* Mobile Menu */
    .mobile-toggle {
        display: block;
    }

    .nav-desktop {
        display: none;
        /* Hidden initially on mobile, toggled by JS */
    }
}

/* Animation utilities */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #1E293B;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: white;
}