/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f3f4f6;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 32px;
    border-top: 6px solid #2563eb;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    text-align: center;
}

.card-subtitle {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 24px;
    text-align: center;
}

.product-info-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.product-description {
    font-size: 15px;
    color: #374151;
    line-height: 1.7;
}

.price-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #1d4ed8;
}

.price-note {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.btn-primary {
    display: block;
    width: 100%;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-primary:active {
    transform: scale(0.98);
}

.features-list {
    margin-top: 32px;
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: #10b981;
    font-weight: bold;
    margin-right: 12px;
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.download-section {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.download-label {
    font-size: 15px;
    color: #166534;
    margin-bottom: 16px;
    font-weight: 600;
}

.btn-download {
    display: inline-block;
    background-color: #16a34a;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.2);
}

.btn-download:hover {
    background-color: #15803d;
}

.download-note {
    font-size: 13px;
    color: #4b5563;
    margin-top: 12px;
}

.manual-guide {
    margin-top: 14px;
    font-size: 14px;
}

.manual-guide a {
    color: #166534;
    font-weight: 600;
    text-decoration: underline;
}

.manual-guide a:hover {
    color: #15803d;
}

.support-info-box {
    text-align: center;
    margin-top: 24px;
    color: #6b7280;
    font-size: 14px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 16px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary:hover {
    text-decoration: underline;
}

/* Legal Pages Styles */
.legal-section {
    margin-bottom: 28px;
}

.legal-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e5e7eb;
}

.legal-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-list {
    margin-left: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #374151;
    line-height: 1.8;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background-color: #f9fafb;
    color: #374151;
    font-weight: 600;
    width: 30%;
}

.legal-table td {
    background-color: #ffffff;
    color: #4b5563;
}

.nav-back {
    text-align: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Footer Styles */
.site-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    list-style: none;
}

.footer-link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.copyright {
    color: #9ca3af;
}
