
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #020122 0%, #1a1a3a 50%, #020122 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* Background Decorations */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #F4442E, #ff6b4a);
    opacity: 0.03;
    animation: float 12s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 5%;
    left: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: -100px;
    animation-delay: 4s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 20%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-40px) rotate(120deg) scale(1.1); }
    66% { transform: translateY(20px) rotate(240deg) scale(0.9); }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #020122;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 44px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #020122;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 4px;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: #F4442E;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 30px;
    background: rgba(255, 255, 255, 0.95);
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F4442E, #ff6b4a);
}

.hero-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #F4442E, #ff6b4a);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-icon i {
    font-size: 3rem;
    color: white;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: #020122;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 25px;
    color: #666;
    font-weight: 600;
    border: 2px solid #e9ecef;
}

.last-updated i {
    color: #F4442E;
}

/* Terms Navigation */
.terms-nav {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 30px;
}

.nav-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-container h3 {
    color: #020122;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-container h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(45deg, #F4442E, #ff6b4a);
    border-radius: 2px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-link {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 68, 46, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: linear-gradient(45deg, #F4442E, #ff6b4a);
    border-color: #F4442E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 68, 46, 0.3);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.content-section {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #020122;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header h2 i {
    color: #F4442E;
    font-size: 2rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Terms Content */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.term-item {
    margin-bottom: 40px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.term-item:hover {
    border-color: #F4442E;
    box-shadow: 0 10px 30px rgba(244, 68, 46, 0.1);
}

.term-item h3 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #020122;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 25px 30px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.term-item h3 i {
    color: #F4442E;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.term-content {
    padding: 30px;
    background: white;
}

.term-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.term-content ul {
    list-style: none;
    padding-left: 0;
}

.term-content li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.term-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #F4442E;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 68, 46, 0.05), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    border-color: #F4442E;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(244, 68, 46, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #F4442E, #ff6b4a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: #020122;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: #666;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.contact-link {
    color: #F4442E;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-link:hover {
    color: #020122;
    text-decoration: underline;
}

/* Legal Notice */
.legal-notice {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.legal-notice h3 {
    color: #020122;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-notice h3 i {
    color: #F4442E;
}

.legal-notice p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Acceptance Section */
.acceptance-section {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 50px;
    margin: 40px auto;
    max-width: 1200px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 3px solid #F4442E;
}

.acceptance-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.acceptance-content h3 {
    color: #020122;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.acceptance-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.acceptance-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #020122;
    padding: 15px 25px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.checkbox-container:hover {
    border-color: #F4442E;
    background: rgba(244, 68, 46, 0.05);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container input:checked + .checkmark {
    background: linear-gradient(45deg, #F4442E, #ff6b4a);
    border-color: #F4442E;
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accept-btn {
    background: linear-gradient(45deg, #F4442E, #ff6b4a);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.accept-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.accept-btn:not(:disabled)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.accept-btn:not(:disabled):hover::before {
    left: 100%;
}

.accept-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 68, 46, 0.4);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 60px;
    padding: 50px 0 30px;
    backdrop-filter: blur(10px);
    border-top: 3px solid #F4442E;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #020122;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: #F4442E;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
    }

    .content-section {
        padding: 30px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .term-item h3 {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .term-content {
        padding: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .acceptance-section {
        padding: 30px 20px;
    }

    .acceptance-actions {
        gap: 15px;
    }

    .checkbox-container {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .term-item h3 {
        font-size: 1.2rem;
    }

    .accept-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* Print Styles */
@media print {
    .bg-decoration,
    .circle,
    .acceptance-section,
    .nav {
        display: none !important;
    }
    
    .content-section {
        display: block !important;
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .hero {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
