* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff758c;
    --primary-gradient: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    --bg-dark: #0f0f12;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #f9f9f9;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 15px;
}

.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 117, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 117, 140, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 117, 140, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 117, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 117, 140, 0); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
    font-weight: 300;
}

.nav-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/hero_bg.png') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0f0f12 10%, rgba(15, 15, 18, 0.5) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 6%;
}

.badge {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 117, 140, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 117, 140, 0.5);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(255,117,140,0.1), rgba(255,126,179,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Info Section */
.info-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #16161a);
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-text h3 {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 400;
}

.info-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-list i {
    color: var(--primary);
    margin-top: 5px;
}

.info-image {
    position: relative;
    height: 400px;
    background: url('assets/hero_bg.png') no-repeat right center/cover;
    border-radius: 20px;
}

.info-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(15,15,18,0.8), transparent);
    border-radius: 20px;
}

.glass-plate {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(25, 25, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 40px;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
}

.stat p {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Checkout Section */
.checkout {
    padding: 100px 0;
    background: #0f0f12;
}

.checkout-header {
    text-align: center;
    margin-bottom: 50px;
}

.checkout-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a20;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.order-summary {
    background: rgba(255, 117, 140, 0.05);
    padding: 30px 40px;
    border-bottom: 1px solid var(--glass-border);
}

.order-summary h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px dashed rgba(255,255,255,0.2);
    font-size: 1.2rem;
}

.total-price {
    font-size: 1.8rem;
}

.checkout-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.w-50 {
    width: 50%;
}

.checkout-form label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.95rem;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.form-select {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.checkout-form input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 117, 140, 0.2);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.form-select option {
    background: #1a1a20;
    color: white;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--primary);
}

.form-section-title i {
    margin-right: 10px;
}

.elegant-payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ep-radio input[type="radio"] {
    display: none;
}

.ep-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.02);
}

.ep-label i {
    font-size: 1.5rem;
}

.ep-radio input[type="radio"]:checked + .ep-label {
    border-color: var(--primary);
    background: linear-gradient(90deg, rgba(255,117,140,0.1) 0%, transparent 100%);
    color: var(--text-main);
    box-shadow: inset 4px 0 0 0 var(--primary);
}

.consent-group {
    margin: 30px 0;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    margin-top: 3px;
    cursor: pointer;
}

.consent-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    border-radius: 12px;
}

.secure-checkout {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.secure-checkout i {
    color: #4CAF50;
    margin-right: 5px;
}

/* Footer */
footer {
    background: #0a0a0c;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer .logo {
    margin-bottom: 10px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .info-container { grid-template-columns: 1fr; }
    .info-image { height: 300px; order: -1; }
    .glass-plate { left: 20px; right: 20px; bottom: -20px; justify-content: space-around; }
    .form-row { flex-direction: column; gap: 0; }
    .w-50 { width: 100%; }
    .payment-methods { grid-template-columns: 1fr; }
    .checkout-form { padding: 30px 20px; }
}
