/* ══════════════════════════════════════════════════════════
   CUBIKO 3D — Premium Sections (Multinational Level)
   ══════════════════════════════════════════════════════════ */

/* ── Animated Gradient Text ────────────────────────────── */
.animated-gradient {
    background: linear-gradient(270deg, #3b82f6, #06b6d4, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ── Marquee Ticker ────────────────────────────────────── */
.marquee-section {
    background: var(--text-primary);
    overflow: hidden;
    padding: 0.85rem 0;
    position: relative;
    z-index: 10;
}

.marquee-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.marquee-content {
    display: inline-flex;
    gap: 0;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.marquee-content span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-display);
    padding: 0 1rem;
}

.marquee-dot {
    color: var(--accent) !important;
    font-size: 0.5rem !important;
    display: inline-flex;
    align-items: center;
    padding: 0 0.5rem !important;
    opacity: 0.6;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Stats Counter Section ─────────────────────────────── */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
}

.stat-number-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-display);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

/* ── Process Timeline ──────────────────────────────────── */
.process-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: var(--shadow-relief);
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-floating);
}

.process-number {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-display);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.process-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.process-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.process-connector {
    display: none;
}

/* ── Tech Specs ────────────────────────────────────────── */
.tech-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.tech-specs {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tech-spec-item {
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-relief);
    text-align: center;
    min-width: 120px;
}

.tech-spec-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-display);
}

.tech-spec-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Premium Material Cards ────────────────────────────── */
.mat-card--premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    padding: 1.5rem 1rem !important;
    box-shadow: var(--shadow-relief);
    font-size: 1.1rem !important;
}

.mat-card--premium:hover {
    box-shadow: var(--shadow-floating);
    transform: translateY(-4px) scale(1.03);
}

.mat-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.mat-card--premium small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Testimonials ──────────────────────────────────────── */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-relief);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-floating);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-display);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── CTA Final Premium ─────────────────────────────────── */
.cta-final {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.cta-final-inner {
    text-align: center;
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-floating);
    position: relative;
    overflow: hidden;
}

.cta-final-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.04), transparent 50%);
    pointer-events: none;
}

.cta-final-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.cta-final-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.cta-final-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-final-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-trust-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-trust-row span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Button Sizes ──────────────────────────────────────── */
.btn-lg {
    padding: 0.85rem 2rem !important;
    font-size: 1rem !important;
}

.btn-xl {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
}

/* ── Responsive: Premium Sections ──────────────────────── */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-final-inner {
        padding: 3rem 1.5rem;
    }

    .tech-specs {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .marquee-content span {
        font-size: 0.75rem;
    }
}