/* PageInteract SaaS - Landing Page Styles (Clean Light Theme) */

:root {
    --bg-base: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-opaque: #ffffff;
    --border-color: rgba(99, 102, 241, 0.1);
    --border-color-strong: rgba(99, 102, 241, 0.2);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --shadow-sm: 0 4px 12px rgba(99, 102, 241, 0.03);
    --shadow-md: 0 12px 36px rgba(99, 102, 241, 0.06);
    --shadow-lg: 0 24px 60px rgba(99, 102, 241, 0.1);
}

.landing-body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
}
.logo-container span {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: var(--primary);
}

/* Hamburger mobile navbar toggle */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}
.mobile-menu.open {
    display: flex;
}

.mobile-menu .nav-link {
    font-size: 1.25rem;
}

/* Sections Base */
.landing-section {
    padding: 6rem 2rem;
    position: relative;
}

/* Hero Section */
.hero-section {
    padding: 10rem 2rem 6rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.08) 0%, rgba(248, 250, 252, 0) 60%);
}

.hero-badge {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 9999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}
.hero-title span {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

/* Mockup Frame */
.mockup-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.5s ease;
}
.mockup-wrapper:hover {
    transform: translateY(-5px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}
.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Integration showcase */
.partner-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
}
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.65;
}
.partner-logo {
    height: 32px;
    filter: grayscale(1);
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logo:hover {
    filter: none;
    opacity: 1;
}

/* Testimonials card section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
}
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

/* Pricing Grid */
.pricing-section {
    background: radial-gradient(circle at bottom, rgba(168, 85, 247, 0.04) 0%, rgba(248, 250, 252, 0) 50%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3.5rem auto 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}
.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}
.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-grad);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.pricing-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.pricing-card.featured .pricing-title {
    color: var(--primary);
}

.price-val {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    margin: 1.5rem 0 1rem 0;
    line-height: 1;
}
.price-val span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin: 2.25rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.pricing-features li svg {
    flex-shrink: 0;
}

/* FAQ Section Accordions */
.faq-container {
    max-width: 800px;
    margin: 3.5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active {
    border-color: var(--border-color-strong);
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}
.faq-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* CTA Banner Card */
.cta-banner {
    max-width: 1100px;
    margin: 4rem auto;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 24px;
    padding: 4.5rem 2rem;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Footer Grid layout override */
.footer-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2.5rem 2rem;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile Responsiveness media queries */
@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger-btn { display: flex; }
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1rem; }
    .cta-group { flex-direction: column; width: 100%; gap: 1rem; }
    .cta-group a { width: 100%; text-align: center; }
    .mockup-wrapper { border-radius: 8px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
