/* ============================================
   TERMS OF SERVICE PAGE STYLES
   OWANLY - Owan Language Learning Platform
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.terms-hero {
    background: linear-gradient(135deg, var(--apple-emerald) 0%, var(--apple-emerald-light) 100%);
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

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

.terms-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.terms-divider {
    width: 100px;
    height: 4px;
    background: var(--apple-green);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.terms-updated {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* ============================================
   TERMS CONTENT
   ============================================ */
.terms-content {
    padding: 4rem 1.5rem;
    background: var(--gray-50);
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   TERMS SECTIONS
   ============================================ */
.terms-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition-fast);
}

.terms-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.terms-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.section-number {
    color: var(--apple-emerald);
    font-weight: 800;
}

.terms-section p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section strong {
    color: var(--gray-800);
}

/* ============================================
   TERMS LISTS
   ============================================ */
.terms-list {
    list-style: none;
    margin: 1rem 0;
}

.terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
    line-height: 1.5;
}

.terms-list li i {
    color: var(--apple-green-dark);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Warning list (red X icons) */
.terms-list-warning li i {
    color: var(--coral);
}

/* Neutral list (gray icons) */
.terms-list-neutral li i {
    color: var(--gray-400);
}

/* ============================================
   SPECIAL ELEMENTS
   ============================================ */

/* Notice Box */
.terms-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.terms-notice i {
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.terms-notice p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Highlight Box */
.terms-highlight {
    background: rgba(151, 241, 56, 0.1);
    border-left: 4px solid var(--apple-green);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1rem 0;
}

.terms-highlight p {
    margin: 0;
    color: var(--gray-700);
    font-style: italic;
}

/* Card Style */
.terms-card {
    background: linear-gradient(135deg, var(--apple-emerald) 0%, var(--apple-emerald-light) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1rem 0;
}

.terms-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.terms-card h3 i {
    color: var(--apple-green);
}

.terms-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Contact Card */
.contact-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-top: 0.5rem;
}

.contact-card i {
    color: var(--apple-emerald);
    font-size: 1.5rem;
}

.contact-card a {
    color: var(--apple-emerald);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: var(--apple-green-dark);
    text-decoration: underline;
}

/* ============================================
   AGREEMENT STATEMENT
   ============================================ */
.terms-agreement {
    background: var(--apple-emerald);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.terms-agreement p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .terms-hero {
        padding: 7rem 1rem 3rem;
    }

    .terms-content {
        padding: 2rem 1rem;
    }

    .terms-section {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .terms-section h2 {
        font-size: 1.2rem;
    }

    .terms-notice {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-card {
        width: 100%;
        justify-content: center;
    }

    .terms-agreement {
        padding: 1.5rem;
    }

    .terms-agreement p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .terms-hero-title {
        font-size: 2rem;
    }

    .terms-section {
        padding: 1.25rem;
    }

    .terms-list li {
        font-size: 0.95rem;
    }
}
