* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f1f5f9;
    color: #1e293b;
    line-height: 1.8;
}

.navbar {
    background: #ffffff;
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .nav-logo img {
        height: 32px;
    }
}


.btn-back {
    padding: 0.7rem 1.4rem;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-back:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 6rem 2rem 8rem;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.last-updated {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.content-container {
    max-width: 900px;
    margin: -60px auto 80px;
    padding: 0 1.5rem;
}

.tos-card {
    background: #ffffff;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.intro-box {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 2.5rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.tos-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.item-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: #cbd5e1;
    font-family: monospace;
}

.item-text h2 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.item-text p {
    margin-bottom: 1rem;
    color: #475569;
}

.item-text ul {
    list-style: none;
    margin-left: 0.5rem;
}

.item-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #475569;
}

.item-text li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.agreement-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}

@media (max-width: 768px) {
    .header h1 { font-size: 2.2rem; }
    .tos-card { padding: 2rem; }
    .tos-item { flex-direction: column; gap: 0.5rem; }
    .item-number { margin-bottom: 0.5rem; }
}

.contact-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-card span {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card strong {
    display: block;
    font-size: 1rem;
    color: #1e293b;
    word-break: break-all;
}

@media (max-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
