/* Terms and Conditions Modern Styles */
.terms-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.dark-mode .terms-hero {
    background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.terms-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: pulse 2s infinite;
}

.terms-icon i {
    font-size: 36px;
    color: white;
}

.terms-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.terms-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.terms-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    animation: float 20s infinite ease-in-out;
}

.terms-orb-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.terms-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation-delay: 7s;
}

/* Terms Content */
.terms-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.terms-last-updated {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 40px;
    padding: 12px 24px;
    background: white;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark-mode .terms-last-updated {
    background: #1e293b;
    color: #94a3b8;
}

.terms-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.dark-mode .terms-section {
    background: #1e293b;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.dark-mode .section-title {
    color: #f1f5f9;
}

.section-content {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}

.dark-mode .section-content {
    color: #cbd5e1;
}

.section-content p {
    margin-bottom: 16px;
}

.section-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.section-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 8px;
}

.section-content li::marker {
    color: #667eea;
}

.warning-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-left: 4px solid #ef4444;
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.dark-mode .warning-box {
    background: linear-gradient(135deg, #1e1b1b 0%, #2d1f1f 100%);
}

.warning-box-title {
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 8px;
    font-size: 16px;
}

.info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #3b82f6;
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.dark-mode .info-box {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.info-box-title {
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
    font-size: 16px;
}

.acceptance-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #22c55e;
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
    text-align: center;
}

.dark-mode .acceptance-box {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.acceptance-box-title {
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-footer {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-top: 40px;
}

.dark-mode .contact-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.contact-footer-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.dark-mode .contact-footer-title {
    color: #f1f5f9;
}

.contact-footer-text {
    color: #64748b;
    margin-bottom: 24px;
}

.dark-mode .contact-footer-text {
    color: #94a3b8;
}

.contact-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    .terms-title {
        font-size: 32px;
    }
    
    .terms-section {
        padding: 32px 24px;
    }
}
