
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn--primary {
    background: #4F46E5;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.btn--primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(79, 70, 229, 0.4);
}

.btn--secondary {
    background: transparent;
    color: #4F46E5;
    border-color: #4F46E5;
}

.btn--secondary:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-2px);
}

.btn__icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: #6B7280;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #4F46E5;
}

.nav__link:not(.nav__cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #4F46E5;
    transition: width 0.3s ease;
}

.nav__link:not(.nav__cta):hover::after {
    width: 100%;
}

.nav__cta {
    background: #4F46E5;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav__cta:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav__toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 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(79, 70, 229, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero__badge-icon {
    width: 1rem;
    height: 1rem;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero__description {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__mockup {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.mockup__header {
    background: #F3F4F6;
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.mockup__dots {
    display: flex;
    gap: 0.5rem;
}

.mockup__dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #D1D5DB;
}

.mockup__dots span:first-child {
    background: #EF4444;
}

.mockup__dots span:nth-child(2) {
    background: #F59E0B;
}

.mockup__dots span:nth-child(3) {
    background: #10B981;
}

.mockup__body {
    padding: 2rem;
    height: 300px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    position: relative;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.chart-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.2) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.2) 75%);
    background-size: 20px 20px;
    border-radius: 0.25rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section__description {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature__card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature__card:hover::before {
    transform: scaleX(1);
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature__icon {
    width: 3rem;
    height: 3rem;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #4F46E5;
    stroke-width: 2;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature__description {
    color: #6B7280;
    line-height: 1.6;
}

/* Product Section */
.product {
    padding: 6rem 0;
    background: #F8FAFC;
}

.product__showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.product__item--reverse {
    direction: rtl;
}

.product__item--reverse > * {
    direction: ltr;
}

.product__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.product__description {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product__features {
    list-style: none;
}

.product__features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.product__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4F46E5;
    font-weight: bold;
}

.product__image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item:hover {
    border-color: #4F46E5;
}

.faq__question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq__question:hover {
    background: #F8FAFC;
}

.faq__question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

.faq__icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.faq__icon svg {
    width: 100%;
    height: 100%;
    color: #4F46E5;
    stroke-width: 2;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #F8FAFC;
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq__answer p {
    color: #6B7280;
    line-height: 1.6;
    padding-top: 0.5rem;
}

/* Footer CTA */
.footer-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta__description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-cta .btn--primary {
    background: #4F46E5;
    color: white;
}

.footer-cta .btn--primary:hover {
    background: #4338CA;
}

/* Footer */
.footer {
    background: #1E293B;
    color: white;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__brand .brand-logo {
    color: white;
    margin-bottom: 1rem;
}

.footer__description {
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer__email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__email:hover {
    color: #4F46E5;
}

.footer__email svg {
    width: 1rem;
    height: 1rem;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #4F46E5;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer__copyright {
    color: #94A3B8;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav__menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .section__title {
        font-size: 2rem;
    }

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

    .product__item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .product__item--reverse {
        direction: ltr;
    }

    .cta__title {
        font-size: 2rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer__legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
