/* Features Page Specific Styles */

.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(40, 167, 69, 0.05));
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 22px;
    color: var(--text-secondary);
}

.feature-section {
    padding: 80px 0;
}

.feature-section.alternate {
    background: rgba(0, 123, 255, 0.02);
}

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

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list li div {
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

/* Feature Visuals */
.feature-visual {
    padding: 32px;
    min-height: 400px;
}

.survey-builder-preview .builder-toolbar {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 24px;
}

.builder-toolbar .tool {
    padding: 10px 16px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.builder-toolbar .tool:hover {
    border-color: var(--primary-color);
}

.builder-toolbar .tool.active {
    background: var(--primary-color);
    color: white;
}

.builder-canvas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-block {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.q-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.q-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.rating-visual {
    font-size: 28px;
    color: #ffc107;
    letter-spacing: 8px;
}

.voice-input {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
}

.voice-waveform-mini {
    display: flex;
    gap: 3px;
    align-items: center;
    height: 30px;
}

.voice-waveform-mini span {
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: mini-wave 1s ease-in-out infinite;
}

.voice-waveform-mini span:nth-child(1) { height: 50%; animation-delay: 0s; }
.voice-waveform-mini span:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.voice-waveform-mini span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.voice-waveform-mini span:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.voice-waveform-mini span:nth-child(5) { height: 70%; animation-delay: 0.4s; }

@keyframes mini-wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.rec-indicator {
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
}

/* Distribution Preview */
.distribution-preview h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: var(--transition);
}

.share-option:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.share-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
}

.share-info strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.share-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Analytics Preview */
.analytics-preview h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.sentiment-gauge {
    margin-bottom: 32px;
}

.gauge {
    height: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 6px;
    transition: width 1s ease;
}

.gauge-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.themes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.theme-tag {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.theme-tag span {
    background: var(--primary-color);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.chart-preview {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    padding: 20px;
    background: white;
    border-radius: 12px;
}

.chart-preview .bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 6px 6px 0 0;
    transition: height 0.5s ease;
}

/* Feature Highlight */
.feature-highlight {
    padding: 80px 0;
    background: rgba(40, 167, 69, 0.02);
}

.highlight-content {
    text-align: center;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.highlight-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.highlight-subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-weight: 600;
}

.highlight-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.example-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.flow-step.highlight {
    border-color: var(--secondary-color);
    background: rgba(40, 167, 69, 0.05);
}

.step-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.flow-step.highlight .step-badge {
    background: var(--secondary-color);
}

.flow-step p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.flow-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
}

.comparison-table-wrapper {
    padding: 40px;
    overflow-x: auto;
}

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

.comparison-table thead th {
    padding: 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid rgba(0, 123, 255, 0.2);
}

.comparison-table tbody td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 16px;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .highlight-col {
    background: rgba(0, 123, 255, 0.05);
    font-weight: 600;
    color: var(--primary-color);
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Power Proposition */
.power-proposition {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03), rgba(40, 167, 69, 0.03));
}

.prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.prop-card {
    padding: 40px 32px;
    text-align: center;
}

.prop-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.prop-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-content.reverse {
        direction: ltr;
    }
    
    .prop-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }
    
    .page-hero p {
        font-size: 18px;
    }
    
    .feature-text h2 {
        font-size: 32px;
    }
    
    .highlight-content h2 {
        font-size: 32px;
    }
    
    .example-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 12px;
    }
}
