* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #fafbfc;
    color: #0b1b2b;
}

#publicApp {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
    background: linear-gradient(135deg, #0b1b2b 0%, #1a2f44 100%);
    color: white;
    border-radius: 32px;
    margin: 1.5rem 0 2.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.btn-hero {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: #2d7aff;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-hero:hover {
    background: #1a5fd9;
    transform: scale(1.02);
}

section {
    margin: 2.5rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #0b1b2b;
}

.service-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card, .product-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    text-align: center;
}

.service-card:hover, .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-card h3, .product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.service-card .price, .product-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b1b2b;
    margin: 0.5rem 0;
}

.service-card .duration {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-book, .btn-cart {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 30px;
    background: #0b1b2b;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-block;
}

.btn-book:hover, .btn-cart:hover {
    background: #1a2f44;
    transform: scale(1.02);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.product-card .desc {
    color: #4a5b6e;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.placeholder-img {
    width: 100%;
    height: 200px;
    background: #f0f4f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.cart-section {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f4f8;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-controls button {
    width: 30px;
    height: 30px;
    border: none;
    background: #e2e8f0;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
}

.cart-controls button:hover {
    background: #d0d9e3;
}

.btn-remove-cart {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.btn-remove-cart:hover {
    background: #fecaca !important;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 0;
    border-top: 2px solid #e2e8f0;
    margin-top: 0.5rem;
}

.btn-checkout {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 40px;
    background: #0b1b2b;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 0.5rem;
}

.btn-checkout:hover {
    background: #1a2f44;
    transform: scale(1.01);
}

.empty-cart {
    color: #6b7280;
    padding: 1rem 0;
}

footer {
    text-align: center;
    padding: 2rem 0 1rem;
    color: #6b7280;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Credentials Section */
.credentials-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 20px;
    border-left: 4px solid #2d7aff;
}

.credentials-section h2 {
    font-size: 1.6rem;
    color: #0b1b2b;
    margin-bottom: 0.8rem;
}

.credentials-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e2e3f;
    white-space: pre-line;
}

/* Policies Section */
.policies-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.policies-section h2 {
    font-size: 1.6rem;
    color: #0b1b2b;
    margin-bottom: 1.2rem;
}

.policies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.policy-item {
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.policy-toggle {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b1b2b;
    transition: background 0.15s;
    font-family: inherit;
}

.policy-toggle:hover {
    background: #f0f4f8;
}

.policy-toggle span:first-child {
    flex: 1;
    text-align: left;
}

.policy-arrow {
    font-size: 0.8rem;
    color: #6b7280;
    transition: transform 0.2s;
}

.policy-content {
    padding: 0 1.2rem 1.2rem;
    color: #4a5b6e;
    font-size: 0.95rem;
    line-height: 1.6;
}

.policy-content.hidden {
    display: none;
}

.policy-content p {
    margin: 0;
}

/* Social Footer - Clean Style */
.social-footer {
    padding: 1.5rem 0 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.social-label {
    font-weight: 600;
    color: #0b1b2b;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #f0f4f8;
    color: #0b1b2b;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    letter-spacing: 0.3px;
}

.social-link:hover {
    background: var(--social-color, #0b1b2b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: var(--social-color, #0b1b2b);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal {
    background: white;
    border-radius: 32px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h2 {
    margin-bottom: 1.5rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkout-form input, .checkout-form textarea {
    padding: 0.8rem 1rem;
    border: 1.5px solid #dbe2e9;
    border-radius: 12px;
    font-size: 1rem;
}

.checkout-form input:focus, .checkout-form textarea:focus {
    outline: none;
    border-color: #2d7aff;
}

.order-summary {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    margin: 0.5rem 0;
}

.btn-place {
    padding: 0.8rem;
    border: none;
    border-radius: 40px;
    background: #0b1b2b;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-place:hover {
    background: #1a2f44;
}

.btn-close-modal {
    padding: 0.6rem;
    border: none;
    background: #e2e8f0;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
}

.confirmation-message {
    background: #f0fdf4;
    border: 2px solid #10b981;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0 2rem;
}

.confirmation-message .code-highlight {
    background: #0b1b2b;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.btn-primary {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 30px;
    background: #0b1b2b;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.15s;
    margin-top: 0.5rem;
}

.btn-primary:hover {
    background: #1a2f44;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .service-grid, .product-grid {
        grid-template-columns: 1fr;
    }
    .cart-item {
        flex-direction: column;
        align-items: stretch;
    }
    .cart-controls {
        justify-content: center;
    }
    .modal {
        padding: 1.5rem;
    }
    .policies-grid {
        grid-template-columns: 1fr;
    }
    .credentials-section {
        padding: 1.5rem;
    }
    .social-icons {
        gap: 0.4rem;
    }
    .social-link {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    #publicApp {
        padding: 0 0.5rem;
    }
    .hero {
        padding: 2rem 1rem;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .policies-grid {
        grid-template-columns: 1fr;
    }
    .social-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}