﻿
:root {
    --primary: #4f46e5;
    --secondary: #6366f1;
    --text: #1f2937;
    --light-text: #6b7280;
    --bg: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    .header.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .logo::before {
        content: "📊";
        font-size: 1.5rem;
    }

.login-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    }

/* Main content offset for fixed header */
.main-content {
    margin-top: 80px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 6rem 1rem 4rem;
    background: var(--gradient);
    color: white;
    border-radius: 0 0 50px 50px;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="25" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.hero h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 0.8s ease 0.2s forwards;
}

.hero p {
    font-size: 1.1rem;
    margin: 0 auto 2rem;
    opacity: 0.9;
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: slideUp 0.8s ease 0.6s forwards;
}

    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    }

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Features */
.features {
    padding: 5rem 1rem;
    text-align: center;
}

    .features h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 3rem;
        position: relative;
    }

        .features h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient);
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    }

    .feature-card h3 {
        margin: 0.5rem 0 1rem;
        font-size: 1.3rem;
        color: var(--primary);
    }

    .feature-card p {
        color: var(--light-text);
        line-height: 1.6;
    }

.comparison-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

    .comparison-link:hover {
        color: var(--secondary);
        text-decoration: underline;
        transform: translateX(5px);
    }

.quality-btn {
    background: var(--gradient) !important;
    color: white !important;
    margin-top: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(99, 102, 241, 0.5);
    }

    100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    }
}

/* Pricing */
.pricing {
    padding: 5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

    .pricing h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 3rem;
        position: relative;
    }

        .pricing h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .pricing-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient);
    }

    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    }

.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

    .featured::after {
        content: 'POPULAR';
        position: absolute;
        top: 20px;
        right: -30px;
        background: var(--primary);
        color: white;
        padding: 5px 40px;
        font-size: 0.8rem;
        font-weight: 600;
        transform: rotate(45deg);
    }

.plan-name {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.plan-pages {
    margin: 1rem 0 2rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

.plan-btn {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    width: 100%;
    font-size: 1rem;
}

    .plan-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    }

/* FAQ */
.faq {
    padding: 5rem 1rem;
    max-width: 800px;
    margin: auto;
}

    .faq h2 {
        text-align: center;
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 3rem;
        position: relative;
    }

        .faq h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-header {
    cursor: pointer;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s ease;
}

    .accordion-header:hover {
        background: #f8fafc;
    }

    .accordion-header span {
        transition: transform 0.3s ease;
        font-size: 1.2rem;
    }

    .accordion-header.active span {
        transform: rotate(45deg);
    }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--light-text);
    background: #f8fafc;
}

    .accordion-content.active {
        max-height: 200px;
        padding: 1.5rem;
    }

/* Contact */
.contactus {
    padding: 5rem 1rem;
    max-width: 800px;
    margin: auto;
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

    .contactus h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .contactus p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--light-text);
    }

    .contactus a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .contactus a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 1rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

    .footer-links a {
        color: #d1d5db;
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: white;
        }

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 1rem 3rem;
        border-radius: 0 0 30px 30px;
    }

    .feature-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .featured {
        transform: none;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }
