:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #eef2ff;
    --secondary: #8b5cf6;
    --dark: #0f172a;
    --light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --container-max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
}

.btn-secondary:hover {
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.full-width {
    width: 100%;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    color: var(--primary);
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, var(--primary-light), transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-social p {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.company-logos {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.company-logos i {
    width: 24px;
    height: 24px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.1), transparent);
}

/* Section Common */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-main);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: var(--dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.pricing-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
}

.period {
    color: var(--text-muted);
}

.pricing-header p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-features {
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pricing-features i {
    color: #10b981;
    width: 20px;
    height: 20px;
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.cta-banner h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background-color: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #94a3b8;
}

.social-links a:hover {
    color: var(--white);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .company-logos {
        justify-content: center;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        display: none;
        z-index: 1000;
        gap: 2.5rem;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease-out forwards;
    }

    header.active {
        backdrop-filter: none;
        background-color: #ffffff;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--dark);
        cursor: pointer;
        position: relative;
        z-index: 1100;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn .close-icon {
        display: none;
    }

    .mobile-menu-btn.active .menu-icon {
        display: none;
    }

    .mobile-menu-btn.active .close-icon {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-banner h2 {
        font-size: 2.25rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
