body {
    font-family: 'Playfair Display', serif;
    background-color: #f8f9fc;
}

.doc-container {
    max-width: 56.25rem; /* 900px equivalent */
    margin: 0 auto;
    padding-top: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.125rem solid #f1f1f1;
}

.section-header i {
    color: #72d4d4;
    font-size: 1.25rem;
    margin-right: 0.75rem; /* 12px equivalent */
}

.section-header h5 {
    margin-bottom: 0;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #333;
}

.instruction-list {
    list-style: none;
    padding-left: 0;
    max-width: 40.625rem; /* 650px equivalent */
    margin: 0 auto 3rem auto;
    display: grid;
    gap: 2.5rem;
}

.instruction-list li {
    display: grid;
    grid-template-columns: 2.25rem 1fr; /* 36px equivalent */
    gap: 1.25rem;
    align-items: start;
    font-family: 'Roboto', sans-serif;
    color: #555;
    line-height: 1.6;
}

.step-bubble {
    background-color: #72d4d4;
    color: white;
    border-radius: 50%;
    width: 2rem; /* 32px equivalent */
    height: 2rem; /* 32px equivalent */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0.25rem 0.625rem rgba(114, 212, 212, 0.25);
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
    margin-top: 0.125rem; /* 2px equivalent */
}

.step-content {
    text-align: justify;
    font-size: 1rem;
}

.step-content strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem; /* 4px equivalent */
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.lang-toggle-btn {
    padding: 0.5rem 1.25rem; /* 8px 20px equivalent */
    border-radius: 3.125rem; /* 50px equivalent */
    border: 0.09375rem solid white; /* 1.5px equivalent */
    background: white;
    color: #469393;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 8px equivalent */
}

.lang-toggle-btn:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 0.9375rem rgba(0, 0, 0, 0.15);
    background: #f8fdfd;
    color: #72d4d4;
}

.lang-toggle-btn i {
    font-size: 1rem;
    opacity: 0.9;
}

.feature-box {
    background-color: #fcfcfc;
    border: 0.0625rem solid #eee;
    border-radius: 0.5rem; /* 8px equivalent */
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover {
    background-color: #ffffff;
    border-color: #72d4d4;
    transform: translateY(-0.25rem); /* 4px equivalent */
    box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.05) !important;
}

.hover-teal:hover i {
    color: #72d4d4 !important;
    transform: scale(1.1);
}

.transition-all {
    transition: all 0.3s ease;
}

.badge-premium {
    background-color: #e3f7f7;
    color: #469393;
    padding: 0.25rem 0.625rem; /* 4px 10px equivalent */
    border-radius: 0.25rem; /* 4px equivalent */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03125rem; /* 0.5px equivalent */
    margin-right: 0.5rem; /* 8px equivalent */
}

.alert-premium {
    border-left: 0.3125rem solid #72d4d4; /* 5px equivalent */
    background-color: #f8fdfd;
    padding: 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0; /* 8px equivalent */
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
}

.pdf-link {
    color: #469393;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.pdf-link:hover {
    color: #72d4d4;
    text-decoration: underline;
}

[lang="vi"] { display: none !important; }
body.lang-vi [lang="en"] { display: none !important; }
body.lang-vi [lang="vi"] { display: inline !important; }
body.lang-vi div[lang="vi"], body.lang-vi p[lang="vi"], body.lang-vi h5[lang="vi"], body.lang-vi ul[lang="vi"] { display: block !important; }
body.lang-vi span.step-badge { display: inline-flex !important; }

.btn-ui-preview {
    background-color: #72d4d4;
    color: white;
    padding: 0.125rem 0.625rem; /* 2px 10px equivalent */
    border-radius: 0.25rem; /* 4px equivalent */
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
    margin: 0 0.25rem; /* 4px equivalent */
}

/* --- Utility --- */
.text-teal { color: #72d4d4 !important; }

/* --- Hero Section --- */
.doc-hero {
    text-align: center;
    padding: 2.5rem 2rem 2rem;
}

.doc-hero .hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #2D2D2D;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.doc-hero .hero-headline span {
    color: #72d4d4;
}

.doc-hero .hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    color: #6B7280;
    max-width: 34rem;
    margin: 0 auto 0.5rem;
    line-height: 1.6;
}

.doc-hero .lang-toggle-btn {
    margin-bottom: 1.75rem;
}

/* --- Getting Started Grid --- */
.getting-started-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.gs-card {
    background: #FAF8F6;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

a.gs-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #72d4d4;
    color: inherit;
    text-decoration: none;
}

.gs-step-bubble {
    background: #72d4d4;
    color: white;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 10px rgba(114, 212, 212, 0.25);
}

.gs-card h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #2D2D2D;
    margin-bottom: 0.4rem;
}

.gs-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0;
    line-height: 1.5;
}

.gs-card p a {
    color: #469393;
    font-weight: 500;
    text-decoration: none;
}

.gs-card p a:hover {
    text-decoration: underline;
    color: #72d4d4;
}

/* --- Feature Group Labels --- */
.feature-group-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #469393;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(114, 212, 212, 0.3);
}

.feature-group-label i {
    font-size: 1rem;
    color: #72d4d4;
}

/* --- Feature Box Variants --- */
.feature-box.feature-eod {
    border-left: 4px solid #72d4d4;
    padding-left: 1.25rem;
}

.feature-box.feature-biw {
    border-left: 4px solid #469393;
    padding-left: 1.25rem;
}

.feature-box.feature-autofill {
    border-left: 4px solid #9AA5B0;
    padding-left: 1.25rem;
}

.feature-box p {
    text-align: left;
}

/* --- Video Link Hint --- */
.video-link-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.video-link-hint i {
    color: #FF0000;
    font-size: 1.1rem;
}

/* --- Compliance Section --- */
.compliance-box {
    background: #F0FAFA;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.compliance-box .compliance-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.compliance-box .compliance-item + .compliance-item {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(114, 212, 212, 0.25);
}

.compliance-box .compliance-item i {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.compliance-box .compliance-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 0.2rem;
}

.compliance-box .compliance-item span,
.compliance-box .compliance-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.925rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

.compliance-box .compliance-item p:last-child {
    margin-bottom: 0;
}

/* --- Reference Link Cards --- */
.ref-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ref-link-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    background: #FAF8F6;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    color: #2D2D2D;
    font-family: 'Roboto', sans-serif;
}

.ref-link-card:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #72d4d4;
    transform: translateY(-1px);
}

.ref-link-card .ref-icon {
    font-size: 1.4rem;
    color: #72d4d4;
    flex-shrink: 0;
}

.ref-link-card .ref-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2D2D2D;
}

.ref-link-card .ref-hint {
    font-size: 0.8rem;
    color: #6B7280;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 48rem) {
    .getting-started-grid {
        grid-template-columns: 1fr;
    }

    .ref-links {
        grid-template-columns: 1fr;
    }

    .doc-hero {
        padding: 1.5rem 1rem 1.25rem;
    }
}

/* --- State-specific Borders and Colors --- */
.border-left-teal {
    border-left: 0.25rem solid #72d4d4 !important;
}
.border-left-orange {
    border-left: 0.25rem solid #ff9f43 !important;
}
.border-left-secondary {
    border-left: 0.25rem solid #6c757d !important;
}
.bg-teal-light {
    background-color: #e3f7f7 !important;
}
.bg-orange-light {
    background-color: #fff3e0 !important;
}
.text-orange {
    color: #ff9f43 !important;
}

/* --- FAQ Cards Styling --- */
.faq-container .feature-box {
    border-left: 0.25rem solid #469393 !important;
    background-color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-container .feature-box:hover {
    border-left-color: #72d4d4 !important;
}

.faq-container .feature-box h6 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-bottom: 0.75rem !important;
    transition: color 0.3s ease;
}

.faq-container .feature-box:hover h6 {
    color: #469393 !important;
}

.faq-container .feature-box p {
    color: #4a5568 !important;
    line-height: 1.6 !important;
}

