/* ========================================
   COMMON SECTIONS STYLES
   Consolidated from pages/common-sections/*.php
   ======================================== */

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner { position: relative; overflow: hidden; }

.cta-box {
    position: relative;
    padding: clamp(40px, 8vw, 80px);
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Corner elements */
.cta-box .corner { position: absolute; width: 15px; height: 15px; border: 2px solid var(--accent-red); }
.cta-box .top-left { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cta-box .top-right { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cta-box .bottom-left { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.cta-box .bottom-right { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.cta-tag { color: var(--accent-red); font-size: 11px; letter-spacing: 3px; margin-bottom: 20px; }
.cta-title { font-size: clamp(30px, 5vw, 50px); line-height: 1.1; margin-bottom: 20px; }
.cta-descr { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 500px; }

/* CTA Button */
.btn-cta-main {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    background: var(--accent-red);
    color: #fff;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    transition: 0.3s;
    border: none;
    margin-bottom: 20px;
}

.btn-cta-main:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.5);
}

.cta-status { font-size: 10px; color: #00ff66; display: flex; align-items: center; gap: 10px; opacity: 0.8; }
.status-pulse {
    width: 6px; height: 6px;
    background: #00ff66;
    border-radius: 50%;
    animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Background code */
.cta-bg-code {
    position: absolute;
    top: 20px;
    right: -20px;
    font-size: 12px;
    color: var(--accent-red);
    opacity: 0.03;
    line-height: 1.5;
    transform: rotate(-5deg);
    pointer-events: none;
}

@media (max-width: 992px) {
    .cta-content { grid-template-columns: 1fr; text-align: center; }
    .cta-descr { margin: 0 auto 30px; }
    .cta-status { justify-content: center; }
}

/* ========================================
   IVR VOICES SECTION
   ======================================== */
.ivr-voices-section {
    background: rgba(255, 0, 60, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(60px, 10vw, 120px) 0;
}

.ivr-voices-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ivr-voices-section .voice-layout {
    gap: 40px;
}

.ivr-voices-section .voice-sidebar {
    background: rgba(0, 0, 0, 0.3);
}

/* Style filter disabled for IVR */
.ivr-voices-section .voice-filters [data-filter="style"] {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 992px) {
    .ivr-voices-section .voice-layout {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ivr-voices-section {
        padding: clamp(40px, 8vw, 80px) 0;
    }
}

/* ========================================
   ORDER PAGE
   ======================================== */
.order-page { background: #000; }

.order-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }

/* Input fields */
.cyber-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
    margin-top: 10px;
    transition: 0.3s;
    outline: none;
}
.cyber-input:focus {
    border-color: var(--accent-red);
    background: rgba(255, 0, 60, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.1);
}

.form-group { margin-bottom: 25px; }
.form-group label { font-size: 11px; color: var(--accent-red); letter-spacing: 1px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* File upload */
.file-upload { margin-top: 10px; }
.file-label {
    display: block;
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.file-label:hover { border-color: var(--accent-red); color: var(--accent-red); }
.file-label input { display: none; }

.submit-order { width: 100%; margin-top: 20px; border: 1px solid var(--accent-red); }

/* Terminal sidebar */
.terminal-box { padding: 30px; font-size: 12px; color: rgba(255,255,255,0.7); }
.terminal-line { margin-bottom: 10px; }
.terminal-line.divider { height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }
.progress-bar { height: 4px; background: #222; margin-top: 10px; }
.progress-bar .fill { height: 100%; background: #00ff66; box-shadow: 0 0 10px #00ff66; }
.terminal-note { margin-top: 25px; font-size: 11px; opacity: 0.5; line-height: 1.6; }

.fast-contact { padding: 30px; margin-top: 20px; text-align: center; border: 1px solid rgba(255,0,60,0.2); }
.tg-link { color: var(--accent-red); text-decoration: none; font-weight: bold; font-size: 14px; display: block; margin-top: 10px; }

@media (max-width: 992px) {
    .order-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ========================================
   TRUST SIGNALS SECTION
   ======================================== */
.trust-signals {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: clamp(60px, 10vw, 100px) 0;
    position: relative;
    overflow: hidden;
}

.trust-bg-glow {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.08), transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.trust-signals .container {
    position: relative;
    z-index: 1;
}

/* Stats */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    padding: 40px 0;
    border-top: 1px solid rgba(255,0,60,0.15);
    border-bottom: 1px solid rgba(255,0,60,0.15);
    position: relative;
}

.trust-stats::before,
.trust-stats::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    box-shadow: 0 0 20px var(--accent-red);
}

.trust-stats::before { top: 0; }
.trust-stats::after { bottom: 0; }

.stat-item {
    text-align: center;
    position: relative;
    padding: 20px;
    transition: all 0.4s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 60, 0.3));
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 25px rgba(255, 0, 60, 0.7));
}

.stat-value {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--accent-red);
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.4);
    transition: all 0.4s ease;
    line-height: 1;
}

.stat-value .percent {
    font-size: 0.6em;
}

.stat-item:hover .stat-value {
    transform: scale(1.08);
    text-shadow: 0 0 35px rgba(255, 0, 60, 0.8);
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.stat-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.stat-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-red), #ff6b9d);
    box-shadow: 0 0 15px var(--accent-red);
    animation: barGrow 2.5s ease-out forwards;
}

@keyframes barGrow {
    to { width: 100%; }
}

/* Main grid */
.trust-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
    align-items: flex-start;
}

/* Clients area */
.clients-area {
    min-width: 0;
}

.clients-header {
    margin-bottom: 35px;
}

.clients-title,
.guarantees-title {
    font-size: clamp(22px, 4vw, 32px);
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.title-accent {
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.clients-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* Logo marquee */
.logo-marquee-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 20px 0;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.logo-marquee {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-track {
    display: flex;
    gap: 20px;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
}

.logo-track.reverse {
    animation-direction: reverse;
}

.logo-track[data-speed="slow"] {
    animation-duration: 80s;
}

.logo-track[data-speed="medium"] {
    animation-duration: 65s;
}

.logo-track[data-speed="fast"] {
    animation-duration: 50s;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Logo item */
.logo-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.logo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 0, 60, 0.2));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.logo-item.active::before,
.logo-item:hover::before {
    opacity: 1;
}

.logo-item.active,
.logo-item:hover {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 0, 60, 0.5);
}

/* Marquee fade (hidden - using mask) */
.marquee-fade-left,
.marquee-fade-right {
    display: none;
}

/* Logo image */
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter:
        grayscale(100%)
        contrast(1.1)
        opacity(0.85);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-item.active img,
.logo-item:hover img {
    filter:
        grayscale(0%)
        contrast(1)
        opacity(1);
    transform: scale(1.08);
}

/* Reviews button */
.clients-footer {
    text-align: center;
    margin-top: 10px;
}

.btn-reviews {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-red);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.3);
}

.btn-bg-sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 60, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-reviews:hover .btn-bg-sweep {
    transform: translateX(100%);
}

.btn-reviews:hover {
    background: var(--accent-red);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(255, 0, 60, 0.6);
}

.btn-reviews:hover .btn-icon {
    transform: rotate(360deg) scale(1.2);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1));
}

.btn-icon {
    position: relative;
    z-index: 2;
    font-size: 16px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

/* Guarantees */
.guarantees-area {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guarantees-header {
    margin-bottom: 25px;
}

.guarantee-card {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-red), transparent);
    box-shadow: 0 0 20px var(--accent-red);
    transition: height 0.4s ease;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.guarantee-card:hover {
    border-color: rgba(255, 0, 60, 0.4);
    transform: translateX(5px);
    box-shadow: -5px 5px 25px rgba(255, 0, 60, 0.2);
    background: rgba(255, 0, 60, 0.03);
}

.guarantee-card:hover::before {
    opacity: 1;
}

.guarantee-card:hover .card-glow {
    height: 100%;
}

.g-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 60, 0.08);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 4px;
    color: var(--accent-red);
    transition: all 0.4s ease;
}

.guarantee-card:hover .g-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 0, 60, 0.15);
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.4);
}

.guarantee-card:hover .g-icon svg {
    filter: drop-shadow(0 0 10px var(--accent-red));
}

.g-text h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #fff;
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.guarantee-card:hover .g-text h4 {
    color: var(--accent-red);
    text-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

.g-text p {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* Text gradient red */
.text-gradient-red {
    background: linear-gradient(135deg, var(--accent-red), #ff6b9d, var(--accent-red));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========================================
   RESPONSIVE - TRUST SIGNALS
   ======================================== */
@media (max-width: 992px) {
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 60px;
    }

    .trust-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .logo-item {
        width: 140px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .trust-signals {
        padding: 50px 0;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 50px;
        padding: 30px 0;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-icon {
        font-size: 30px;
    }

    .stat-value {
        font-size: 32px !important;
    }

    .stat-label {
        font-size: 9px;
    }

    .trust-main-grid {
        gap: 40px;
    }

    .clients-title,
    .guarantees-title {
        font-size: 20px !important;
    }

    .clients-subtitle {
        font-size: 12px;
    }

    .logo-item {
        width: 120px;
        height: 60px;
        padding: 15px;
    }

    .logo-track {
        gap: 15px;
    }

    .logo-marquee {
        gap: 12px;
    }

    .btn-reviews {
        font-size: 10px;
        padding: 12px 26px;
        width: 100%;
        justify-content: center;
    }

    .guarantees-area {
        gap: 12px;
    }

    .guarantee-card .card-content {
        padding: 18px;
        gap: 14px;
    }

    .g-icon {
        width: 34px;
        height: 34px;
    }

    .g-icon svg {
        width: 22px;
        height: 22px;
    }

    .g-text h4 {
        font-size: 14px;
    }

    .g-text p {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .trust-signals {
        padding: 40px 0;
    }

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 0;
    }

    .stat-icon {
        font-size: 28px;
    }

    .stat-value {
        font-size: 28px !important;
    }

    .stat-label {
        font-size: 8px;
    }

    .clients-title,
    .guarantees-title {
        font-size: 18px !important;
    }

    .logo-item {
        width: 100px;
        height: 50px;
        padding: 12px;
    }

    .logo-track {
        gap: 12px;
    }

    .logo-marquee {
        gap: 10px;
    }

    .btn-reviews {
        font-size: 9px;
        padding: 12px 24px;
    }

    .guarantee-card .card-content {
        padding: 16px;
        gap: 12px;
    }

    .g-icon {
        width: 32px;
        height: 32px;
    }

    .g-icon svg {
        width: 20px;
        height: 20px;
    }

    .g-text h4 {
        font-size: 13px;
    }

    .g-text p {
        font-size: 9px;
    }
}
