/* Features Page Specific Styles */
.page-header {
    text-align: center;
    padding: 60px 0 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Enhanced Feature Card Animation */
.feature-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #ff69b4;
    transition: width 0.3s ease;
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
    width: 10px;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #ff69b4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background-color: #ff5ba7;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.feature-description {
    color: #d0d0d0;
    margin-bottom: 20px;
}

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

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #d0d0d0;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff69b4;
    font-size: 1.5rem;
}

.highlight-feature {
    background-color: rgba(255, 105, 180, 0.1);
    border: 1px solid rgba(255, 105, 180, 0.3);
}

/* Add a subtle pulse animation to highlight features */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 105, 180, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0);
    }
}

.highlight-feature .feature-icon {
    animation: pulse-glow 2s infinite;
}

/* Testimonials Section */
.testimonials {
    margin: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: #d0d0d0;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: #ff69b4;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    margin-right: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    background-color: #ff69b4;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: bold;
    color: #f0f0f0;
}

.author-role {
    font-size: 0.9rem;
    color: #d0d0d0;
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
}

.faq-item {
    background-color: #1e1e1e;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #f0f0f0;
    font-weight: bold;
}

.faq-question:hover {
    background-color: #2a2a2a;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #ff69b4;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #d0d0d0;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Comparison Table */
.comparison-section {
    margin: 60px 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.comparison-table th {
    background-color: #1e1e1e;
    color: #f0f0f0;
}

.comparison-table tr:nth-child(even) {
    background-color: #1a1a1a;
}

.comparison-table tr:hover {
    background-color: #2a2a2a;
}

.checkmark {
    color: #ff69b4;
    font-size: 1.2rem;
}

.plan-highlight {
    background-color: rgba(255, 105, 180, 0.1);
    border-top: 3px solid #ff69b4;
    font-weight: bold;
}

/* CTA Section Modification */
.cta-btn-modified {
    background: linear-gradient(135deg, #ff69b4 0%, #ff5ba7 100%);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.cta-btn-modified:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.6);
    background: linear-gradient(135deg, #ff5ba7 0%, #ff69b4 100%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feature-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }
    
    .page-header {
        padding: 40px 0 20px;
    }
}

/* Add to your existing features.css */

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        cursor: pointer;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #1a1a1a;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-links ul li {
        margin: 15px 0;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Add to your existing features.css */

/* Responsive Table */
.table-container {
    position: relative;
    overflow-x: auto;
    margin-bottom: 20px;
}

.table-container::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff69b4;
    font-size: 24px;
    animation: pulse 2s infinite;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.table-container.scrollable:not(.scrolled-end)::after {
    opacity: 0.7;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .comparison-table {
        min-width: 600px;
    }
}

/* Add to your existing features.css */

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 30px 0 20px;
    }
    
    /* Better touch support for feature cards */
    .feature-card:active::before {
        width: 10px;
    }
    
    .feature-card:active::after {
        opacity: 1;
    }
}

/* Add to your existing features.css */

@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
}

/* FAQ Section Enhancements */
.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff69b4;
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    margin-bottom: 20px;
}

.faq-question {
    border-bottom: 1px solid rgba(255, 105, 180, 0.1);
}

.faq-item.active .faq-question {
    border-bottom: none;
}

.faq-answer {
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 20px 20px 30px;
    opacity: 1;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul, .faq-answer ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-answer strong {
    color: #f0f0f0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.feature-card {
    animation: fadeIn 0.5s ease;
}

.testimonial-card {
    animation: fadeIn 0.5s ease;
}

@media (max-width: 576px) {
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding-left: 20px;
        margin-bottom: 8px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .author-name {
        font-size: 0.9rem;
    }
    
    .author-role {
        font-size: 0.8rem;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .page-header .subtitle {
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
}

.cta-btn-modified {
    background: linear-gradient(135deg, #ff69b4 0%, #ff5ba7 100%);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.cta-btn-modified:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.6);
    background: linear-gradient(135deg, #ff5ba7 0%, #ff69b4 100%);
}

.table-container {
    position: relative;
    overflow-x: auto;
    margin-bottom: 20px;
}

.table-container::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff69b4;
    font-size: 24px;
    animation: pulse 2s infinite;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.table-container.scrollable:not(.scrolled-end)::after {
    opacity: 0.7;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .comparison-table {
        min-width: 600px;
    }
}