/* ===== Landing Page ===== */

.landing {
    --landing-max: 1100px;
}

.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #E5E7EB;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.landing-nav img {
    display: block;
    width: auto;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.landing-nav-links a {
    color: #4B5563;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.landing-nav-links a.btn-primary {
    color: white;
}

.landing-nav-links a.btn-outline {
    color: var(--primary);
}

.landing-burger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #374151;
}

.landing-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
}

.landing-mobile-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}

/* --- Hero --- */
.landing-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #EEF2FF 0%, #F5F3FF 40%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative bg circles */
.landing-hero::before,
.landing-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.landing-hero::before {
    width: 500px;
    height: 500px;
    background: #4F46E5;
    top: -200px;
    right: -100px;
}

.landing-hero::after {
    width: 400px;
    height: 400px;
    background: #6366F1;
    bottom: -150px;
    left: -100px;
}

.landing-hero .landing-container {
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1E1B4B;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.landing-hero-sub {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.landing-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.landing-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    background: white;
    border-radius: 16px;
    padding: 24px 40px;
    box-shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
    display: inline-flex;
}

.landing-hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landing-hero-stats strong {
    font-size: 1.1rem;
    color: #4F46E5;
}

.landing-hero-stats span {
    font-size: 0.85rem;
    color: #9CA3AF;
}

/* --- What is it --- */
.landing-what {
    padding: 80px 0;
    background: white;
}

.landing-what h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E1B4B;
    text-align: center;
    margin: 0 0 20px;
}

.landing-what-text {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4B5563;
}

.landing-what-text strong {
    color: #1E1B4B;
}

.landing-usecases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.landing-usecase {
    text-align: center;
    padding: 28px 16px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #FAFBFF;
    transition: box-shadow 0.2s, transform 0.2s;
}

.landing-usecase:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.08);
    transform: translateY(-2px);
}

.landing-usecase-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.landing-usecase h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1E1B4B;
    margin: 0 0 6px;
}

.landing-usecase p {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .landing-usecases {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* --- Features --- */
.landing-features {
    padding: 80px 0;
    background: #FAFBFF;
}

.landing-features h2,
.landing-how h2,
.landing-pricing h2,
.landing-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E1B4B;
    text-align: center;
    margin: 0 0 12px;
}

.landing-section-sub {
    text-align: center;
    color: #6B7280;
    font-size: 1.1rem;
    margin: 0 0 48px;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.landing-feature-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px 24px;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.landing-feature-card:hover {
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
    border-color: #C7D2FE;
}

.landing-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.landing-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1E1B4B;
    margin: 0 0 8px;
}

.landing-feature-card p {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* --- How it works --- */
.landing-how {
    padding: 80px 0;
    background: white;
}

.landing-steps {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

/* Connector line between steps */
.landing-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 2px;
    background: linear-gradient(90deg, #C7D2FE, #4F46E5, #C7D2FE);
    z-index: 0;
}

.landing-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.landing-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.landing-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1B4B;
    margin: 0 0 8px;
}

.landing-step p {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* --- Pricing --- */
.landing-pricing {
    padding: 80px 0;
    background: #F9FAFB;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.landing-price-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.landing-price-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.landing-price-card.featured {
    border-color: #4F46E5;
    background: linear-gradient(180deg, #FAFBFF 0%, white 100%);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
    transform: scale(1.03);
}

.landing-price-card.featured:hover {
    transform: scale(1.03) translateY(-2px);
}

.landing-price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-price-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1B4B;
    margin: 0 0 12px;
}

.landing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1E1B4B;
    margin-bottom: 24px;
}

.landing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6B7280;
}

.landing-price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.landing-price-card li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #4B5563;
    border-bottom: 1px solid #F3F4F6;
}

.landing-price-card li:last-child {
    border-bottom: none;
}

.landing-price-card li::before {
    content: "\2713 ";
    color: #4F46E5;
    font-weight: 700;
    margin-right: 8px;
}

.landing-price-card .btn-outline {
    background: #4F46E5;
    color: white;
    border-color: #4F46E5;
}

.landing-price-card .btn-outline:hover {
    background: #4338CA;
    border-color: #4338CA;
}

.landing-price-card .btn-primary {
    background: #4F46E5;
    color: white;
    border-color: #4F46E5;
    font-weight: 600;
}

.landing-price-card .btn-primary:hover {
    background: #4338CA;
    border-color: #4338CA;
}

.landing-price-card.featured .btn-primary {
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: all 0.2s;
}

.landing-price-card.featured .btn-primary:hover {
    background: linear-gradient(135deg, #4338CA, #4F46E5);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* --- CTA --- */
.landing-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #312E81 0%, #4F46E5 50%, #6366F1 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.landing-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -100px;
    right: -50px;
}

.landing-cta .landing-container {
    position: relative;
    z-index: 1;
}

.landing-cta h2 {
    color: white;
    margin-bottom: 12px;
}

.landing-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0 0 32px;
}

.landing-cta .btn-primary {
    background: white;
    color: #4F46E5;
    font-weight: 600;
    padding: 14px 36px;
    font-size: 1.05rem;
}

.landing-cta .btn-primary:hover {
    background: #EEF2FF;
}

/* --- Footer --- */
.landing-footer {
    padding: 48px 0 24px;
    background: #1E1B4B;
    color: #CBD5E1;
}

.landing-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer-content p {
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: #CBD5E1;
}

.landing-footer-links {
    display: flex;
    gap: 24px;
}

.landing-footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.landing-footer-links a:hover {
    color: white;
}

.landing-footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 0.85rem;
}

/* --- Contact Page --- */
.contact-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E1B4B;
    margin: 0 0 16px;
}

.contact-info > p {
    font-size: 1.05rem;
    color: #6B7280;
    line-height: 1.7;
    margin: 0 0 32px;
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail strong {
    display: block;
    color: #1E1B4B;
    margin-bottom: 4px;
}

.contact-detail p {
    color: #6B7280;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(79, 70, 229, 0.06);
}

.contact-form-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1E1B4B;
    margin: 0 0 24px;
}

.contact-success {
    text-align: center;
    padding: 60px 36px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- Legal Pages --- */
.legal-page {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}
.legal-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1E1B4B;
    margin: 0 0 8px;
}
.legal-updated {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin: 0 0 32px;
}
.legal-page h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E1B4B;
    margin: 32px 0 12px;
}
.legal-page p, .legal-page li {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.7;
    margin: 0 0 12px;
}
.legal-page ul {
    padding-left: 24px;
    margin: 0 0 16px;
}
.legal-page a {
    color: #4F46E5;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #4F46E5;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99;
}

.back-to-top:hover {
    background: #4338CA;
    transform: translateY(-2px);
}

.back-to-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .landing-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-price-card.featured {
        transform: scale(1);
    }

    .landing-price-card.featured:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .landing-nav-links {
        display: none;
    }

    .landing-burger {
        display: block;
    }

    .landing-mobile-menu {
        display: flex;
    }

    .landing-hero {
        padding: 120px 0 60px;
    }

    .landing-hero h1 {
        font-size: 2.2rem;
    }

    .landing-hero-sub {
        font-size: 1rem;
    }

    .landing-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .landing-hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
    }

    .landing-features-grid {
        grid-template-columns: 1fr;
    }

    .landing-steps {
        flex-direction: column;
    }

    .landing-steps::before {
        display: none;
    }

    .landing-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .landing-footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}
