/* Reset and Base Styles */
:root {
    --primary: #6366f1;
    --primary-light: #8b5cf6;
    --accent: #10b981;
    --accent-light: #34d399;
    --background: #fafafa;
    --surface: #ffffff;
    --cream-shade: #fef8e6; /* New cream shade for demo-placeholder */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px var(--shadow-hover);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 400;
}

@keyframes fadeInUp {
    0% {opacity: 0; transform: translateY(40px);}
    100% {opacity: 1; transform: translateY(0);}
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
    transform: scale(0);
    transition: transform 0.5s ease;
    border-radius: 16px;
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.4;
}

/* Demo Section */
.demo-section {
    background: var(--surface);
    padding: 80px 0;
    text-align: center;
}

.demo-section-title {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.demo-placeholder {
    max-width: 500px;
    margin: 0 auto;
    background: var(--cream-shade);
    border-radius: 20px;
    padding: 3rem 2rem 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border);
}

.demo-icon {
    font-size: 4rem;
    color: #f59e0b;
    margin-bottom: 0.5rem;
    animation: wiggle 2s infinite;
    user-select: none;
    line-height: 1;
}

.demo-sparkles {
    font-size: 2.2rem;
    color: #fbbf24;
    margin-bottom: 1.2rem;
    animation: sparkles 1.6s infinite alternate;
    line-height: 1;
    user-select: none;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg);}
    50% { transform: rotate(3deg);}
}

@keyframes sparkles {
    0% { transform: scale(1) rotate(-2deg); filter: brightness(1);}
    50% { transform: scale(1.1) rotate(0deg); filter: brightness(1.2);}
    100% { transform: scale(1.05) rotate(2deg); filter: brightness(1);}
}

.demo-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.demo-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        position: relative;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px var(--shadow);
        border-radius: 8px;
        margin-top: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .demo-placeholder {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .feature-card {
        padding: 1.5rem 1rem;
        min-height: 160px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .demo-placeholder {
        padding: 1.5rem 1rem;
    }

    .demo-title {
        font-size: 1.4rem;
    }

    .demo-desc {
        font-size: 0.9rem;
    }

    .contact-info h3 {
        font-size: 1.2rem;
    }

    .contact-info p {
        font-size: 0.85rem;
    }
}

/* Additional animations and micro-interactions */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.cta-button:focus,
.nav-links a:focus,
.logo:focus,
.contact-info a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* Keep everything as before ... */

.work-progress {
    font-weight: 600;
    color: #f59e0b; /* Amber/Orange */
    margin: 0.5rem 0;
}
.coming-soon {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff; /* White for visibility */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.work-progress {
    font-weight: 600;
    color: #f59e0b; /* Amber/Orange highlight */
    margin: 0.5rem 0 1rem;
}
