.terms-wrapper {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0 4rem;
}

.terms-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.terms-hero {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 24px;
    color: white;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 48px rgba(30, 64, 175, 0.25);
}

.terms-hero-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: termsFloat 3s ease-in-out infinite;
}

@keyframes termsFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
}

.terms-hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.terms-hero-subtitle {
    font-size: 1.15rem;
    color: #bfdbfe;
    margin: 0;
    font-weight: 400;
}

.terms-main-content {
    background: white;
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

.terms-intro-card {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border-left: 5px solid #2563eb;
}

.terms-intro-icon {
    font-size: 2.5rem;
    color: #1e40af;
    flex-shrink: 0;
}

.terms-intro-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
}

.terms-intro-desc {
    font-size: 1.05rem;
    color: #1e40af;
    line-height: 1.8;
    margin: 0;
}

.terms-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 4px solid #2563eb;
    display: inline-block;
}

.terms-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 1.25rem;
}

.terms-content-block {
    margin-bottom: 3.5rem;
}

.terms-content-block:last-of-type {
    margin-bottom: 0;
}

.terms-content-section {
    margin-bottom: 2.5rem;
}

.terms-subsection-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid #2563eb;
}

.terms-definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.terms-definition-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.terms-definition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.terms-definition-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.terms-definition-term {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.terms-definition-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.terms-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.terms-service-item {
    background: white;
    padding: 1.75rem;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.terms-service-item:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.terms-service-item i {
    font-size: 2.25rem;
    color: #2563eb;
    margin-bottom: 1rem;
    display: block;
}

.terms-service-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.terms-service-item p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.terms-highlight-box {
    display: flex;
    gap: 1.25rem;
    align-items: start;
    padding: 1.75rem;
    border-radius: 14px;
    margin: 1.5rem 0;
}

.terms-highlight-box i {
    font-size: 2rem;
    flex-shrink: 0;
}

.terms-highlight-box.terms-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fcd34d;
}

.terms-highlight-box.terms-warning i {
    color: #d97706;
}

.terms-highlight-box.terms-warning .terms-text {
    color: #78350f;
    margin: 0;
}

.terms-rules-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.terms-rules-list li {
    padding: 1rem 1.5rem 1rem 3.5rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    position: relative;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
}

.terms-rules-list li:before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.terms-rules-list li:hover {
    background: #e0f2fe;
    transform: translateX(6px);
}

.terms-security-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 2rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #a7f3d0;
}

.terms-security-icon {
    flex-shrink: 0;
}

.terms-security-icon i {
    font-size: 3rem;
    color: #059669;
}

.terms-security-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 1rem;
}

.terms-security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-security-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: #064e3b;
    font-size: 0.95rem;
}

.terms-security-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.terms-responsibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.terms-responsibility-card {
    border-radius: 16px;
    padding: 2rem;
    border: 3px solid;
}

.terms-responsibility-card.terms-do {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.terms-responsibility-card.terms-dont {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fca5a5;
}

.terms-responsibility-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.terms-responsibility-header i {
    font-size: 2rem;
}

.terms-do .terms-responsibility-header i {
    color: #16a34a;
}

.terms-dont .terms-responsibility-header i {
    color: #dc2626;
}

.terms-responsibility-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.terms-do .terms-responsibility-header h3 {
    color: #15803d;
}

.terms-dont .terms-responsibility-header h3 {
    color: #b91c1c;
}

.terms-responsibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-responsibility-list li {
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
}

.terms-do .terms-responsibility-list li {
    border-left: 3px solid #16a34a;
    color: #14532d;
}

.terms-dont .terms-responsibility-list li {
    border-left: 3px solid #dc2626;
    color: #7f1d1d;
}

.terms-responsibility-list li:before {
    position: absolute;
    left: 0.75rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.terms-do .terms-responsibility-list li:before {
    content: '✓';
    color: #16a34a;
}

.terms-dont .terms-responsibility-list li:before {
    content: '✗';
    color: #dc2626;
}

.terms-ip-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 2rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #e9d5ff;
}

.terms-ip-icon i {
    font-size: 3rem;
    color: #a855f7;
}

.terms-notice-box {
    display: flex;
    gap: 1.25rem;
    align-items: start;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    padding: 1.75rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #fdba74;
}

.terms-notice-box i {
    font-size: 2rem;
    color: #ea580c;
    flex-shrink: 0;
}

.terms-notice-box .terms-text {
    color: #7c2d12;
    margin: 0;
}

.terms-liability-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 2rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #fca5a5;
}

.terms-liability-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 1rem;
}

.terms-liability-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.terms-liability-list li {
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 8px;
    position: relative;
    color: #7f1d1d;
    border-left: 3px solid #dc2626;
}

.terms-liability-list li:before {
    content: '•';
    position: absolute;
    left: 1rem;
    color: #dc2626;
    font-weight: bold;
    font-size: 1.3rem;
}

.terms-disclaimer-box {
    display: flex;
    gap: 1.25rem;
    align-items: start;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 1.75rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #bfdbfe;
}

.terms-disclaimer-box i {
    font-size: 2rem;
    color: #2563eb;
    flex-shrink: 0;
}

.terms-disclaimer-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.terms-disclaimer-box .terms-text {
    color: #1e3a8a;
    margin: 0;
}

.terms-termination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.terms-termination-item {
    background: white;
    padding: 1.75rem;
    border-radius: 14px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.terms-termination-item:hover {
    border-color: #ef4444;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.terms-termination-item i {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.terms-termination-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.terms-termination-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.terms-privacy-link-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #bae6fd;
}

.terms-privacy-icon i {
    font-size: 3rem;
    color: #0284c7;
}

.terms-privacy-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #075985;
    margin-bottom: 1rem;
}

.terms-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.terms-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.terms-link-primary {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    background: #dbeafe;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.terms-link-primary:hover {
    background: #2563eb;
    color: white;
}

.terms-third-party-box {
    display: flex;
    gap: 1.25rem;
    align-items: start;
    background: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);
    padding: 1.75rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #fde047;
}

.terms-third-party-box i {
    font-size: 2rem;
    color: #ca8a04;
    flex-shrink: 0;
}

.terms-third-party-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #854d0e;
    margin-bottom: 0.5rem;
}

.terms-third-party-box .terms-text {
    color: #713f12;
    margin: 0;
}

.terms-updates-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 2rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #bbf7d0;
}

.terms-updates-icon i {
    font-size: 2.5rem;
    color: #16a34a;
}

.terms-law-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 14px;
    margin: 2rem 0;
    border: 2px solid #cbd5e1;
}

.terms-law-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.terms-contact-section {
    margin: 2rem 0;
}

.terms-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.terms-contact-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.terms-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.terms-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    color: white;
    font-size: 1.75rem;
}

.terms-contact-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.terms-contact-card p {
    font-size: 0.95rem;
    color: #475569;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.terms-contact-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.terms-contact-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.terms-acceptance-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    color: white;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3);
}

.terms-acceptance-icon i {
    font-size: 3.5rem;
    color: #fbbf24;
}

.terms-acceptance-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.terms-acceptance-content .terms-text {
    color: #bfdbfe;
    margin: 0;
    font-size: 1.05rem;
}

.terms-footer-note {
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 3px solid #e5e7eb;
    color: #64748b;
}

.terms-footer-note p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.terms-footer-note strong {
    color: #1e293b;
}

@media (max-width: 768px) {
    .terms-wrapper {
        padding: 1.5rem 0 3rem;
    }

    .terms-hero {
        padding: 2.5rem 1.5rem;
        border-radius: 18px;
        margin-bottom: 2rem;
    }

    .terms-hero-icon {
        font-size: 3.5rem;
    }

    .terms-hero-title {
        font-size: 2rem;
    }

    .terms-hero-subtitle {
        font-size: 1rem;
    }

    .terms-main-content {
        padding: 2.5rem 1.75rem;
        border-radius: 16px;
    }

    .terms-section-title {
        font-size: 1.65rem;
    }

    .terms-subsection-title {
        font-size: 1.25rem;
    }

    .terms-intro-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
    }

    .terms-definitions-grid {
        grid-template-columns: 1fr;
    }

    .terms-service-grid {
        grid-template-columns: 1fr;
    }

    .terms-responsibility-grid {
        grid-template-columns: 1fr;
    }

    .terms-termination-grid {
        grid-template-columns: 1fr;
    }

    .terms-contact-grid {
        grid-template-columns: 1fr;
    }

    .terms-acceptance-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .terms-hero {
        padding: 2rem 1.25rem;
    }

    .terms-hero-icon {
        font-size: 3rem;
    }

    .terms-hero-title {
        font-size: 1.75rem;
    }

    .terms-main-content {
        padding: 2rem 1.25rem;
    }

    .terms-section-title {
        font-size: 1.5rem;
    }

    .terms-intro-card {
        padding: 1.5rem;
    }

    .terms-definition-card {
        padding: 1.5rem;
    }

    .terms-service-item {
        padding: 1.5rem;
    }

    .terms-responsibility-card {
        padding: 1.5rem;
    }
}

