* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.header h1 {
    font-size: 20px;
    font-weight: 600;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-radius: 12px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 26px;
    color: #2e7d32;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Section Title */
.section-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    padding-left: 10px;
    border-left: 4px solid #4CAF50;
}

/* Features Grid */
.features-section {
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Service Info */
.service-info {
    margin-bottom: 30px;
}

.info-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.info-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #555;
    min-width: 90px;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    flex: 1;
}

.info-value.price {
    color: #f44336;
    font-size: 20px;
    font-weight: 600;
}

/* Form Section */
.form-section {
    margin-bottom: 20px;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.form-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: #4CAF50;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.service-price-info {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.service-price-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.price-highlight {
    color: #f44336;
    font-size: 24px;
    font-weight: 600;
}

/* Payment Container */
.payment-container {
    max-width: 600px;
    margin: 0 auto;
}

.order-info-card,
.service-detail-card,
.price-card,
.payment-method-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.order-details,
.service-description {
    font-size: 14px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
}

.detail-value {
    color: #333;
    font-weight: 500;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-list li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
}

.service-note {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.service-note p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.service-note p:last-child {
    margin-bottom: 0;
}

/* Price Card */
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
}

.price-row.total {
    border-top: 2px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 15px;
}

.price-row.total .price-label {
    font-size: 16px;
    font-weight: 600;
}

.price-row.total .price-value {
    font-size: 24px;
    color: #f44336;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    border-color: #4CAF50;
    background: #f1f8f4;
}

.payment-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 12px;
    color: #999;
}

.payment-check {
    font-size: 24px;
    color: #4CAF50;
    opacity: 0;
    transition: opacity 0.3s;
}

.payment-option input[type="radio"]:checked + .payment-option-content .payment-check {
    opacity: 1;
}

.agreement-section {
    margin: 20px 0;
}

.payment-tips {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.payment-tips p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.payment-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-tips li {
    font-size: 13px;
    color: #666;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.payment-tips li:before {
    content: "•";
    position: absolute;
    left: 5px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-pay {
    font-size: 18px;
    padding: 18px 30px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-links .divider {
    margin: 0 10px;
    color: #ddd;
}

.copyright,
.icp {
    font-size: 12px;
    color: #999;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .main-content {
        padding: 15px;
    }

    .form-card,
    .order-info-card,
    .service-detail-card,
    .price-card,
    .payment-method-card {
        padding: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.info-box,
.form-card {
    animation: fadeIn 0.6s ease-out;
}