/* ============================================
   PREMIUM SECTIONS STYLESHEET
   High-quality B2B/B2C design components
   Inspired by Mercedes, Tesla, Apple
   ============================================ */

/* ============================================
   HERO PREMIUM ENHANCEMENTS
   ============================================ */

.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-float-3 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    animation: float-slow 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float-slow {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-30px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(10px);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
    position: relative;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-trust {
    margin-top: 3rem;
    text-align: center;
}

.hero-trust-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.trust-logo:hover {
    opacity: 1;
    color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.scroll-indicator svg {
    animation: bounce-down 2s ease-in-out infinite;
    color: var(--primary);
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   VALUE PROPOSITION SECTION
   ============================================ */

.value-proposition {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SERVICE TABS
   ============================================ */

.service-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0 2rem;
    position: relative;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-tab:hover {
    color: var(--primary);
}

.service-tab.active {
    color: white;
}

.service-tab-indicator {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    height: calc(100% - 1rem);
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.service-tab svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   SERVICE PANELS
   ============================================ */

.service-panels {
    position: relative;
    margin-top: 3rem;
}

.service-panel {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.service-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .service-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   SERVICE SHOWCASE (Mock UI)
   ============================================ */

.service-showcase {
    position: relative;
    padding: 2rem;
}

.showcase-screen {
    background: white;
    border-radius: var(--radius-container);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.showcase-header {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.showcase-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
}

.showcase-dot:nth-child(1) { background: #ef4444; }
.showcase-dot:nth-child(2) { background: #f59e0b; }
.showcase-dot:nth-child(3) { background: #10b981; }

.showcase-content {
    padding: 2rem;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.showcase-text {
    flex: 1;
}

.showcase-text strong {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.showcase-text span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Animated Chart */
.showcase-chart {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    height: 150px;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    background: var(--primary-gradient);
    border-radius: 0.5rem 0.5rem 0 0;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; opacity: 0; }
    to { opacity: 1; }
}

.showcase-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.metric span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   SERVICE DETAILS
   ============================================ */

.service-details-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-details-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item-premium {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item-premium:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.feature-item-premium h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item-premium p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TECHNOLOGY STACK
   ============================================ */

.tech-stack {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tech-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tech-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    font-size: 1.25rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.comparison-table {
    max-width: 900px;
    margin: 3rem auto 0;
    background: white;
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: var(--bg-secondary);
}

.comparison-header .comparison-cell {
    font-weight: 700;
    font-size: 1rem;
    padding: 1.5rem;
}

.comparison-cell {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.comparison-cell:first-child {
    justify-content: flex-start;
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.03) 100%);
    color: var(--primary);
    font-weight: 600;
}

.comparison-highlight strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.comparison-highlight svg {
    margin-left: 0.5rem;
    color: #10b981;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .service-tabs {
        max-width: 100%;
    }

    .comparison-table {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 6rem 0 3rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .service-tabs {
        flex-direction: column;
    }

    .service-tab-indicator {
        display: none;
    }

    .service-tab.active {
        background: var(--primary-gradient);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-cell {
        justify-content: flex-start;
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-trust-logos {
        gap: 1rem;
    }

    .trust-logo {
        font-size: 0.875rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

[data-theme="dark"] .value-card,
[data-theme="dark"] .showcase-screen,
[data-theme="dark"] .tech-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .comparison-table {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-badge {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .comparison-header {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .showcase-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .service-tabs,
    .scroll-indicator {
        display: none;
    }

    .service-panel {
        display: block !important;
    }
}
