/* terms.css */

/* Terms and Conditions Page Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--light-bg);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-brand .logo {
    height: 40px;
    margin-right: 0.5rem;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: -2px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .btn {
    margin-left: 0.5rem;
}

/* Terms Section */
.terms-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 200px);
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
}

.terms-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.terms-header .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.terms-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
}

.terms-badge i {
    margin-right: 0.5rem;
}

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

.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Terms Section Items */
.terms-section-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.terms-section-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section-item h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.terms-section-item h2 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.terms-section-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Security Note */
.security-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.security-note i {
    color: #f59e0b;
    margin-top: 0.25rem;
}

.security-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.security-note a:hover {
    text-decoration: underline;
}

/* Pricing Info */
.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pricing-icon i {
    font-size: 1.5rem;
    color: white;
}

.pricing-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pricing-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Payment Note */
.payment-note {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.payment-note i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.payment-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.payment-note a:hover {
    text-decoration: underline;
}

/* Prohibited Actions */
.prohibited-actions {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.prohibited-actions h4 {
    color: #991b1b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.prohibited-list {
    list-style: none;
    padding: 0;
}

.prohibited-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.prohibited-list li:last-child {
    margin-bottom: 0;
}

.prohibited-list li i {
    color: var(--danger-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 1rem;
}

/* IP Warning */
.ip-warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ip-warning i {
    color: #f59e0b;
    margin-top: 0.25rem;
}

/* Privacy Link */
.privacy-link {
    text-align: center;
    margin: 1.5rem 0;
}

.privacy-link .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.privacy-link .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Liability Info */
.liability-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.liability-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.liability-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-color), #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.liability-icon i {
    font-size: 1.5rem;
    color: white;
}

.liability-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.liability-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Termination Note */
.termination-note {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.termination-note i {
    color: var(--danger-color);
    margin-top: 0.25rem;
}

/* Legal Info */
.legal-info {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.legal-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.legal-item:last-child {
    margin-bottom: 0;
}

.legal-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
}

/* Changes Note */
.changes-note {
    background: #d1fae5;
    border: 1px solid var(--success-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.changes-note i {
    color: var(--success-color);
    margin-top: 0.25rem;
}

/* Contact Info */
.contact-info {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Responsive Design - Apply 7% Cushion System */
@media (max-width: 768px) {
    /* Apply 7% cushion to prevent content from going off-screen */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* Apply 7% horizontal padding to main content containers */
    .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure navbar stays full width (no cushion) */
    .navbar .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .terms-section {
        padding: 2rem 0 !important;
    }
    
    .content-card {
        padding: 2rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .terms-header h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .pricing-info,
    .liability-info {
        grid-template-columns: 1fr !important;
    }
    
    .legal-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .legal-item i {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Footer adjustments */
    .footer .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }
}

@media (max-width: 576px) {
    /* Maintain 7% cushion on very small screens */
    .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }
    
    .content-card {
        padding: 1.5rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .terms-header h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .terms-section-item h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .footer .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .security-note,
    .payment-note,
    .ip-warning,
    .termination-note,
    .changes-note {
        flex-direction: column;
        text-align: center;
    }
    
    .security-note i,
    .payment-note i,
    .ip-warning i,
    .termination-note i,
    .changes-note i {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
}

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

.content-card {
    animation: fadeInUp 0.6s ease forwards;
}

.pricing-card,
.liability-card {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}
