/* Features Page Styles */

/* Features Hero */
.features-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

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

/* Core Features */
.core-features {
    padding: 80px 0;
    background: #f8fafc;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #5850EC;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

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

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

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

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 0.875rem;
}

.feature-list li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* Privacy Features */
.privacy-features {
    padding: 80px 0;
    background: white;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-2px);
}

.privacy-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.privacy-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.privacy-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Advanced Features */
.advanced-features {
    padding: 80px 0;
    background: #f8fafc;
}

.advanced-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.advanced-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.advanced-item.reverse {
    direction: rtl;
}

.advanced-item.reverse > * {
    direction: ltr;
}

.advanced-content {
    padding-right: 1rem;
}

.advanced-item.reverse .advanced-content {
    padding-right: 0;
    padding-left: 1rem;
}

.advanced-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.advanced-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.advanced-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.advanced-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #374151;
}

.advanced-list li:before {
    content: "→";
    color: #5850EC;
    font-weight: bold;
    margin-right: 0.75rem;
}

.advanced-link {
    color: #5850EC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.advanced-link:hover {
    color: #4338ca;
}

.advanced-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Funnel Chart */
.funnel-chart {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 300px;
}

.funnel-step {
    background: linear-gradient(135deg, #5850EC, #4338ca);
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.funnel-step:hover {
    transform: scale(1.02);
}

/* API Demo */
.api-demo {
    background: #1f2937;
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    font-family: 'Monaco', 'Menlo', monospace;
    width: 100%;
    max-width: 350px;
}

.api-header {
    color: #10b981;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
}

.api-code {
    font-size: 0.875rem;
    line-height: 1.5;
}

.api-line {
    margin-bottom: 0.5rem;
}

.api-line:first-child {
    color: #60a5fa;
}

/* Properties Demo */
.properties-demo {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 300px;
}

.property-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
}

.property-item:last-child {
    border-bottom: none;
}

.property-key {
    color: #5850EC;
    font-weight: 500;
}

.property-value {
    color: #1f2937;
    background: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Integration Features */
.integration-features {
    padding: 80px 0;
    background: white;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.integration-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.integration-card:hover {
    transform: translateY(-2px);
    border-color: #5850EC;
    background: white;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.integration-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.integration-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.integration-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary.large {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary.large:hover {
    background: white;
    color: #5850EC;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
    }
    
    .advanced-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .advanced-item.reverse {
        direction: ltr;
    }
    
    .advanced-content {
        padding-right: 0;
    }
    
    .advanced-item.reverse .advanced-content {
        padding-left: 0;
    }
    
    .advanced-title {
        font-size: 1.75rem;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .features-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .privacy-card {
        padding: 1.5rem;
    }
    
    .advanced-item {
        padding: 1.5rem;
    }
    
    .integration-card {
        padding: 1.5rem;
    }
    
    .funnel-chart {
        max-width: 250px;
    }
    
    .api-demo {
        max-width: 280px;
        padding: 1rem;
    }
    
    .properties-demo {
        max-width: 250px;
        padding: 1.5rem;
    }
}

/* Animation Classes */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.animate-element {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2).animate-element {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3).animate-element {
    transition-delay: 0.3s;
}

.privacy-card.animate-element {
    transition-delay: 0.1s;
}

.privacy-card:nth-child(2).animate-element {
    transition-delay: 0.2s;
}

.privacy-card:nth-child(3).animate-element {
    transition-delay: 0.3s;
}

.privacy-card:nth-child(4).animate-element {
    transition-delay: 0.4s;
}