/* ===================================
   365 DIALER - RECORDING PORTAL PAGE STYLES
   Custom styles for Recording Portal Feature page
   =================================== */

/* ===== RECORDING HERO VISUAL ===== */
.recording-visual {
    position: relative;
    width: 450px;
    max-width: 100%;
}

.laptop-device {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.laptop-screen {
    width: 100%;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 15px 15px 0 0;
    padding: 10px;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.recording-interface {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.interface-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.header-dots {
    display: flex;
    gap: 6px;
}

.header-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.header-dots span:nth-child(1) { background: #ff5f57; }
.header-dots span:nth-child(2) { background: #ffbd2e; }
.header-dots span:nth-child(3) { background: #28ca42; }

.header-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.interface-content {
    padding: 15px;
}

.recording-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: 6px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(118, 252, 251, 0.05);
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.table-row:hover {
    border-color: var(--cyan);
    background: rgba(118, 252, 251, 0.1);
}

.status-badge {
    background: rgba(120, 253, 196, 0.2);
    color: var(--mint);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    display: inline-block;
}

.laptop-base {
    width: 120%;
    height: 15px;
    background: linear-gradient(145deg, #2a2a4e 0%, #1a1a2e 100%);
    margin-left: -10%;
    border-radius: 0 0 5px 5px;
    position: relative;
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: var(--border-color);
    border-radius: 0 0 5px 5px;
}

.floating-mic {
    position: absolute;
    top: -20px;
    right: -30px;
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-navy);
    box-shadow: var(--shadow-lg);
    animation: floatCard 4s ease-in-out infinite;
}

.sound-waves {
    position: absolute;
    bottom: 40px;
    left: -40px;
    display: flex;
    gap: 4px;
    align-items: flex-end;
}

.sound-waves span {
    width: 4px;
    background: var(--cyan);
    border-radius: 2px;
    animation: soundWave 1s ease-in-out infinite;
}

.sound-waves span:nth-child(1) { height: 20px; animation-delay: 0s; }
.sound-waves span:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.sound-waves span:nth-child(3) { height: 25px; animation-delay: 0.2s; }

@keyframes soundWave {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.5); opacity: 1; }
}

/* ===== PORTAL INTRO SECTION ===== */
.portal-intro-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.portal-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.waveform-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.mic-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark-navy);
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.waveform-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 60px;
}

.waveform-bars span {
    width: 4px;
    background: linear-gradient(180deg, var(--cyan) 0%, var(--mint) 100%);
    border-radius: 2px;
    animation: waveformAnimation 1.2s ease-in-out infinite;
}

.waveform-bars span:nth-child(1) { height: 20px; animation-delay: 0s; }
.waveform-bars span:nth-child(2) { height: 35px; animation-delay: 0.05s; }
.waveform-bars span:nth-child(3) { height: 50px; animation-delay: 0.1s; }
.waveform-bars span:nth-child(4) { height: 40px; animation-delay: 0.15s; }
.waveform-bars span:nth-child(5) { height: 55px; animation-delay: 0.2s; }
.waveform-bars span:nth-child(6) { height: 30px; animation-delay: 0.25s; }
.waveform-bars span:nth-child(7) { height: 45px; animation-delay: 0.3s; }
.waveform-bars span:nth-child(8) { height: 60px; animation-delay: 0.35s; }
.waveform-bars span:nth-child(9) { height: 35px; animation-delay: 0.4s; }
.waveform-bars span:nth-child(10) { height: 50px; animation-delay: 0.45s; }
.waveform-bars span:nth-child(11) { height: 25px; animation-delay: 0.5s; }
.waveform-bars span:nth-child(12) { height: 40px; animation-delay: 0.55s; }
.waveform-bars span:nth-child(13) { height: 55px; animation-delay: 0.6s; }
.waveform-bars span:nth-child(14) { height: 30px; animation-delay: 0.65s; }
.waveform-bars span:nth-child(15) { height: 45px; animation-delay: 0.7s; }
.waveform-bars span:nth-child(16) { height: 35px; animation-delay: 0.75s; }
.waveform-bars span:nth-child(17) { height: 50px; animation-delay: 0.8s; }
.waveform-bars span:nth-child(18) { height: 40px; animation-delay: 0.85s; }
.waveform-bars span:nth-child(19) { height: 30px; animation-delay: 0.9s; }
.waveform-bars span:nth-child(20) { height: 20px; animation-delay: 0.95s; }

@keyframes waveformAnimation {
    0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

.portal-intro-content .section-description {
    margin-bottom: 30px;
}

/* ===== OFFERS SECTION ===== */
.offers-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.offer-card {
    padding: 35px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
}

.offer-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--cyan);
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
}

.offer-card:hover .offer-icon {
    background: var(--gradient-secondary);
    color: var(--dark-navy);
    transform: scale(1.1);
}

.offer-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.offer-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== OTHER PRODUCTS SECTION ===== */
.other-products-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.other-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.other-product-card {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.other-product-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
}

.other-product-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cyan);
    margin: 0 auto 25px;
    transition: all var(--transition-normal);
}

.other-product-card:hover .other-product-icon {
    background: var(--gradient-secondary);
    color: var(--dark-navy);
    transform: scale(1.1);
}

.other-product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.other-product-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap var(--transition-fast);
}

.product-link:hover {
    gap: 12px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .recording-visual {
        width: 380px;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .recording-visual {
        display: none;
    }

    .other-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .waveform-bars span {
        width: 3px;
    }
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .other-products-grid {
        grid-template-columns: 1fr;
    }

    .waveform-visual {
        flex-direction: column;
    }

    .waveform-bars {
        height: 50px;
    }

    .waveform-bars span {
        width: 3px;
    }
}

@media (max-width: 576px) {
    .offer-card {
        padding: 30px 20px;
    }

    .offer-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .other-product-card {
        padding: 30px 20px;
    }

    .other-product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .mic-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
