/* ===== Premium Clean Fintech Design System (Inspired by paypers.ai) ===== */
:root {
    /* Fonts Families - IBM Plex Sans Thai (loopless modern Thai) & Inter (Numbers) */
    --font-thai: 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-number: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Pristine SaaS & Fintech Color Palette */
    --color-bg-pure: #ffffff;
    --color-bg-soft: #f8fafc;       /* Ultra light gray-blue for alternate sections */
    --color-bg-tint: #f1f5f9;       /* Light border/accent backgrounds */
    
    /* Text Hierarchy */
    --text-primary: #0f172a;        /* Deep Obsidian/Slate-900 for high-end crispness */
    --text-secondary: #475569;      /* Slate-600 for optimal reading contrast */
    --text-muted: #64748b;          /* Slate-500 for supporting labels */
    
    /* Accent & Brand Colors */
    --brand-green: #06C755;         /* LINE Brand Green */
    --brand-green-hover: #05b04b;
    --emerald-600: #059669;         /* Premium Fintech Emerald */
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;          /* Soft emerald background highlight */

    /* Theme Accents */
    --blue-600: #2563eb;
    --blue-50: #eff6ff;
    --purple-600: #7c3aed;
    --purple-50: #faf5ff;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-50: #fffbeb;
    --red-600: #dc2626;
    --red-500: #ef4444;
    --red-50: #fef2f2;
    --rose-600: #e11d48;
    --rose-50: #fff1f2;

    /* Layout Max Width */
    --max-width: 1140px;

    /* Border Radii */
    --radius-full: 9999px;
    --radius-card: 24px;
    --radius-button: 14px;
    --radius-inner: 16px;

    /* Premium Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-soft: 0 8px 30px -4px rgba(15, 23, 42, 0.03), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.06), 0 0 40px rgba(15, 23, 42, 0.01);
    --shadow-hover: 0 25px 50px -12px rgba(15, 23, 42, 0.1), 0 0 50px rgba(16, 185, 129, 0.04);

    /* Smooth Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    /* Fluid Typography Clamp Formulas (Responsive and beautifully proportioned) */
    --font-size-hero-title: clamp(2.25rem, 4vw + 1.25rem, 3.75rem);   /* 36px on mobile -> 60px on desktop */
    --font-size-hero-subtitle: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);   /* 16px -> 19px */
    --font-size-section-title: clamp(1.75rem, 2.2vw + 1rem, 2.5rem);  /* 28px -> 40px */
    --font-size-section-subtitle: clamp(0.95rem, 0.3vw + 0.85rem, 1.1rem); /* 15px -> 17.6px */
    --font-size-bento-title: clamp(1.15rem, 0.2vw + 1rem, 1.35rem);  /* 18.4px -> 21.6px */
    --font-size-body: clamp(0.9rem, 0.1vw + 0.85rem, 1rem);           /* 14.4px -> 16px */
    --font-size-stat-num: clamp(2rem, 3vw + 1.25rem, 3rem);           /* 32px -> 48px */
}

/* ===== Resets & Base Configuration ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-thai);
    background-color: var(--color-bg-pure);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.8; /* Perfectly calculated line-height for loopless Thai text with tone marks */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Clean Minimalist Sticky Header ===== */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(14px, 2vw, 20px) clamp(16px, 4vw, 50px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
}

.landing-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-nav-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.landing-nav-logo-icon svg {
    color: var(--emerald-400);
}

.landing-nav-logo-text {
    display: flex;
    flex-direction: column;
}

.landing-nav-logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.landing-nav-logo-text span {
    font-size: 8.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Premium LINE login button on Navigation */
.btn-line-login {
    background: var(--brand-green);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-inner);
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.15);
}

.btn-line-login:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.25);
}

.line-icon-img {
    width: 17px;
    height: 17px;
}

/* ===== Hero Section (Bright, Airy, Pristine Tech Theme) ===== */
.hero-wrapper {
    background-color: var(--color-bg-pure);
    background-image: radial-gradient(circle at 1px 1px, #e2e8f0 1.2px, transparent 0);
    background-size: 24px 24px; /* SaaS grid pattern background */
    padding: clamp(80px, 12vw, 150px) 24px clamp(90px, 14vw, 160px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Soft, elegant background blobs to enhance aesthetics */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg-soft), transparent);
    pointer-events: none;
    z-index: 2;
}

.landing-hero {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

@media (min-width: 1024px) {
    .landing-hero {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }

    .hero-text-content {
        flex: 1.25;
        max-width: 620px;
    }

    .hero-mockup-container {
        flex: 0.75;
        display: flex;
        justify-content: flex-end;
    }

    .landing-hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-cta-group {
        align-items: flex-start;
    }
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-50);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--emerald-600);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.04);
}

.badge-icon {
    width: 14px;
    height: 14px;
}

.landing-hero-title {
    font-size: var(--font-size-hero-title);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.landing-hero-title span {
    background: linear-gradient(135deg, var(--emerald-600) 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.landing-hero-subtitle {
    font-size: var(--font-size-hero-subtitle);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Tilted Phone Mockup Styles */
.hero-mockup-container {
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.tilted-phone {
    width: 290px;
    height: 590px;
    background: #090d16; /* Pitch black slate */
    border-radius: 44px;
    padding: 10px;
    box-shadow: 
        -15px 15px 30px rgba(15, 23, 42, 0.12),
        -30px 30px 60px rgba(15, 23, 42, 0.08),
        0 0 0 8px #1e293b, /* Sleek gunmetal bezel */
        0 0 0 10px #334155,
        0 0 20px rgba(16, 185, 129, 0.05);
    transform: rotateX(8deg) rotateY(-16deg) rotateZ(8deg);
    transition: var(--transition-smooth);
    position: relative;
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tilted-phone:hover {
    transform: rotateX(4deg) rotateY(-8deg) rotateZ(4deg) translateY(-8px);
    box-shadow: 
        -20px 20px 40px rgba(15, 23, 42, 0.15),
        -40px 40px 80px rgba(15, 23, 42, 0.1),
        0 0 0 8px var(--color-primary), /* Swaps to emerald on hover! */
        0 0 0 10px #34d399,
        0 0 30px rgba(16, 185, 129, 0.15);
}

/* Glass glare swipe effect */
.phone-glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
    border-radius: 36px;
    pointer-events: none;
    z-index: 5;
}

/* iPhone style notch */
.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background: #090d16;
    border-radius: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-speaker {
    width: 40px;
    height: 4px;
    background: #334155;
    border-radius: 2px;
}

.phone-camera {
    width: 7px;
    height: 7px;
    background: #1e293b;
    border-radius: 50%;
    border: 1.5px solid #0f172a;
}

/* Inner Screen Container */
.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc; /* Sleek light background inside the app */
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: var(--font-thai);
    user-select: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Status Bar */
.screen-header {
    height: 46px;
    padding: 14px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    z-index: 4;
}

.screen-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.screen-icon {
    width: 12px;
    height: 12px;
}

/* App Body Area */
.app-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 16px 16px;
    overflow: hidden;
    position: relative;
}

/* App Branding Header */
.app-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    position: relative;
}

.app-logo-small {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-brand-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.app-notif-dot {
    width: 5px;
    height: 5px;
    background: #ef4444;
    border-radius: 50%;
    margin-left: auto;
}

/* Elegant Dashboard Bill Card */
.app-dash-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-wave-bg {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dash-card-title {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.dash-card-status {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    font-size: 8.5px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.dash-card-amount {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-inter);
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.dash-card-desc {
    font-size: 10px;
    color: #cbd5e1;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Card Progress Bar */
.dash-card-progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 8.5px;
    color: #94a3b8;
    font-weight: 600;
}

.progress-bar-outer {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #10b981 100%);
    border-radius: 10px;
}

/* App Installment Plan List */
.app-section-title {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.app-plan-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.app-plan-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.plan-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-clock-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-item-meta h4 {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.plan-item-meta span {
    font-size: 8px;
    color: var(--text-muted);
}

.plan-amount {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-inter);
    color: var(--text-primary);
}

.plan-amount.pending-color {
    color: #d97706;
}

/* App Bottom CTA Area inside Phone */
.app-phone-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.btn-phone-pay {
    width: 100%;
    background: var(--text-primary);
    color: white !important;
    font-size: 10.5px;
    font-weight: 600;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-phone-pay:hover {
    background: var(--color-primary);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.phone-action-sub {
    font-size: 7.5px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%);
    color: white;
    padding: 16px 36px;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
    width: 100%;
    max-width: 380px;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 6s infinite ease-in-out;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

.line-icon-img-lg {
    width: 22px;
    height: 22px;
}

.cta-subtext {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.cta-check-icon {
    width: 15px;
    height: 15px;
    color: var(--emerald-500);
}

/* ===== Main Container (Clean Section Divisions) ===== */
.landing-main {
    background-color: var(--color-bg-soft);
    position: relative;
    z-index: 10;
}

/* ===== Stats Section (Sleek Floating Panel) ===== */
.stats-container {
    padding: 0 24px;
    margin-top: -65px;
    position: relative;
    z-index: 30;
}

.landing-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--color-bg-pure);
    border-radius: var(--radius-card);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.stat-card {
    text-align: center;
    padding: 16px;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: var(--color-bg-tint);
}

.stat-number {
    font-size: var(--font-size-stat-num);
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-number);
    margin-bottom: 6px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.stat-label {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== Section Wrappers & Headings (Highly Organized Layout) ===== */
.section-wrapper {
    padding: clamp(60px, 10vw, 110px) 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.landing-section-title {
    text-align: center;
    font-size: var(--font-size-section-title);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.6px;
    line-height: 1.4;
}

.landing-section-title span {
    color: var(--emerald-600);
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-section-subtitle {
    text-align: center;
    font-size: var(--font-size-section-subtitle);
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 55px;
    font-weight: 400;
    line-height: 1.75;
}

/* ===== "How it works" Steps Section ===== */
.guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 10px;
}

.guide-step-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--color-bg-pure);
    padding: 32px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.guide-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    border-color: var(--emerald-100);
}

.step-num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    flex-shrink: 0;
    font-family: var(--font-number);
    box-shadow: var(--shadow-sm);
}

.step-num-emerald { background: var(--emerald-50); color: var(--emerald-600); }
.step-num-blue { background: var(--blue-50); color: var(--blue-600); }
.step-num-purple { background: var(--purple-50); color: var(--purple-600); }
.step-num-amber { background: var(--amber-50); color: var(--amber-600); }

.step-content h3 {
    font-weight: 700;
    font-size: 16.5px;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.step-content p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== Compare Section (Old Way vs New Way) ===== */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 20px;
}

.compare-card {
    background: var(--color-bg-pure);
    border-radius: var(--radius-card);
    padding: clamp(28px, 4vw, 40px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.compare-card.old-way {
    border-top: 5px solid var(--red-500);
}

.compare-card.new-way {
    border-top: 5px solid var(--emerald-500);
    background: linear-gradient(180deg, var(--color-bg-pure) 0%, rgba(236, 253, 245, 0.15) 100%);
}

.compare-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.compare-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.compare-badge {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}

.compare-badge.red { background: var(--red-50); color: var(--red-600); }
.compare-badge.green { background: var(--emerald-50); color: var(--emerald-600); }

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compare-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.compare-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: var(--shadow-sm);
}

.compare-icon.red { background: var(--red-50); color: var(--red-600); }
.compare-icon.green { background: var(--emerald-50); color: var(--emerald-600); }

.compare-item-text h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.compare-item-text p {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

/* ===== Bento Grid Features Section ===== */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.bento-card {
    background: var(--color-bg-pure);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: var(--radius-card);
    padding: clamp(28px, 4vw, 36px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-hover);
}

.bento-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-inner);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.bento-icon-emerald { background: var(--emerald-50); color: var(--emerald-600); }
.bento-icon-blue { background: var(--blue-50); color: var(--blue-600); }
.bento-icon-purple { background: var(--purple-50); color: var(--purple-600); }
.bento-icon-amber { background: var(--amber-50); color: var(--amber-600); }
.bento-icon-rose { background: var(--rose-50); color: var(--rose-600); }

.bento-title {
    font-size: var(--font-size-bento-title);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.bento-desc {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
}

.bento-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.bento-badge-green { background: var(--emerald-50); color: var(--emerald-600); }
.bento-badge-blue { background: var(--blue-50); color: var(--blue-600); }

/* ===== Interactive App Showcase Section (Refined UI) ===== */
.showcase-section {
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg-pure) 100%);
    padding: clamp(70px, 10vw, 110px) 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.showcase-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.showcase-header h2 {
    font-size: var(--font-size-section-title);
    font-weight: 700;
    color: var(--text-primary);
    margin: 14px 0 16px;
    line-height: 1.4;
}

.showcase-header p {
    font-size: var(--font-size-section-subtitle);
    color: var(--text-secondary);
    line-height: 1.75;
}

.showcase-badge {
    background: var(--emerald-50);
    color: var(--emerald-600);
    border-color: rgba(16, 185, 129, 0.2);
    margin-bottom: 0;
}

/* Showcase Navigation Tabs */
.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 32px auto 36px;
    background: var(--color-bg-tint);
    padding: 6px;
    border-radius: 18px;
    max-width: 540px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.showcase-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.showcase-tab i {
    width: 17px;
    height: 17px;
    transition: var(--transition-smooth);
}

.showcase-tab:hover {
    color: var(--text-primary);
}

.showcase-tab.active {
    background: var(--color-bg-pure);
    color: var(--emerald-600);
    box-shadow: var(--shadow-sm);
}

/* Tab Group Animations */
.tab-group {
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-group.active {
    display: flex;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.showcase-features {
    order: 2; /* Mockup is on top for mobile */
}

.showcase-preview {
    order: 1;
}

@media (min-width: 992px) {
    .showcase-content {
        grid-template-columns: 1.25fr 1fr;
        gap: 60px;
    }
    .showcase-features {
        order: 1;
    }
    .showcase-preview {
        order: 2;
    }
}

/* Feature Item Selectors */
.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 22px 26px;
    background: transparent;
    border-radius: var(--radius-card);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(226, 232, 240, 0.6);
}

.feature-item.active {
    background: var(--color-bg-pure);
    border-color: rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-premium);
}

.feature-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-bg-tint);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 13.5px;
    font-family: var(--font-number);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-dot {
    background: var(--color-bg-tint);
    color: var(--text-primary);
}

.feature-item.active .feature-dot {
    background: var(--emerald-500);
    color: white;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.feature-item.active .feature-text h3 {
    color: var(--emerald-600);
}

.feature-text p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Polished Smartphone Mockup */
.showcase-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-mockup {
    width: 100%;
    max-width: 295px;
    height: 600px;
    border: 12px solid #0f172a;
    border-radius: 40px;
    background: #0f172a;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15), 0 0 50px rgba(16, 185, 129, 0.02);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.showcase-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    pointer-events: none;
    z-index: 10;
}

.mockup-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 20px;
    background: #0f172a;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 100;
}

.showcase-screen {
    width: 100%;
    height: 100%;
    background: #0b132b;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

#showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

/* ===== Legal Compliance Banner ===== */
.legal-compliance-banner {
    background: var(--amber-50);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-card);
    padding: clamp(28px, 4vw, 36px);
    margin: 40px auto 0;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.legal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--amber-600);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.legal-icon {
    width: 18px;
    height: 18px;
    color: var(--amber-500);
}

.legal-desc {
    font-size: 13.5px;
    color: #78350f;
    line-height: 1.75;
    font-weight: 400;
}

/* ===== FAQ Accordion (Clean White Look) ===== */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--color-bg-pure);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    padding: clamp(16px, 3vw, 20px) clamp(20px, 4vw, 28px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1.4;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open {
    border-color: rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-soft);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--text-primary);
}

.faq-answer {
    padding: 0 clamp(20px, 4vw, 28px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.75;
    font-weight: 400;
}

.faq-item.open .faq-answer {
    padding: 0 clamp(20px, 4vw, 28px) 24px;
    max-height: 280px; /* Expands smoothly for Thai loopless spacing */
}

/* ===== Bottom CTA Box (Beautiful Minimalist Highlight) ===== */
.landing-footer-cta {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
    color: white;
    padding: clamp(54px, 8vw, 70px) 24px;
    text-align: center;
    border-radius: var(--radius-card);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-footer-cta::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-cta-title {
    font-size: clamp(1.6rem, 2.5vw + 1rem, 2.15rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.4;
}

.footer-cta-desc {
    font-size: var(--font-size-hero-subtitle);
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.8;
    font-weight: 400;
}

/* Footer block centering for primary button */
.block-center {
    margin: 0 auto;
}

/* ===== Footer Section ===== */
footer {
    text-align: center;
    padding: 40px 0 54px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    max-width: var(--max-width);
    margin: 50px auto 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    background: var(--text-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo svg {
    color: var(--emerald-400);
}

.footer-logo span {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}

.footer-copyright {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-number);
    letter-spacing: 0.2px;
}

/* ===== Keyframes Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes shine {
    0% { left: -100%; }
    18%, 100% { left: 100%; }
}

/* ===== Responsive Media Queries (Tablets and Desktops) ===== */
@media (min-width: 640px) {
    .hero-wrapper {
        padding: clamp(110px, 12vw, 150px) 24px clamp(120px, 14vw, 170px);
    }

    .landing-stats {
        grid-template-columns: repeat(3, 1fr);
        padding: 40px;
    }

    .stat-card:not(:last-child)::after {
        bottom: 15%;
        top: 15%;
        right: -10px;
        left: auto;
        width: 1px;
        height: auto;
    }

    .guide-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .compare-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .bento-card-wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .landing-nav {
        padding: 18px 50px;
    }

    .guide-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .guide-step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 36px 28px;
    }
}

/* Mobile responsive sizing for the Showcase phone mockup */
@media (max-width: 576px) {
    .showcase-mockup {
        max-width: 245px;
        height: 500px;
        border-radius: 32px;
        border-width: 10px;
    }
    .mockup-notch {
        width: 110px;
        height: 18px;
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
    }
    .showcase-screen {
        border-radius: 22px;
    }
}
