/* ===================================
   365 DIALER - WEB PHONE PAGE STYLES
   Custom styles for Web Phone Feature page
   =================================== */

/* ===== WEBPHONE HERO VISUAL ===== */
.webphone-visual {
    position: relative;
    width: 350px;
    max-width: 100%;
}

.phone-hand {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.hand-base {
    width: 120px;
    height: 180px;
    background: linear-gradient(145deg, #ffd89b 0%, #f5c77e 100%);
    border-radius: 60px 60px 30px 30px;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    z-index: 1;
}

.phone-device {
    width: 180px;
    height: 320px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 30px;
    padding: 10px;
    border: 3px solid var(--border-color);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dialer-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    gap: 20px;
}

.caller-avatar {
    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);
}

.caller-info {
    text-align: center;
}

.caller-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.call-status {
    display: block;
    font-size: 0.75rem;
    color: var(--mint);
}

.call-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn.mute {
    background: var(--bg-card);
    color: var(--white);
    border: 1px solid var(--border-color);
}

.action-btn.end {
    background: #ff4757;
    color: var(--white);
}

.action-btn.speaker {
    background: var(--bg-card);
    color: var(--white);
    border: 1px solid var(--border-color);
}

.signal-waves {
    position: absolute;
    top: 20px;
    right: -30px;
}

.signal-waves span {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    margin-bottom: 10px;
    animation: signalPulse 2s infinite;
    opacity: 0;
}

.signal-waves span:nth-child(1) { animation-delay: 0s; }
.signal-waves span:nth-child(2) { animation-delay: 0.3s; width: 30px; height: 30px; }
.signal-waves span:nth-child(3) { animation-delay: 0.6s; width: 40px; height: 40px; }

@keyframes signalPulse {
    0% { opacity: 1; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.2); }
}

/* ===== UNRIVALED SECTION ===== */
.unrivaled-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.unrivaled-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hand-phone-illustration {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.illustration-hand {
    position: relative;
    width: 150px;
    height: 200px;
}

.palm {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 140px;
    background: linear-gradient(145deg, #ffd89b 0%, #f5c77e 100%);
    border-radius: 30px 30px 60px 60px;
}

.thumb {
    position: absolute;
    bottom: 80px;
    left: -15px;
    width: 35px;
    height: 80px;
    background: linear-gradient(145deg, #ffd89b 0%, #f5c77e 100%);
    border-radius: 20px;
    transform: rotate(30deg);
}

.finger {
    position: absolute;
    width: 25px;
    background: linear-gradient(145deg, #ffd89b 0%, #f5c77e 100%);
    border-radius: 15px;
}

.finger-1 { height: 70px; top: 0; left: 25px; }
.finger-2 { height: 80px; top: -10px; left: 55px; }
.finger-3 { height: 75px; top: -5px; left: 85px; }
.finger-4 { height: 60px; top: 10px; left: 115px; }

.illustration-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 180px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 20px;
    padding: 8px;
    border: 2px solid var(--border-color);
    z-index: 2;
}

.phone-inner {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.phone-notch {
    width: 40px;
    height: 6px;
    background: var(--dark-navy);
    border-radius: 3px;
    margin-top: 8px;
}

.phone-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cyan);
}

.decorative-dots {
    position: absolute;
    bottom: 20px;
    right: -40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.decorative-dots span {
    width: 12px;
    height: 12px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    animation: floatCard 4s ease-in-out infinite;
}

.decorative-dots span:nth-child(2) { animation-delay: 0.5s; }
.decorative-dots span:nth-child(3) { animation-delay: 1s; }

.unrivaled-content .section-badge,
.unrivaled-content .section-title,
.unrivaled-content .section-description {
    text-align: left;
}

.unrivaled-content .section-description {
    margin-bottom: 20px;
}

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

.flexibility-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.flexibility-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.flexibility-intro {
    position: sticky;
    top: 100px;
}

.intro-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.flexibility-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-block {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.feature-block:hover {
    border-color: var(--border-color-hover);
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

.feature-block .feature-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-navy);
}

.feature-block .feature-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-block .feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== WEBPHONE FEATURES SECTION ===== */
.webphone-features-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.webphone-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

.webphone-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
}

.webphone-feature-card .feature-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);
}

.webphone-feature-card:hover .feature-icon {
    background: var(--gradient-secondary);
    color: var(--dark-navy);
    transform: scale(1.1) rotate(5deg);
}

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

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

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

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

.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;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

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

    .unrivaled-grid {
        gap: 50px;
    }

    .flexibility-grid {
        gap: 40px;
    }

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

@media (max-width: 992px) {
    .unrivaled-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .unrivaled-visual {
        order: 2;
    }

    .unrivaled-content {
        order: 1;
    }

    .unrivaled-content .section-badge,
    .unrivaled-content .section-title,
    .unrivaled-content .section-description {
        text-align: center;
    }

    .unrivaled-content .btn {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    .flexibility-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .flexibility-intro {
        position: static;
        text-align: center;
    }

    .flexibility-intro .btn {
        margin: 0 auto;
    }

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

    .webphone-visual {
        display: none;
    }
}

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

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

    .feature-block {
        flex-direction: column;
        text-align: center;
    }

    .feature-block .feature-icon {
        margin: 0 auto;
    }

    .visual-container {
        min-height: 300px;
    }

    .illustration-hand {
        transform: scale(0.8);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .webphone-feature-card {
        padding: 25px 20px;
    }

    .webphone-feature-card .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-block {
        padding: 25px 20px;
    }

    .feature-block .feature-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;
    }

    .phone-device {
        width: 150px;
        height: 270px;
    }

    .caller-avatar {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .action-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}
