/* ==========================================================================
   Design Variables & Root Setup
   ========================================================================== */
:root {
    --primary-color: #ff6a00;
    --primary-hover: #e05e00;
    --light-orange: #fff5ee;
    --light-orange-border: #ffd8cc;
    --bg-light: #f8f8f8;
    --text-black: #111111;
    --text-muted: #555555;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Global Reset & Accessibility
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Accessible focus outlines */
button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.section-space {
    margin-bottom: 28px;
}

.icon-svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ==========================================================================
   Loading Overlay Screen
   ========================================================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* ==========================================================================
   Header Section
   ========================================================================== */
.site-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
}

.header-logo {
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 40px 0 24px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 1.85rem;
    color: var(--text-black);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.date-badge-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-orange);
    border: 1px solid var(--light-orange-border);
    color: var(--primary-hover);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.badge-date {
    color: var(--text-black);
}

/* ==========================================================================
   Notice Alert Cards & Badges
   ========================================================================== */
.alert-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.border-orange-thick {
    border-left: 6px solid var(--primary-color);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.alert-header h2 {
    font-size: 1.35rem;
    color: var(--text-black);
}

.color-primary {
    color: var(--primary-color);
}

.alert-text {
    font-size: 1.05rem;
    color: var(--text-black);
    margin-bottom: 16px;
}

.badge-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light-orange);
    border: 1px solid var(--light-orange-border);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--primary-hover);
    font-weight: 600;
    font-size: 0.95rem;
}

.warning-badge {
    background-color: #fff1f0;
    border-color: #ffa39e;
    color: #cf1322;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */
.toc-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.toc-title {
    font-size: 1.15rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-black);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    background-color: var(--bg-light);
    color: var(--text-black);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 500;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.toc-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Accordion Components
   ========================================================================== */
.accordion-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon {
    color: var(--primary-color);
}

.step-num {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.title-wrap h3 {
    font-size: 1.15rem;
    color: var(--text-black);
    font-weight: 600;
}

.accordion-summary {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.accordion-trigger-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.arrow-icon {
    transition: transform var(--transition-smooth);
}

.accordion-item.is-open .arrow-icon {
    transform: rotate(180deg);
}

/* Accordion Smooth Animation */
.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height var(--transition-smooth), opacity var(--transition-smooth), transform var(--transition-smooth);
}

.accordion-item.is-open .accordion-content {
    opacity: 1;
    transform: translateY(0);
}

.accordion-inner {
    padding: 0 20px 20px 20px;
    border-top: 1px solid var(--bg-light);
    margin-top: 4px;
    padding-top: 16px;
    color: var(--text-black);
}

/* ==========================================================================
   Inner Content Styling
   ========================================================================== */
.inline-badge-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-orange);
    border: 1px solid var(--light-orange-border);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    font-weight: 600;
    color: var(--primary-hover);
}

.highlight-large-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #cf1322;
    text-align: center;
}

.bg-orange-light {
    background-color: #fff1f0;
    border-color: #ffa39e;
}

.styled-list {
    list-style: none;
    margin: 12px 0;
}

.styled-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.styled-list li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 8px;
    top: -4px;
}

.info-card-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-top: 12px;
}

/* Delivery Layout */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.delivery-card {
    background-color: var(--light-orange);
    border: 1px solid var(--light-orange-border);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
}

.delivery-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-black);
}

.delay-notice-box {
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.highlight-badge-pill {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    margin-top: 8px;
    font-size: 0.95rem;
}

.disclaimer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Customer Steps */
.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: var(--bg-light);
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.step-circle {
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-body strong {
    color: var(--primary-hover);
    display: block;
    margin-bottom: 2px;
}

.policy-update-box {
    text-align: center;
    padding: 16px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.section-title-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.section-title-wrap h2 {
    font-size: 1.5rem;
    color: var(--text-black);
}

.faq-q-prefix {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.faq-item .accordion-header-left {
    gap: 10px;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cta-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--primary-hover);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .accordion-content,
    .arrow-icon,
    .reveal-on-scroll,
    .btn-primary,
    #loading-screen {
        transition: none !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.45rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .accordion-header {
        padding: 14px 16px;
    }

    .title-wrap h3 {
        font-size: 1rem;
    }

    .trigger-text {
        display: none; /* Hide button text on mobile for space */
    }

    .toc-grid {
        grid-template-columns: 1fr;
    }
}
