/* ============================================
   DateRounds Learn More Page Styles
   Page-specific styles for learn-more.php
   ============================================ */

.content-section {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
}

.content-section h2 {
    color: var(--teal-dark);
    border-bottom: 3px solid var(--teal);
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.content-section h3 {
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.step-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.step-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--teal);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.2);
}

.step-number {
    display: inline-block;
    background: var(--gradient-primary);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.step-card h4 {
    color: var(--teal-dark);
    margin: 10px 0;
    font-size: 1.2em;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

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

.feature-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--teal);
}

.feature-item h4 {
    color: var(--teal-dark);
    margin-top: 0;
    font-size: 1.1em;
}

.feature-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

.code-example {
    background: #2d2d2d;
    color: #00ff00;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 1.1em;
    text-align: center;
    margin: 20px 0;
    border: 2px solid var(--teal);
}

.code-label {
    color: var(--teal-light);
    font-size: 0.9em;
    display: block;
    margin-bottom: 5px;
}

.use-case-box {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.05) 0%, rgba(123, 44, 191, 0.04) 100%);
    padding: 25px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    border-left: 5px solid var(--teal);
}

.use-case-box h4 {
    color: var(--teal-dark);
    margin-top: 0;
    font-size: 1.3em;
}

.use-case-box ul {
    margin: 10px 0;
    padding-left: 25px;
}

.use-case-box li {
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-highlights {
    background: rgba(40, 167, 69, 0.08);
    border: 2px solid rgba(40, 167, 69, 0.4);
    border-radius: var(--radius-md);
    padding: 25px;
    margin: 25px 0;
}

.privacy-highlights h4 {
    color: #155724;
    margin-top: 0;
    font-size: 1.3em;
}

.privacy-highlights ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.privacy-highlights li {
    color: #155724;
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
}

.privacy-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.3em;
}

.video-container {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin: 30px 0;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    background: #2d2d2d;
    color: var(--teal-light);
    padding: 80px 20px;
    text-align: center;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.video-placeholder h4 {
    color: var(--teal-light);
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.video-placeholder p {
    color: #999;
    margin: 0;
}

.cta-box {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 40px auto;
    max-width: 700px;
}

.cta-box h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 2em;
}

.cta-box p {
    font-size: 1.2em;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-box .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-box .btn-white {
    background: #ffffff;
    color: var(--teal-dark);
    padding: 16px 40px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15em;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-box .btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--bg-card);
}

.comparison-table th {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-size: 1.1em;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:hover {
    background: var(--bg-secondary);
}

.check-mark {
    color: var(--success);
    font-weight: bold;
    font-size: 1.3em;
}

.x-mark {
    color: var(--error);
    font-weight: bold;
    font-size: 1.3em;
}

.inner-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-xxl);
}

@media (max-width: 768px) {
    .inner-page-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .content-section {
        padding: 25px 20px;
    }

    .content-section h2 {
        font-size: 1.5em;
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 30px 20px;
        margin: 20px 15px;
        max-width: calc(100% - 30px);
        width: calc(100% - 30px);
        box-sizing: border-box;
    }

    .cta-box h3 {
        font-size: 1.5em;
    }

    .cta-box .cta-buttons {
        flex-direction: column;
    }

    .cta-box .btn-white {
        width: 100%;
        box-sizing: border-box;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 25px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.85em;
        word-wrap: break-word;
    }

    .comparison-table th {
        font-size: 0.8em;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        width: 40%;
    }

    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2),
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) {
        width: 30%;
        text-align: center;
    }
}
