/* 
  Hoji Digital - Premium Design System (Vanilla CSS)
  Author: Antigravity
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;800;900&display=swap');

:root {
    /* Color Palette - Hoji Digital Professional Emerald & Gold */
    --primary: #022c1e;
    /* Denser, cleaner Emerald */
    --primary-light: #064e3b;
    --primary-container: #013220;
    --secondary: #ffbe00;
    /* Rich Amber Gold */
    --secondary-container: #ffdf00;
    /* Vibrant Sun Gold */
    --on-secondary-container: #3d2b00;
    --background: #fdfdfc;
    /* Warmer, cleaner background */
    --surface: #ffffff;
    --surface-container: #f0f4f1;
    /* Hint of green to keep it fresh */
    --text: #0a0f0b;
    --text-muted: #4a5d52;
    --outline: #bbcbc2;
    --error: #ba1a1a;

    --material-symbols: 'Material Symbols Outlined';

    /* Typography */
    --font-headline: 'Noto Sans TC', sans-serif;
    --font-body: 'Noto Sans TC', sans-serif;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 83, 27, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------
   FORCE FONT ACTIVATION (Noto Sans TC)
   Ensuring consistent rendering for Chinese characters
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, 
.section-title, 
.hero-title, 
.hero-subtitle-primary, 
.hero-subtitle,
.schemes-title h2, 
.comp-main-title,
.action-title,
.aligned-header,
.section-subtitle-text,
.nav-links a,
.btn {
    font-family: 'Noto Sans TC', sans-serif !important;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-headline) !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 72px 0;
    scroll-margin-top: 100px;
}

.text-center {
    text-align: center;
}

.mobile-br,
.mobile-hide-br {
    display: none;
}

.mobile-hide {
    display: inline;
}

/* Generic Section Header Styles */
.section-header-compact {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.header-tag-minimal {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(184, 134, 11, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: var(--radius-full);
    font-size: 13.6px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-headline) !important;
    font-size: clamp(35.2px, 5vw, 51.2px);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.5px !important;
    margin-bottom: 14px;
}

.section-subtitle-text {
    font-size: 18.4px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-container);
    color: var(--on-secondary-container);
}

.btn-secondary:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.material-symbols-outlined {
    font-family: var(--material-symbols);
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: var(--primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-headline);
    letter-spacing: -1px;
}

.header-logo {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 14.4px;
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links a.active {
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 4px;
}

.navbar .btn-primary {
    background-color: var(--primary-light);
    color: white;
    border: none;
}

.navbar .btn-primary:hover {
    background-color: var(--secondary);
    color: var(--on-secondary-container);
    border: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 128px;
    padding-bottom: 88px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    scroll-margin-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, var(--background) 0%, var(--background) 60%, transparent 100%);
    z-index: -1;
}

.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    opacity: 0.4;
}

.hero-blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    animation: float-blob 20s infinite alternate ease-in-out;
}

.hero-blob:nth-child(1) {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    opacity: 0.1;
    top: -100px;
    right: -100px;
}

.hero-blob:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--secondary-container);
    opacity: 0.15;
    bottom: -100px;
    left: 40%;
}

.hero-blob:nth-child(3) {
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.05;
    top: 20%;
    left: -50px;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-container);
    color: var(--on-secondary-container);
    border-radius: var(--radius-full);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-headline) !important;
    font-size: clamp(51.2px, 6vw, 67.2px);
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -1.5px !important;
}

.hero-subtitle-primary {
    display: inline-block;
    color: var(--primary);
    font-size: clamp(35.2px, 4vw, 51.2px);
    margin-bottom: 32px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    letter-spacing: -1.5px !important;
}

.hero-subtitle-primary::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--secondary-container);
    opacity: 0.6;
    z-index: -1;
    border-radius: 2px;
    transition: var(--transition);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.hero-perks {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--on-secondary-container);
    background: var(--secondary-container);
    padding: 12.8px 28.8px;
    border-radius: var(--radius-md);
    width: fit-content;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 48px;
    box-shadow: 0 10px 25px rgba(115, 92, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(115, 92, 0, 0.2);
    animation: perk-pulse 3s infinite ease-in-out;
}

@keyframes perk-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 15px 30px rgba(115, 92, 0, 0.2);
    }
}

.hero-buttons {
    display: flex;
    gap: 24px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: var(--secondary-container);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 32px;
    z-index: -1;
    opacity: 0.05;
    transform: rotate(15deg);
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 30px 60px rgba(0, 0, 0, 0.1);
    animation: hero-float 6s infinite ease-in-out;
    max-width: 90%;
    margin-left: auto;
}

@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Bento Grid Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.feature-card {
    background: var(--surface);
    padding: 48px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 66, 20, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-icon .material-symbols-outlined {
    font-size: 33.6px;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
}

.feature-card h3 {
    margin-bottom: 18.4px;
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16.8px;
    line-height: 1.6;
}

/* Premium Loan Schemes Highlight - V2 Redesign */
.schemes-highlight {
    background: transparent;
    padding: 48px 0;
    position: relative;
}

.schemes-title {
    text-align: center;
    margin-bottom: 80px;
}

.schemes-title h2 {
    font-size: clamp(40px, 6vw, 60.8px);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -2px;
    position: relative;
    display: inline-block;
}

.schemes-title h2 span {
    display: inline-block;
}

.schemes-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.highlight-card {
    background: var(--surface);
    padding: 28px 20px;
    border-radius: 24px;
    border: 1px solid rgba(2, 44, 30, 0.05);
    border-top: 4px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.highlight-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px -30px rgba(0, 44, 30, 0.15);
    border-color: rgba(2, 44, 30, 0.1);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    transition: width 0.4s ease;
}

.highlight-card:hover::before {
    width: 100%;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--surface-container) 0%, #fff 100%);
    border: 1px solid rgba(2, 44, 30, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.highlight-icon span {
    font-size: 24px;
}

.highlight-value {
    font-size: 29.6px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-label {
    display: inline-block;
    padding: 3.2px 12px;
    background: rgba(255, 190, 0, 0.08);
    color: var(--on-secondary-container);
    border-radius: var(--radius-full);
    font-size: 12.8px;
    font-weight: 800;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 190, 0, 0.15);
    letter-spacing: 0.5px;
}

.highlight-desc {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }



    .highlight-card {
        padding: 48px 24px;
    }

    .highlight-value {
        font-size: 26px;
    }
}

@media (max-width: 1024px) {
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .highlight-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* 手機版：亮點卡片橫向佈局 (精確匹配截圖比例) */
    .highlight-card {
        padding: 24px !important;
        flex-direction: row !important;
        text-align: left !important;
        align-items: center !important;
        gap: 20px !important;
        background: #fff !important;
        border-radius: 32px !important;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06) !important;
        position: relative !important;
        border: none !important;
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 左側指示條：提升高度與厚度 */
    .highlight-card::before {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        top: 12% !important;
        height: 76% !important;
        width: 7px !important;
        background: #FFD200 !important;
        border-radius: 0 10px 10px 0 !important;
        display: block !important;
    }

    /* 圖標容器：淺灰色圓角 */
    .highlight-icon {
        width: 68px !important;
        height: 68px !important;
        background: #f4f6f8 !important;
        border-radius: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .highlight-icon span {
        font-size: 32px !important;
    }

    /* 文字內容區 */
    .highlight-content {
        flex: 1 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* 標題：26px 加粗 */
    .highlight-value {
        font-size: 26px !important;
        font-weight: 900 !important;
        color: var(--primary) !important;
        -webkit-text-fill-color: var(--primary) !important;
        background: none !important;
        margin-bottom: 6px !important;
        line-height: 1.1 !important;
    }

    /* 描述文字 */
    .highlight-desc {
        font-size: 16.5px !important;
        color: #555e6a !important;
        line-height: 1.4 !important;
    }

    /* 隱藏換行 */
    .highlight-desc br {
        display: none !important;
    }

    .schemes-title h2 {
        font-size: 35.2px;
        letter-spacing: 0;
        font-family: var(--font-headline);
        line-height: 1.2;
    }

    .schemes-title h2 span {
        display: block;
    }

    .schemes-title h2 span:last-child {
        margin-top: 4px;
    }

    .schemes-title h2::after {
        bottom: -10px;
    }

    /* Increase vertical gap between parts of the same title */
    .aligned-header {
        display: block !important;
        gap: 0 !important;
    }
    .team-section .section-title {
        gap: 12px !important;
    }

    /* Adjust line-height and margin for multi-line titles on mobile */
    .section-title {
        line-height: 1.2 !important;
        margin-bottom: 24px !important;
    }

    /* Shorten gap between Hero Image and the next Section Text */
    .hero {
        padding-bottom: 40px !important;
    }

    #services.section-padding {
        padding-top: 56px !important;
        padding-bottom: 24px !important;
    }

    #pain-points.section-padding {
        padding-top: 24px !important;
        padding-bottom: 32px !important;
    }

    #schemes.section-padding {
        padding-top: 32px !important;
    }

    .section-header-compact {
        margin-bottom: 24px !important;
    }

    .schemes-highlight {
        padding-top: 0 !important;
    }
}

/* Premium Image Accordion */
.interactive-accordion {
    display: flex;
    height: 550px;
    gap: 24px;
    margin-top: 64px;
}

.accordion-item {
    flex: 1;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0, 44, 30, 0.1);
}

.accordion-item.active {
    flex: 3.5;
}

.acc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.accordion-item.active .acc-bg {
    transform: scale(1.05);
}

.acc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 44, 30, 0.95) 0%, rgba(2, 44, 30, 0.6) 60%, rgba(2, 44, 30, 0.2) 100%);
    transition: all 0.6s ease;
}

.accordion-item:not(.active) .acc-overlay {
    background: linear-gradient(0deg, rgba(2, 44, 30, 0.98) 0%, rgba(2, 44, 30, 0.85) 100%);
}

.acc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.acc-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item:not(.active) .acc-header {
    flex-direction: column;
    text-align: center;
    transform: translateY(15px);
}

.acc-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 19.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acc-color, white);
}

.acc-icon span {
    font-size: 28.8px;
}

.acc-title {
    font-size: 35.2px;
    font-weight: 800;
    white-space: nowrap;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.accordion-item:not(.active) .acc-title {
    font-size: 25.6px;
    white-space: normal;
}

.acc-details {
    opacity: 0;
    max-height: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item.active .acc-details {
    opacity: 1;
    max-height: 200px;
    visibility: visible;
    transform: translateY(0);
    margin-top: 24px;
}

.acc-text {
    font-size: 22.4px;
    font-weight: 600;
    margin-bottom: 28.8px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.btn-eval-premium {
    background: var(--secondary);
    color: var(--on-secondary-container);
    border: none;
    padding: 19.2px 44.8px;
    border-radius: var(--radius-full);
    font-size: 20.8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12.8px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 190, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-eval-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 190, 0, 0.4);
    background: #ffde71;
}

.btn-eval-premium span {
    transition: transform 0.3s ease;
}

.btn-eval-premium:hover span {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .interactive-accordion {
        flex-direction: column;
        height: 800px;
        gap: 16px;
    }

    .accordion-item {
        flex: 1;
    }

    .accordion-item.active {
        flex: 2;
    }

    .accordion-item:not(.active) .acc-header {
        flex-direction: row;
        transform: translateY(0);
    }

    .accordion-item:not(.active) .acc-title,
    .accordion-item.active .acc-title {
        font-size: 28.8px;
    }

    .acc-content {
        padding: 24px 32px;
    }

    .acc-text {
        font-size: 19.2px;
        margin-bottom: 19.2px;
    }

    .btn-eval-premium {
        padding: 16px 32px;
        font-size: 18.4px;
    }
}

@media (max-width: 600px) {
    .interactive-accordion {
        height: 700px;
    }

    .accordion-item:not(.active) .acc-title {
        font-size: 24px;
    }

    .accordion-item.active .acc-title {
        font-size: 28.8px;
    }

    .acc-content {
        padding: 19.2px 24px;
    }

    .btn-eval-premium {
        width: 100%;
        justify-content: center;
    }
}


.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Service Alternate Rows */
/* Premium Floating Image Wrapper */
.floating-image-wrapper {
    position: relative;
    padding: 32px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-image-wrapper::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
    filter: blur(60px);
}

.floating-image-wrapper img {
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 44, 30, 0.15);
    transform: perspective(1500px) rotateY(-8deg) rotateX(5deg);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-width: 100%;
    height: auto;
}

.service-row-reverse .floating-image-wrapper img {
    transform: perspective(1500px) rotateY(8deg) rotateX(5deg);
}

.floating-image-wrapper:hover img {
    transform: perspective(1500px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 50px 100px rgba(0, 44, 30, 0.25);
}

/* Schemes Bento Grid */
.schemes-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 128px;
    margin-bottom: 192px;
}

.service-content h2 {
    font-size: 51.2px;
    color: var(--primary);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 32px;
}


#schemes {
    position: relative;
    overflow: hidden;
}

#schemes .section-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 190, 0, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}


.service-image {
    flex: 1;
    position: relative;
}

.service-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.service-content {
    flex: 1;
    padding-left: 0;
    border-left: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-content-aligned {
    align-items: flex-start;
    text-align: left;
}

.service-content-aligned .section-title {
    text-align: left;
}

.service-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    text-align: center;
}

.service-header .icon {
    color: var(--secondary);
    font-size: 44.8px;
    line-height: 1;
}

.service-content h2 {
    font-size: 44.8px;
    color: var(--primary);
    letter-spacing: -1px;
}

.service-description {
    font-size: 18.4px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    text-align: center;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-bottom: 56px;
    width: 100%;
}

#schemes .service-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
}

.service-list li span {
    color: var(--secondary);
    font-size: 22.4px;
}

/* Team Section Specific Enhancements */
.team-section {
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-container) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.cert-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.cert-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.0) 65%);
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
}

.cert-image-container .cert-bg {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    object-position: center 100%;
    display: block;
    position: relative;
    z-index: 0;
}

.cert-image-container .cert-float {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    height: auto;
    object-fit: contain;
    animation: cert-floating 4s infinite ease-in-out;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 3;
}

@keyframes cert-floating {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 15px));
    }
}

.team-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}

.benefit-card {
    background: white;
    padding: 25.6px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 66, 20, 0.08);
    display: flex;
    align-items: center;
    gap: 13.6px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.benefit-card .material-symbols-outlined {
    font-size: 32px;
    color: var(--primary-light);
    background: rgba(6, 78, 59, 0.05);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.benefit-card span:last-child {
    font-weight: 700;
    font-size: 17.6px;
    color: var(--primary);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .service-list.team-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 0 !important;
        margin-bottom: 8px;
        /* Reduced from default 3.5rem */
    }

    .team-section .service-description {
        margin-bottom: 12px !important;
    }

    .team-section {
        padding-top: 16px !important;
        padding-bottom: 32px !important;
        /* Reduced vertical padding on mobile */
    }

    .team-section .service-row {
        margin-bottom: 0 !important;
        /* Override inline margin-bottom: 4rem */
    }

    .team-section .section-title {
        gap: 4px !important;
    }

    .service-list.team-benefits .benefit-card {
        padding: 24px 12px;
        flex-direction: column;
        text-align: center;
        gap: 13.6px;
        min-height: 145px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .service-list.team-benefits .benefit-card .material-symbols-outlined {
        width: 45px;
        height: 45px;
        font-size: 28.8px;
    }

    .service-list.team-benefits .benefit-card span:last-child {
        font-size: 16.8px;
        line-height: 1.3;
    }
}

/* Credit Status Section - Optimized Premium Hoji Style */
/* Credit Status Section - Premium Hoji Digital Layout */
.credit-status {
    background: radial-gradient(circle at 100% 0%, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 160px 0;
}

.credit-status .section-title {
    color: white;
}

.credit-status .text-gradient {
    background: linear-gradient(135deg, #ffd700 0%, #fffce6 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block !important;
}

.credit-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.1;
}

.credit-blobs .blob {
    position: absolute;
    background: var(--secondary-container);
    filter: blur(80px);
    border-radius: 50%;
}

.credit-blobs .blob:nth-child(1) {
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
}

.credit-blobs .blob:nth-child(2) {
    bottom: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
}

.credit-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.credit-info {
    text-align: left;
}

.credit-lead {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 48px;
    opacity: 0.9;
}

.credit-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-container);
}

.stat-label {
    font-size: 14.4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.credit-cards-dynamic {
    position: relative;
    height: 560px;
}

.credit-card-wrapper {
    position: absolute;
    width: 100%;
    max-width: 330px;
    transition: var(--transition);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.glass-card h3 {
    margin-bottom: 12.8px;
    font-size: 25.6px;
    color: var(--secondary-container);
}

.glass-card p {
    font-size: 22.4px;
    line-height: 1.5;
    opacity: 0.9;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-container);
    color: var(--on-secondary-container);
    border-radius: 12.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.icon-accent {
    background: linear-gradient(135deg, var(--secondary-container), #e0b000) !important;
}

.card-icon span {
    font-size: 32px;
}

@keyframes card-hover-hint {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Staggered positions */
.card-1 {
    top: 0;
    left: 0;
    z-index: 3;
    animation: card-hover-hint 4s infinite ease-in-out;
}

.card-1:hover {
    animation: none;
}

.card-2 {
    top: 150px;
    right: 0;
    z-index: 2;
    animation: card-hover-hint 4s infinite ease-in-out 1.2s;
}

.card-2:hover {
    animation: none;
}

.card-3 {
    top: 300px;
    left: 8%;
    z-index: 1;
    animation: card-hover-hint 4s infinite ease-in-out 2.4s;
}

.card-3:hover {
    animation: none;
}

.credit-card-wrapper:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

.credit-card-wrapper:hover .glass-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-container);
}

@media (max-width: 1200px) {
    .credit-layout {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .credit-cards-dynamic {
        height: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }

    .credit-card-wrapper {
        position: relative;
        max-width: none;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}

/* Comparison Header Enhancements */
.comp-header-wrapper {
    margin-bottom: 64px;
}

/* Video Showcase Section - Premium Hoji Style */
.video-showcase {
    background: radial-gradient(circle at 0% 100%, var(--primary-light) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
    padding: 128px 0;
    margin-top: 32px;
}

.video-showcase .full-width-video {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: #000;
}

.video-showcase .credit-blobs {
    opacity: 0.15;
}

.video-showcase .blob:nth-child(1) {
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--secondary-container);
}

.video-showcase .blob:nth-child(2) {
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-light);
}

@media (max-width: 768px) {
    .video-showcase {
        padding: 80px 0;
    }
}

/* Final Premium Slogan Layout - Full Width Video */
.video-slogan-premium {
    text-align: center;
    margin-bottom: 96px;
    position: relative;
    z-index: 5;
}

.slogan-pre {
    font-family: var(--font-headline);
    color: var(--secondary);
    font-weight: 700;
    font-size: clamp(19.2px, 3vw, 25.6px);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    opacity: 0.9;
}

.slogan-pre::before,
.slogan-pre::after {
    content: '';
    position: absolute;
    top: 55%;
    width: 40px;
    height: 1px;
    background: var(--secondary);
    opacity: 0.4;
}

.slogan-pre::before {
    left: -60px;
}

.slogan-pre::after {
    right: -60px;
}

.slogan-main {
    color: white;
    font-size: clamp(56px, 11vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -3px;
    margin: 0 auto;
    max-width: 1000px;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #ffbe00 0%, #fff0b3 50%, #ffbe00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(255, 190, 0, 0.3));
    font-weight: 800;
    margin-left: 8px;
}

.text-highlight-marker {
    background: linear-gradient(90deg, var(--secondary-container), #fff0b3) no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    display: inline-block;
    vertical-align: baseline;
    padding: 0;
    font-weight: inherit;
    color: inherit;
    border-radius: 2px;
}

.aligned-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
    line-height: 1.2;
    font-family: 'Noto Sans TC', sans-serif !important;
    letter-spacing: 0 !important;
}

.aligned-header .text-highlight-marker,
.aligned-header .text-marker-ghost {
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}

.text-marker-ghost {
    display: inline-block;
    vertical-align: baseline;
    padding: 0;
    font-weight: inherit;
    color: inherit;
}

@media (max-width: 768px) {
    .video-slogan-premium {
        margin-bottom: 64px;
    }

    .slogan-pre {
        display: block !important;
        letter-spacing: 4.8px;
        font-size: 24px;
        margin-bottom: 4px !important;
    }

    .slogan-pre::before,
    .slogan-pre::after {
        display: none;
    }

    .slogan-main {
        font-size: 44px;
        letter-spacing: -1px;
        white-space: nowrap;
        line-height: 1.1 !important;
    }

    .gold-gradient-text {
        margin-left: 4px;
        display: inline-block;
        margin-top: 0;
    }
}




.comp-badge-tag {
    display: inline-block;
    padding: 9.6px 24px;
    background: rgba(115, 92, 0, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(115, 92, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 13.6px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.comp-main-title {
    font-size: clamp(40px, 5vw, 56px);
    color: var(--primary);
    line-height: 1.2;
    position: relative;
    margin-bottom: 14px;
}

.comp-main-title span {
    color: var(--primary);
    position: relative;
    z-index: 1;
    margin-left: 8px;
}

.comp-main-title span::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: -2%;
    width: 104%;
    height: 18px;
    background: linear-gradient(90deg, var(--secondary-container), #fff0b3);
    opacity: 0.7;
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 2px;
}

.comp-subtitle {
    font-size: 18.4px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* Comparison Cards - Premium Layout */
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    /* Increased middle column ratio for featured card */
    max-width: 1250px;
    /* Slightly wider to accommodate larger featured card */
    margin: 48px auto 0;
    gap: 56px;
    align-items: flex-start;
    width: 100%;
}

.comp-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--surface-container);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Remove explicit desktop order as HTML is now in correct side-by-side order [Bank, Hoji, Pawn] */

.comp-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the grid within the wrapper on desktop */
}

.comp-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--outline);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 30;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
}

.comp-nav-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.comp-nav-btn.prev {
    left: -22px;
}

.comp-nav-btn.next {
    right: -22px;
}


.comp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comp-head {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--surface-container);
}

.comp-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.comp-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    gap: 16px;
}

.row-label {
    font-size: 15.2px;
    font-weight: 700;
    color: var(--text-muted);
    padding-top: 2.4px;
    white-space: nowrap;
    flex: 0 0 auto;
    /* Label doesn't grow */
}

.row-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-align: right;
    line-height: 1.6;
    flex: 1;
    /* Value takes up remaining space but stays close if width is constrained */
    max-width: 250px;
    /* Prevent value from being too far on ultra-wide screens */
    margin-left: auto;
}

/* Featured Hoji Card */
.comp-card.featured {
    background: linear-gradient(135deg, #013220 0%, #0a5c4a 50%, #013220 100%);
    color: white;
    padding: 48px 44.8px;
    /* Increased horizontal padding for a roomier look */
    transform: scale(1.03);
    z-index: 2;
    border: 1.5px solid rgba(255, 190, 0, 0.4);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 40px rgba(255, 190, 0, 0.1);
    background-size: 200% 200%;
    animation: card-shine 6s ease infinite;
    overflow: visible;
}

.comp-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at -10% -10%, rgba(255, 190, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

@keyframes card-shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.comp-card.featured:hover {
    transform: scale(1.07) translateY(-5px);
}

.comp-card.featured .comp-head {
    color: var(--secondary-container);
    border-color: rgba(255, 255, 255, 0.1);
}

.comp-card.featured .row-label {
    color: rgba(255, 255, 255, 0.6);
}

.comp-card.featured .row-value.highlight {
    color: var(--secondary-container);
    font-size: 19.2px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .comp-card.featured .row-value.highlight {
        font-size: 16.8px;
    }
}

.comp-card.featured .comp-features {
    gap: 28.8px;
}

.comp-card.featured .comp-row {
    padding: 12px 0;
}

.comp-badge {
    position: absolute;
    top: -20px;
    /* Slightly adjusted to fit shared height */
    left: 50%;
    transform: translateX(-50%);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(135deg, #ffdf00 0%, #ffdf00 35%, #ff8c00 65%, #ffdf00 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 200% 100%, 100% 100%;
    color: #3d2b00;
    padding: 9.6px 40px;
    /* Slightly more compact for balance */
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow:
        0 15px 40px rgba(255, 140, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    border: 1.5px solid #ff8c00;
    letter-spacing: 1px;
    animation: metal-shimmer 3s linear infinite;
    z-index: 10;
}


@keyframes metal-shimmer {
    0% {
        background-position: 200% 0, 0 0;
    }

    100% {
        background-position: -100% 0, 0 0;
    }
}

.comp-footer {
    margin-top: 48px;
}

.w-full {
    width: 100%;
}

@media (max-width: 1024px) {
    .comp-slider-wrapper {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    .comp-nav-btn {
        display: flex;
        opacity: 0.9;
        top: 50%;
    }

    .comp-nav-btn.prev {
        left: 8px;
    }

    .comp-nav-btn.next {
        right: 8px;
    }

    .comparison-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 60px 10vw;
        margin-top: 16px;
        margin-left: 0;
        margin-right: 0;
        gap: 16px;
        align-items: stretch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        width: 100%;
    }

    .comparison-cards::-webkit-scrollbar {
        display: none;
    }

    .comp-card {
        flex: 0 0 80vw;
        min-width: 80vw;
        scroll-snap-align: center;
        padding: 32px 20px;
        box-sizing: border-box;
        height: auto;
    }

    .comp-card.featured {
        transform: scale(1);
        z-index: 10;
        order: -1;
    }

    .comp-head {
        font-size: 20px;
        margin-bottom: 32px;
        padding-bottom: 16px;
    }

    .row-label {
        font-size: 13.6px;
    }

    .row-value {
        font-size: 14.4px;
    }

    .comp-card.featured:hover {
        transform: translateY(-5px);
    }

    .comp-slider-wrapper {
        margin-top: 32px;
    }
}



/* Form Section */
.form-box {
    background: var(--surface-container);
    padding: 64px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.form-box::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--secondary-container);
    opacity: 0.1;
    border-radius: 50%;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.full-width {
    grid-column: span 2;
}

@media (max-width: 991px) {
    .full-width {
        grid-column: span 1;
    }
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--outline);
    font-family: inherit;
    font-size: 20px;
    transition: var(--transition);
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.articles-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.article-link-card {
    display: block;
    text-decoration: none;
}

.article-link-card:hover h3 {
    color: var(--secondary) !important;
}

.article-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
}

.article-img {
    height: 200px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-img img {
    transform: scale(1.1);
}

.article-body {
    padding: 32px;
}

.article-body h3 {
    font-size: 25.6px;
    color: var(--primary);
    margin-bottom: 16px;
}

.article-tag {
    font-size: 14.4px;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

/* FAQ - Categorized Layout */
#faq .section-title {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.faq-section {
    padding-top: 32px;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12.8px 28.8px;
    min-width: 140px;
    border-radius: var(--radius-full);
    border: 1px solid var(--outline);
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(2, 44, 30, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-group {
    display: none;
}

.faq-group.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: faqFadeIn 0.3s ease-out;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* FAQ - Custom Premium Accordion (Modified for groups) */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    min-height: 500px;
}

.faq-item {
    background: var(--surface-container);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    width: 100%;
}

.faq-item:hover {
    background: rgba(0, 66, 20, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    background: #fff;
    border-color: var(--outline);
    box-shadow: 0 15px 30px rgba(0, 66, 20, 0.1);
    transform: translateY(-4px);
}

.faq-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 25.6px 36px !important;
    min-height: 70px !important;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    z-index: 2;
    line-height: 1.2 !important;
    background: transparent !important;
}

.faq-header span {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.faq-header .icon {
    font-size: 24px;
    color: var(--primary-light);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
    display: flex;
    align-items: center;
}

.faq-item.active .faq-header {
    padding-bottom: 22.4px !important;
}

.faq-item.active .icon {
    transform: rotate(180deg);
    color: var(--secondary);
}

.faq-body {
    display: none;
    overflow: hidden;
    background: #fff;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-content {
    padding: 0 36px 40px;
    color: #333 !important;
    font-size: 20px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #002c0b;
    color: #e0e0e0;
    padding-top: 80px;
    padding-bottom: 112px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer h4 {
    color: white;
    margin-bottom: 32px;
}

.footer-info p {
    margin-bottom: 32px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--secondary);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-list .icon {
    color: var(--secondary-container);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    font-size: 12.8px;
    color: rgba(255, 255, 255, 0.5);
}

/* FAB */
.fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: auto;
    min-width: 65px;
    height: 65px;
    padding: 0 24px;
    gap: 9.6px;
    background: var(--secondary-container);
    color: var(--on-secondary-container);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.05);
}

.fab .material-symbols-outlined {
    font-size: 32px;
}

.fab-text {
    font-weight: 800;
    font-size: 17.6px;
    white-space: nowrap;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .features-grid,
    .service-row,
    .credit-grid,
    .articles-grid,
    .articles-grid-2,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-row-reverse {
        flex-direction: column;
    }

    .service-row {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 64px;
    }

    .schemes-bento-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 64px 0;
    }

    .floating-image-wrapper {
        padding: 16px;
    }

    .floating-image-wrapper img {
        transform: none !important;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hero-grid,
    .features-grid,
    .pain-points-grid,
    .credit-grid,
    .articles-grid,
    .articles-grid-2,
    .footer-grid,
    .contact-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-box {
        padding: 32px 20px;
    }

    .form-box .text-center:first-child {
        margin-bottom: 1.5rem !important;
    }


    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 112px;
        padding-bottom: 80px;
        text-align: left;
        min-height: auto;
    }

    .hero-title {
        font-size: 34.4px;
        margin-bottom: 12px;
        line-height: 1.15;
        letter-spacing: -1.5px;
        font-weight: 800;
        max-width: 90%;
    }

    .hero-subtitle-primary {
        font-size: 27.2px;
        margin-bottom: 18px;
        display: inline-block;
        width: fit-content;
        color: var(--primary);
        letter-spacing: -1px;
    }

    .hero-subtitle-primary::after {
        height: 14px;
        bottom: 4px;
        opacity: 0.6;
        background: var(--secondary-container);
    }

    .hero-subtitle {
        font-size: 18.4px;
        margin-bottom: 24px;
        line-height: 1.4;
        color: var(--text-muted);
        font-weight: 600;
        letter-spacing: -0.5px;
    }

    .hero-perks {
        font-size: 17.6px;
        font-weight: 800;
        color: var(--on-secondary-container);
        background: var(--secondary-container);
        padding: 12.8px 28.8px;
        border-radius: var(--radius-md);
        width: fit-content;
        justify-content: center;
        margin-bottom: 24px;
        box-shadow: 0 10px 25px rgba(115, 92, 0, 0.15);
        border: 1px solid rgba(115, 92, 0, 0.2);
        animation: perk-pulse 3s infinite ease-in-out;
    }

    .hero-image {
        margin-top: 8px;
        padding: 0;
    }

    .hero-image img {
        max-width: 100%;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg), 0 30px 60px rgba(0, 0, 0, 0.1);
    }

    .hero-image::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -20px;
        width: 80px;
        height: 80px;
        background: var(--secondary-container);
        border-radius: 50%;
        z-index: -1;
        opacity: 0.4;
    }

    .hero-image::after {
        width: 180px;
        height: 180px;
        bottom: -30px;
        right: -30px;
    }

    .service-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .service-header .icon {
        font-size: 56px;
        margin-bottom: 8px;
    }

    .service-content {
        padding-left: 0 !important;
        border-left: none !important;
        text-align: center;
        align-items: center;
    }

    .service-content h2 {
        font-size: 35.2px;
        line-height: 1.3;
    }

    .service-description {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
        text-align: center;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .service-content-aligned {
        align-items: center;
        text-align: center;
    }

    .service-content-aligned .section-title {
        text-align: center;
    }
}

/* Premium Solutions List - Redesign */
.premium-solutions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.premium-solution-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    flex-direction: row;
    /* Horizontal internal layout in 2x2 grid */
    align-items: center;
    text-align: left;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(2, 44, 30, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation-delay: calc(var(--item-index) * 0.1s);
}

.premium-solution-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 6px;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-container) 100%);
    border-radius: 0 6px 6px 0;
    opacity: 0.5;
    transition: var(--transition);
}

.premium-solution-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(2, 44, 30, 0.08);
    border-color: rgba(2, 44, 30, 0.1);
}

.premium-solution-item:hover::before {
    opacity: 1;
    width: 8px;
    height: 80%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
}

.ps-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(2, 44, 30, 0.03) 0%, rgba(2, 44, 30, 0.08) 100%);
    border-radius: 17.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid rgba(2, 44, 30, 0.05);
}

.ps-icon span {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.premium-solution-item:hover .ps-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(2, 44, 30, 0.2);
}

.ps-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ps-content p {
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.ps-action {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* btn-eval-premium is already globally defined */

@media (max-width: 900px) {
    .premium-solutions-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .premium-solution-item {
        padding: 28px 24px;
        flex-direction: row;
        /* Horizontal on mobile */
        text-align: left;
        align-items: center;
        gap: 24px;
    }

    .premium-solution-item::before {
        left: 0;
        top: 10%;
        height: 80%;
        width: 6px;
        background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-container) 100%);
        border-radius: 0 6px 6px 0;
    }

    .ps-icon {
        width: 45px;
        height: 45px;
    }

    .ps-icon span {
        font-size: 32px;
    }

    .ps-content h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .ps-content p {
        font-size: 20px;
        line-height: 1.4;
    }

    .btn-eval-premium {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .ps-action {
        margin-top: 24px !important;
    }
}

.cta-foster-section {
    padding: 32px 0 80px;
    background-color: var(--background);
}

.cta-foster-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Phone Box */
.cta-box-phone {
    background: linear-gradient(135deg, #02432d 0%, #012a1d 100%);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
    color: white;
}

.cta-box-phone:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 44, 30, 0.4);
}

.phone-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon-wrapper .material-symbols-outlined {
    font-size: 64px;
    color: white;
    opacity: 0.9;
}

.signal-waves {
    position: absolute;
    top: -15px;
    right: -10px;
    display: flex;
    flex-direction: column;
}

.signal-waves span {
    font-size: 32px;
    color: white;
    opacity: 0.7;
    animation: signal-pulse 1.5s infinite;
    transform: rotate(45deg);
}

@keyframes signal-pulse {
    0% {
        opacity: 0.3;
        transform: rotate(45deg) scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: rotate(45deg) scale(1.1);
    }

    100% {
        opacity: 0.3;
        transform: rotate(45deg) scale(0.8);
    }
}

.phone-content h3 {
    font-size: 25.6px;
    font-weight: 700;
    margin-bottom: 3.2px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-number {
    font-size: 51.2px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    font-family: var(--font-headline);
}

/* LINE Box */
.cta-box-line {
    background: #dfdfdf;
    border-radius: 32px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.line-logo {
    background: #06c755;
    width: 90px;
    height: 90px;
    border-radius: 28.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.line-logo svg {
    width: 60px;
    height: 60px;
    fill: white;
}

.line-content {
    flex-grow: 1;
}

.line-btn {
    background-color: #31b01c;
    color: white;
    padding: 19.2px;
    border-radius: 16px;
    font-size: 28.8px;
    font-weight: 800;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 12.8px;
    text-decoration: none;
    box-shadow: 0 4px 0 #288f17;
    transition: all 0.2s;
    position: relative;
}

.line-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #288f17;
}

.line-subtext {
    color: #333;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dot-separator {
    color: #31b01c;
    font-size: 32px;
    line-height: 0;
}

.cursor-pointer {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 60px;
    pointer-events: none;
    z-index: 5;
    animation: cursor-float 2s infinite ease-in-out;
}

@keyframes cursor-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(-5deg);
    }

    50% {
        transform: translate(15px, 15px) rotate(5deg);
    }
}

@media (max-width: 991px) {
    .cta-foster-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .phone-number {
        font-size: 44.8px;
    }

    .line-btn {
        font-size: 24px;
    }

    .line-subtext {
        font-size: 16px;
    }
}

/* CTA Section - Premium Design */
.cta-premium-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta-premium-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 190, 0, 0.11) 0%, transparent 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.cta-premium-wrapper {
    padding: 80px 0 32px;
    position: relative;
    z-index: 2;
}

.text-highlight-gold {
    color: #fce17a;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(252, 225, 122, 0.2);
}

.cta-premium-header {
    text-align: center;
    color: white;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.cta-premium-header h2 {
    font-size: clamp(28.8px, 4vw, 44.8px);
    margin-bottom: 16px;
    font-weight: 800;
}

.cta-premium-header p {
    font-size: 18.4px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.cta-premium-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.cta-action-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-action-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 32px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--secondary) 0%, transparent 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.4s ease;
}

.cta-action-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.cta-action-card:hover::after {
    opacity: 1;
}

.action-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.action-icon-wrap.line {
    background: linear-gradient(135deg, #00C300 0%, #009900 100%);
    box-shadow: 0 10px 20px rgba(0, 195, 0, 0.3);
}

.action-icon-wrap.phone {
    background: linear-gradient(135deg, var(--secondary) 0%, #d49e00 100%);
    box-shadow: 0 10px 20px rgba(255, 190, 0, 0.2);
}

.action-icon-wrap svg {
    width: 45px;
    height: 45px;
    fill: white;
}

.action-icon-wrap .material-symbols-outlined {
    font-size: 44.8px;
    color: var(--on-secondary-container);
}

.action-content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.action-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
}

.action-title {
    font-size: clamp(28.8px, 3vw, 35.2px);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: white;
}

.action-title.gold {
    background: linear-gradient(135deg, var(--secondary-container) 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.action-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cta-action-card:hover .action-arrow {
    background: white;
    color: var(--primary);
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .cta-premium-cards {
        grid-template-columns: 1fr;
    }

    .cta-premium-wrapper {
        padding: 48px 32px;
    }

    .cta-action-card {
        padding: 32px 24px;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .cta-action-card {
        flex-direction: column;
        text-align: center;
    }

    .action-arrow {
        position: absolute;
        top: 32px;
        right: 24px;
    }
}

/* Fixed Bottom CTA */
.cta-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(2, 44, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12.8px 16px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-fixed-bottom.hide {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.cta-fixed-bottom .cta-premium-cards {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 0;
}

.cta-fixed-bottom .cta-action-card {
    flex: 1;
    padding: 12.8px 24px;
    flex-direction: row !important;
    align-items: center;
    gap: 16px;
    min-height: auto;
}

.cta-fixed-bottom .action-icon-wrap {
    width: 45px;
    height: 45px;
    margin-bottom: 0;
    border-radius: 16px;
}

.cta-fixed-bottom .action-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.cta-fixed-bottom .action-icon-wrap .material-symbols-outlined {
    font-size: 28.8px;
}

.cta-fixed-bottom .action-content {
    text-align: left;
}

.cta-fixed-bottom .action-subtitle {
    font-size: 12.8px;
    margin-bottom: 3.2px;
}

.cta-fixed-bottom .action-title {
    font-size: 20px;
}

.cta-fixed-bottom .action-arrow {
    width: 35px;
    height: 35px;
    position: static !important;
}

/* Adjust FAB when fixed bottom is visible */
.fab.fab-elevated {
    transform: translateY(-90px);
}

.fab.fab-elevated:hover {
    transform: translateY(-90px) scale(1.1);
}

@media (max-width: 768px) {
    .cta-fixed-bottom .cta-premium-cards {
        flex-direction: row !important;
        gap: 8px;
    }

    .cta-fixed-bottom .cta-action-card {
        padding: 8px;
        gap: 8px;
        border-radius: 16px;
    }

    .cta-fixed-bottom .action-icon-wrap {
        width: 32px;
        height: 32px;
        border-radius: 9.6px;
    }

    .cta-fixed-bottom .action-icon-wrap svg {
        width: 18px;
        height: 18px;
    }

    .cta-fixed-bottom .action-icon-wrap .material-symbols-outlined {
        font-size: 19.2px;
    }

    .cta-fixed-bottom .action-title {
        font-size: 13.6px;
    }

    .cta-fixed-bottom .action-subtitle {
        font-size: 9.6px;
        margin-bottom: 1.6px;
        white-space: nowrap;
    }

    .cta-fixed-bottom .action-arrow {
        display: none;
    }

    .fab {
        height: 55px;
        padding: 0 20px;
        bottom: 24px;
        right: 24px;
    }

    .fab-text {
        font-size: 15.2px;
    }

    .fab.fab-elevated {
        transform: translateY(-80px);
    }

    .fab.fab-elevated:hover {
        transform: translateY(-80px) scale(1.05);
    }

    /* FAQ Tabs Mobile Adjustments */
    .faq-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 16px 8px;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        scrollbar-width: none;
    }

    .faq-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        font-size: 16.8px;
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px 20px;
        min-width: auto;
    }

    /* Fix font displacement and spacing on mobile */
    .section-title,
    .section-subtitle-text,
    .aligned-header > span {
        display: block !important;
        font-family: 'Noto Sans TC', sans-serif !important;
        line-height: 1.2 !important;
    }

    .hero-title,
    .hero-subtitle-primary,
    .schemes-title h2,
    .section-title {
        font-family: 'Noto Sans TC', sans-serif !important;
        letter-spacing: -1.5px !important;
    }

    .hero-subtitle {
        font-family: 'Noto Sans TC', sans-serif !important;
        letter-spacing: -0.5px !important;
    }

    .section-title {
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
        font-weight: 800 !important;
    }

    .text-marker-ghost,
    .text-highlight-marker {
        padding: 0 !important;
    }

    .aligned-header {
        display: block !important;
        gap: 0 !important;
        line-height: 1.2 !important;
    }

    .service-content p {
        line-height: 1.5 !important;
    }

    .section-subtitle-text {
        line-height: 1.5 !important;
    }

    .mobile-br {
        display: inline;
    }

    .mobile-hide {
        display: none !important;
    }

    /* 調整 Service Row 與 Bento Grid 的間距，使其與之前設定保持一致 */
    .service-row,
    .service-row-reverse {
        margin-top: 3.5rem !important;
        margin-bottom: 3.5rem !important;
        gap: 24px !important;
    }

    /* 移除首個 row 的頂部邊距，避免與 section padding 重疊造成過大空白 */
    .service-row:first-of-type {
        margin-top: 0 !important;
    }

    .schemes-bento-grid {
        margin-top: 2rem !important;
        margin-bottom: 3.5rem !important;
        gap: 20px !important;
    }

    .service-content-aligned h2 {
        margin-bottom: 1.8rem !important;
    }

    .premium-solutions-list {
        gap: 32px !important;
    }

    .premium-solution-item {
        margin-top: 0 !important; /* Override inline margin-top on mobile */
    }

    /* 減少區塊與標題間距 */
    .section-padding {
        padding: 48px 0 !important;
    }

    #contact.section-padding {
        padding: 32px 0 !important;
    }

    .schemes-highlight {
        padding: 24px 0 !important;
    }

    .schemes-title {
        margin-bottom: 40px !important;
    }

    /* 置中土地貸款區塊 (手機版) */
    .service-row-reverse .service-content {
        align-items: center !important;
        text-align: center !important;
    }

    .service-row-reverse .service-content .section-title {
        text-align: center !important;
        align-items: center !important;
    }

    .service-row-reverse .service-content .premium-solution-item {
        justify-content: center !important;
        text-align: left !important; /* Keep the text inside the item left-aligned for readability, or center it? Usually centered looks better in a centered layout. */
    }

    /* 減少信用狀況區塊上方的間距 (手機版) */
    .credit-status {
        padding-top: 2.5rem !important;
    }

    .service-row-reverse:last-of-type {
        margin-bottom: 1.5rem !important;
    }

    /* 減少標題與下方卡片之間的間距 (手機版) */
    .credit-layout {
        gap: 0.8rem !important;
    }

    /* 調整比較區塊標題 (手機版) */
    .comp-main-title {
        line-height: 1.2 !important;
    }

    .comp-main-title span {
        margin-left: 0 !important;
    }

    /* 縮小比較卡片手機版間距 */
    .comp-card.featured .comp-features {
        gap: 16px !important;
    }

    .comp-card.featured .comp-row {
        padding: 8px 0 !important;
    }

    .comp-head {
        margin-bottom: 24px !important;
        padding-bottom: 12px !important;
    }

    /* 調整常見問題上方的間距 (手機版) */
    #faq {
        padding-top: 3.5rem !important;
    }

    #faq .section-title {
        margin-top: 0 !important;
        margin-bottom: 2rem !important;
    }

    #faq .faq-section {
        padding-top: 0 !important;
    }

    .cta-premium-header h2 {
        font-size: clamp(40px, 5vw, 56px) !important;
        line-height: 1.2 !important;
    }

    /* 手機版：點擊後保留黃色背景 (針對亮點卡片與方案項目) */
    .highlight-card.active,
    .premium-solution-item.active {
        background: linear-gradient(180deg, #ffdb00 0%, #ffbe00 100%) !important;
        border: none !important;
        box-shadow: 0 12px 24px rgba(255, 190, 0, 0.3) !important;
        transform: translateY(-2px) !important;
    }

    .highlight-card.active .highlight-icon,
    .premium-solution-item.active .ps-icon {
        background: var(--primary) !important;
        color: white !important;
        transform: scale(1) !important;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
        border-radius: 16px !important;
    }

    .highlight-card.active .highlight-value,
    .premium-solution-item.active .ps-content h3 {
        color: var(--primary) !important;
        -webkit-text-fill-color: var(--primary) !important;
        font-weight: 800 !important;
    }

    .highlight-card.active .highlight-desc,
    .premium-solution-item.active .ps-content p {
        color: var(--primary) !important;
        -webkit-text-fill-color: var(--primary) !important;
        font-weight: 700 !important;
        opacity: 0.9 !important;
    }
}