/* app-install-ads.css - Premium version matching design system */
:root {
    --section-padding: 4rem;
    --hero-title-size: 3rem;
    --hero-subtitle-size: 1rem;
    --card-padding: 2rem;
    --font-size-base: 1rem;
    --app-purple: #8b5cf6;
    --app-gradient: linear-gradient(135deg, #8b5cf6, #6366f1, #3b82f6);
}

/* ===== Hero Section ===== */
.hero-premium {
    background: #f9fafc;
    position: relative;
    overflow: hidden;
    padding: calc(8rem + 2.5rem) 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
    z-index: 1;
}

.hero-premium .service-hero-title,
.hero-premium .service-hero-subtitle,
.hero-premium .hero-bullets li,
.hero-premium .hero-note {
    color: #1e293b;
}

.hero-premium .hero-bullets li i {
    color: var(--app-purple);
}

.hero-premium .badge-cognitive {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.hero-premium .badge-cognitive i {
    color: var(--app-purple);
}

.hero-premium .gradient-text {
    background: var(--app-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(139,92,246,0.03) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 3;
}

.hero-premium .container {
    position: relative;
    z-index: 10;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-hero-content {
    max-width: 600px;
}

.hero-badges {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.badge-cognitive {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.service-hero-title {
    font-size: var(--hero-title-size);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.service-hero-subtitle {
    font-size: var(--hero-subtitle-size);
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-hero {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.hero-note {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* App Install Mockup */
.app-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f2f5;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.app-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
}

.app-info {
    flex: 1;
}

.app-info strong {
    display: block;
    font-size: 1rem;
    color: #0b1437;
}

.app-info span {
    font-size: 0.75rem;
    color: #64748b;
}

.app-install-btn {
    background: var(--app-purple);
    color: white;
    border: none;
    border-radius: 1.5rem;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.app-install-btn:hover {
    background: #7c3aed;
    transform: scale(1.05);
}

.app-screenshots {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.app-screenshots img {
    width: calc(33.33% - 0.33rem);
    height: 100px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #fbbf24;
    font-size: 0.8rem;
}

.app-rating span {
    color: #64748b;
}

.metrics-badge {
    display: flex;
    justify-content: space-around;
    padding-top: 0.75rem;
    border-top: 1px solid #e8eaed;
    font-size: 0.8rem;
    color: #1e293b;
}

.metrics-badge i {
    color: var(--app-purple);
    margin-right: 0.25rem;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ===== Trust Logos ===== */
.trust-logos {
    padding: 3rem 0;
    background: #f8fafc;
}

.trust-label {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.logo-item {
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    filter: grayscale(100%);
    text-align: center;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.logo-item img {
    max-width: 100%;
    max-height: 4rem;
    object-fit: contain;
}

/* ===== Compact Form Section ===== */
.form-section-compact {
    background: #ffffff;
    padding: 3rem 0;
}

.form-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.form-content-compact {
    padding-right: 1rem;
}

.form-content-compact .section-title {
    font-size: 2rem !important;
}

.form-content-compact .section-subtitle {
    font-size: 1rem !important;
}

.form-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.form-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #1e293b;
}

.form-benefits i {
    font-size: 1.5rem;
    width: 2rem;
    text-align: center;
}

.form-testimonial {
    background: #f1f5f9;
    border-left: 4px solid var(--app-purple);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
}

.form-testimonial p {
    font-style: italic;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--app-purple);
    font-size: 0.85rem;
}

.form-container-compact {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.premium-form-compact {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.premium-form-compact .form-group {
    margin-bottom: 1rem;
    position: relative;
}

.input-icon-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    z-index: 2;
}

.premium-form-compact .form-control {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
    color: #1e293b;
}

.premium-form-compact .form-control:focus {
    outline: none;
    border-color: var(--app-purple);
    box-shadow: 0 0 0 4px rgba(139,92,246,0.1);
}

.premium-form-compact .form-control:focus + .input-icon {
    color: var(--app-purple);
}

.premium-form-compact textarea.form-control {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    resize: vertical;
    min-height: 70px;
}

.premium-form-compact .character-counter {
    position: absolute;
    right: 0.75rem;
    bottom: 0.3rem;
    font-size: 0.65rem;
    color: #94a3b8;
}

.premium-form-compact .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.premium-form-compact .checkbox-group label {
    font-size: 0.75rem;
    color: #475569;
}

.premium-form-compact .checkbox-group a {
    color: var(--app-purple);
    text-decoration: none;
}

.premium-form-compact .checkbox-group a:hover {
    text-decoration: underline;
}

.premium-form-compact .btn-primary {
    background: var(--app-purple);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.9rem;
}

.premium-form-compact .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -8px rgba(139,92,246,0.5);
}

.premium-form-compact .form-error {
    color: #ef4444;
    font-size: 0.65rem;
    margin-top: 0.2rem;
    padding-left: 2.2rem;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(139,92,246,0.15);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.feature-content {
    padding: var(--card-padding);
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0b1437;
}

.feature-content p {
    color: #475569;
    line-height: 1.6;
}

/* ===== Industries Compact Grid ===== */
.industries-compact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.industry-compact-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 3rem;
    padding: 0.6rem 1rem;
    font-weight: 500;
    color: #1e293b;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    cursor: default;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.industry-tick {
    color: #10b981;
    font-size: 1.1rem;
    filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.3));
    transition: transform 0.2s;
}

.industry-compact-item:hover .industry-tick {
    transform: scale(1.2);
}

.industry-compact-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px -8px rgba(139,92,246,0.2);
    border-color: var(--app-purple);
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

/* ===== Expertise Tabs ===== */
.expertise-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.tab-link {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tab-link:hover {
    color: var(--app-purple);
}

.tab-link.active {
    color: var(--app-purple);
    border-bottom-color: var(--app-purple);
}

.tab-content {
    display: none;
    padding: 2rem;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.tab-content.active {
    display: block;
}

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.8rem;
    color: #0b1437;
    margin-bottom: 1rem;
}

.tab-text p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tab-text ul {
    list-style: none;
    padding: 0;
}

.tab-text ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.tab-text ul li i {
    color: #10b981;
    font-size: 1.2rem;
}

.tab-visual img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}

/* ===== Process Timeline ===== */
.process-timeline {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-20px);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s, transform 0.6s;
}

.step-number {
    width: 3rem;
    height: 3rem;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #0b1437;
}

.step-content p {
    color: #475569;
    line-height: 1.6;
}

/* ===== Reviews Marquee ===== */
.reviews-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin: 2rem 0;
}

.reviews-track {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.review-marquee-card {
    background: white;
    border-radius: 2rem;
    padding: 1.5rem 2rem;
    margin-right: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    display: inline-block;
    width: 320px;
    white-space: normal;
    vertical-align: top;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-marquee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(139,92,246,0.15);
}

.review-marquee-card .stars i {
    color: #fbbf24;
    margin-right: 0.25rem;
}

.review-marquee-card p {
    font-size: 0.95rem;
    color: #1e293b;
    margin: 0.5rem 0;
}

.review-marquee-card .client-info {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Pricing Section ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 60rem;
    margin: 2rem auto;
}

.pricing-card {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px -12px rgba(139,92,246,0.2);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--app-gradient);
    color: white;
    padding: 0.3rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #0b1437;
}

.pricing-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--app-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-period {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
}

.pricing-features i {
    font-size: 1.2rem;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--app-purple);
    color: var(--app-purple);
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-primary:hover {
    background: var(--app-purple);
    color: white;
}

.pricing-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ===== FAQ Accordion ===== */
.faq-grid {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(139,92,246,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.125rem;
    margin: 0;
    color: #0b1437;
    font-weight: 600;
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s;
    color: var(--app-purple);
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8fafc;
    padding: 0 1.5rem;
}

.faq-answer p {
    padding: 1.5rem 0;
    margin: 0;
    color: #475569;
    border-top: 1px solid #e2e8f0;
}

/* ===== CTA Section – Premium White Gradient ===== */
.cta-premium {
    background: linear-gradient(135deg, #ffffff 0%, #f2f5fa 100%);
    color: #1e293b;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 20px 40px -15px rgba(0,0,0,0.1);
}

.cta-premium .cta-title {
    color: #0b1437;
}

.cta-premium .cta-description {
    color: #475569;
}

.cta-premium .btn-primary {
    background: var(--app-purple);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    box-shadow: 0 15px 25px -8px rgba(139,92,246,0.4);
}

.cta-premium .btn-primary:hover {
    background: #7c3aed;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-image img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== Fade-in Animation ===== */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .service-hero-title {
        font-size: 2.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-compact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .service-hero-grid,
    .form-grid-compact,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-bullets {
        justify-content: center;
    }
    .hero-ctas {
        justify-content: center;
    }
    .service-hero-mockup {
        order: -1;
    }
    .form-content-compact {
        padding-right: 0;
        text-align: center;
    }
    .form-benefits {
        display: inline-block;
        text-align: left;
    }
    .form-testimonial {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .tab-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tab-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .service-hero-title {
        font-size: 2rem;
    }
    .hero-bullets {
        flex-direction: column;
        align-items: center;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-compact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .industry-compact-item {
        padding: 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tab-nav {
        gap: 0.25rem;
    }
    .tab-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .app-screenshots img {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .industries-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .premium-form-compact {
        padding: 1.2rem;
    }
}