/* Features Page Specific Styles */

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="1" fill="%23ffffff" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="3s" repeatCount="indefinite"/></circle><circle cx="70" cy="70" r="1.5" fill="%23ffffff" opacity="0.2"><animate attributeName="opacity" values="0.2;0.6;0.2" dur="5s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: float 15s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--light-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 60%);
}

/* Features Tabs */
.features-tabs {
    padding: 6rem 0;
    background: var(--light-bg);
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 2px solid transparent;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.tabs-content {
    position: relative;
    min-height: 500px;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.feature-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Feature Animations */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.security-animation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon {
    font-size: 4rem;
    z-index: 2;
    position: relative;
}

.protection-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 3s ease-in-out infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.ring-2 {
    width: 150px;
    height: 150px;
    top: -75px;
    left: -75px;
    animation-delay: 1s;
}

.ring-3 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-delay: 2s;
}

.privacy-animation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mask-icon {
    font-size: 4rem;
    z-index: 2;
    position: relative;
}

.privacy-particles {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: float-particle 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

.speed-animation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightning-icon {
    font-size: 4rem;
    z-index: 2;
    position: relative;
    color: var(--primary-color);
}

.speed-lines {
    position: absolute;
    width: 200px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.line {
    position: absolute;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: speed-line 2s ease-in-out infinite;
}

.line-1 {
    width: 60px;
    top: 30%;
    left: 0;
    animation-delay: 0s;
}

.line-2 {
    width: 80px;
    top: 50%;
    left: 0;
    animation-delay: 0.3s;
}

.line-3 {
    width: 50px;
    top: 70%;
    left: 0;
    animation-delay: 0.6s;
}

.support-animation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headset-icon {
    font-size: 4rem;
    z-index: 2;
    position: relative;
}

.support-waves {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: wave-pulse 3s ease-in-out infinite;
}

.wave-1 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.wave-2 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.wave-3 {
    width: 160px;
    height: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

/* Comparison Section */
.comparison-section {
    padding: 6rem 0;
    background: var(--white);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--gradient-secondary);
    color: white;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
}

.table-row:hover {
    background: rgba(247, 183, 49, 0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.feature-name {
    font-weight: 600;
    color: var(--text-dark);
}

.competitor {
    text-align: center;
    color: var(--accent-color);
}

.omg-column {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

/* Benefits Grid */
.benefits-grid {
    padding: 6rem 0;
    background: var(--light-bg);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.benefit-card:hover::before {
    left: 0;
    opacity: 0.05;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes speed-line {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(200px);
        opacity: 0;
    }
}

@keyframes wave-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs-navigation {
        flex-direction: column;
        align-items: center;
    }

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

    .feature-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .table-header > div,
    .table-row > div {
        padding: 0.5rem 0;
    }

    .benefits-container {
        grid-template-columns: 1fr;
    }

    .feature-visual {
        height: 200px;
    }

    .shield-icon,
    .mask-icon,
    .lightning-icon,
    .headset-icon {
        font-size: 3rem;
    }

    .ring-1 {
        width: 80px;
        height: 80px;
        top: -40px;
        left: -40px;
    }

    .ring-2 {
        width: 120px;
        height: 120px;
        top: -60px;
        left: -60px;
    }

    .ring-3 {
        width: 160px;
        height: 160px;
        top: -80px;
        left: -80px;
    }
}

