/* Features Page Specific Styles */

/* Features Hero Section */
.features-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.features-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23e2e8f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

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

.features-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature Navigation */
.feature-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-nav-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feature-nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-tab:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.nav-tab.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-tab i {
    font-size: 1rem;
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0;
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.feature-section:nth-child(even) {
    background: #f8fafc;
}

.feature-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-section .section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-list li {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.feature-list li::before {
    content: '•';
    color: #6366f1;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Feature Comparison Table */
.feature-comparison {
    padding: 6rem 0;
    background: white;
}

.comparison-table {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1f2937;
    font-size: 1.125rem;
}

.comparison-table th:first-child {
    font-weight: 700;
    color: #6366f1;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: #374151;
}

.comparison-table i.fa-check {
    color: #10b981;
    font-size: 1.25rem;
}

.comparison-table i.fa-times {
    color: #ef4444;
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-hero h1 {
        font-size: 3rem;
    }
    
    .feature-section .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 6rem 0 3rem;
    }
    
    .features-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-nav-tabs {
        gap: 0.25rem;
    }
    
    .nav-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .nav-tab span {
        display: none;
    }
    
    .nav-tab i {
        font-size: 1.25rem;
    }
    
    .feature-section {
        padding: 4rem 0;
    }
    
    .feature-section .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .feature-section .section-header h2 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.feature-card.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Navigation Enhancement */
.feature-nav.sticky {
    top: 0;
    transition: top 0.3s ease;
}

/* Active Section Indicator */
.feature-section.active .feature-card {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--card-index) * 0.1s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature-card:hover h3 {
    color: #6366f1;
    transition: color 0.3s ease;
}

/* Loading States */
.feature-section.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .feature-section,
    .feature-card,
    .nav-tab {
        transition: none;
        animation: none;
    }
}

/* Print Styles */
@media print {
    .feature-nav,
    .nav-toggle,
    .back-to-top {
        display: none !important;
    }
    
    .feature-section {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
    }
    
    .feature-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
} 

/* Integrations Page Specific Styles */
.feature-section {
    padding: 6rem 0;
    background: #fff;
}
.section-header {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 2.5rem;
    text-align: center;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.07);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    min-height: 340px;
}
.feature-card:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.13);
    transform: translateY(-4px) scale(1.02);
}
.feature-icon {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 1.25rem;
}
.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.feature-card p {
    color: #6b7280;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.feature-list i {
    color: #10b981;
    font-size: 1rem;
}
.feature-cta {
    margin-top: auto;
}
.feature-cta .btn-secondary {
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
    text-decoration: none;
}
.feature-cta .btn-secondary:hover {
    background: #4f46e5;
}
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
}
.comparison-table th, .comparison-table td {
    padding: 1rem 0.75rem;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.comparison-table th {
    background: #f3f4f6;
    font-weight: 700;
    color: #6366f1;
}
.comparison-table td:first-child, .comparison-table th:first-child {
    text-align: left;
}
.comparison-table i.fa-check {
    color: #10b981;
    font-size: 1.2rem;
}
.comparison-table i.fa-times {
    color: #ef4444;
    font-size: 1.2rem;
}
.comparison-table i.fa-minus {
    color: #d1d5db;
    font-size: 1.2rem;
}
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .feature-card {
        padding: 1.5rem 1rem;
    }
    .section-header {
        font-size: 2rem;
    }
} 