/**
 * Digital Onboarding Product Page
 *
 * Professional enterprise-grade landing page
 * Modern SaaS design with clean aesthetics
 */

/* ========================================
   BASE & TYPOGRAPHY
======================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-light: #e2e8f0;
}

.product-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    color: var(--text-dark);
}

/* ========================================
   GRADIENT BACKGROUND
======================================== */

.product-gradient-bg {
    position: relative;
    background: var(--primary-gradient);
    overflow: hidden;
}

.product-gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 50%);
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, -30px) scale(1.05); }
    66% { transform: translate(30px, 30px) scale(0.95); }
}

/* ========================================
   NAVIGATION
======================================== */

.product-nav {
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
}

.product-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.product-nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.product-nav-link:hover {
    opacity: 1;
    color: white;
}

.product-nav-btn {
    background: white;
    color: var(--primary-color);
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

/* ========================================
   HERO SECTION
======================================== */

.product-hero {
    position: relative;
    z-index: 1;
    padding: 5rem 0 4rem;
    text-align: center;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.product-hero-subtitle {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.product-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.product-stat-item {
    text-align: center;
}

.product-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.product-stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   CTA BUTTONS
======================================== */

.product-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.product-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

.product-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   CONTENT SECTIONS
======================================== */

.product-section {
    background: white;
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

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

.product-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.product-section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   FEATURE CARDS
======================================== */

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

.product-feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-feature-card:hover::before {
    opacity: 1;
}

.product-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-feature-icon i {
    font-size: 1.75rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.product-feature-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ========================================
   PRICING CARD
======================================== */

.product-pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.product-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
}

.product-pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-pricing-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.product-pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.product-pricing-feature {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
}

.product-pricing-feature:last-child {
    border-bottom: none;
}

.product-pricing-feature i {
    color: #10b981;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.product-pricing-feature-text {
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* ========================================
   FAQ SECTION
======================================== */

.product-faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s;
}

.product-faq-item:hover {
    border-color: var(--primary-color);
}

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

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

.product-faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.product-faq-icon i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.product-faq-question[aria-expanded="true"] .product-faq-toggle {
    background: var(--primary-gradient);
    color: white;
    transform: rotate(180deg);
}

.product-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   TRUST SECTION
======================================== */

.product-trust-section {
    background: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.product-trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.product-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.product-trust-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ========================================
   FOOTER CTA
======================================== */

.product-footer-cta {
    background: var(--primary-gradient);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.product-footer-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-footer-cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1200px) {
    .product-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .product-hero-title {
        font-size: 3rem;
    }

    .product-hero-subtitle {
        font-size: 1.25rem;
    }

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

@media (max-width: 768px) {
    .product-hero {
        padding: 3rem 0 2rem;
    }

    .product-hero-title {
        font-size: 2.25rem;
    }

    .product-hero-subtitle {
        font-size: 1.125rem;
    }

    .product-stat-value {
        font-size: 2rem;
    }

    .product-section-title {
        font-size: 2rem;
    }

    .product-container {
        padding: 0 1rem;
    }

    .product-cta-primary,
    .product-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .product-nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .product-nav-btn {
        width: 100%;
        text-align: center;
    }

    .product-feature-card {
        padding: 2rem 1.5rem;
    }

    .product-pricing-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .product-hero-stats {
        gap: 2rem;
    }

    .product-stat-item {
        flex: 1 1 40%;
    }
}
