﻿:root {
    --bg: #08101c;
    --bg-soft: #0f172a;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.72);
    --text: #0f172a;
    --text-soft: #475569;
    --text-on-dark: #e2e8f0;
    --border: rgba(148, 163, 184, 0.18);
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --navy: #0f2f5f;
    --blue: #2563eb;
    --green: #2f9e44;
    --slate: #334155;
    --shadow-xl: 0 30px 80px rgba(15, 23, 42, 0.16);
    --shadow-lg: 0 18px 42px rgba(15, 23, 42, 0.12);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Inter, "Noto Sans Thai", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(47, 158, 68, 0.14), transparent 32%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.muted-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(241,245,249,0.9) 100%);
}

.dark-section {
    background: linear-gradient(135deg, #08101c 0%, #0f172a 100%);
    color: var(--text-on-dark);
}

.dark-soft-section {
    background: linear-gradient(135deg, #101b2d 0%, #13233c 100%);
    color: var(--text-on-dark);
}

.request-section {
    background: linear-gradient(135deg, #08101c 0%, #10203a 100%);
    color: var(--text-on-dark);
}

.hero-section {
    padding: 72px 0 48px;
}

.hero-grid,
.two-column-grid,
.request-grid,
.footer-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    min-height: calc(100vh - 108px);
}

.two-column-grid {
    grid-template-columns: 1fr 1fr;
}

.request-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand-dark);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.hero-copy h1,
.section-heading h2 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    margin-top: 1rem;
    font-size: clamp(2.5rem, 5.1vw, 4.8rem);
    max-width: 12ch;
}

.hero-lead,
.section-heading p,
.problem-card p,
.feature-card p,
.stack-item p,
.value-card p,
.pricing-card p,
.faq-item p,
.contact-point span,
.form-note,
.visual-panel li,
.stat-card span,
.workflow-list li,
.integration-chip,
.demo-form label,
.demo-form input,
.demo-form select,
.demo-form textarea {
    color: var(--text-soft);
}

.hero-lead {
    margin: 1.2rem 0 0;
    max-width: 62ch;
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn {
    border: 0;
    text-decoration: none;
    cursor: pointer;
    min-height: 52px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-brand {
    color: #fff;
    background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 56%, var(--green) 100%);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
}

.btn-soft {
    color: var(--text);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

.hero-badges {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-badges span,
.integration-chip,
.mini-pill,
.pricing-label {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-badges span {
    padding: 0.55rem 0.85rem;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-stats {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card,
.problem-card,
.feature-card,
.value-card,
.pricing-card,
.contact-point {
    padding: 1.35rem;
}

.stat-card strong,
.problem-card h3,
.feature-card h3,
.stack-item h3,
.value-card h3,
.pricing-card h3,
.visual-panel h3,
.workflow-card h3,
.contact-point strong,
.faq-item summary,
.metric-card strong {
    color: var(--text);
}

.glass-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
}

.hero-visual {
    position: relative;
}

.dashboard-card {
    padding: 1.35rem;
    overflow: hidden;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mini-pill {
    min-height: 36px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-dark);
    background: rgba(37, 99, 235, 0.12);
}

.mini-pill.muted {
    color: #0f172a;
    background: rgba(148, 163, 184, 0.14);
}

.metric-grid,
.feature-grid,
.problem-grid,
.value-grid,
.pricing-grid,
.form-grid {
    display: grid;
    gap: 1rem;
}

.metric-grid {
    margin-top: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
    padding: 1rem;
    border-radius: 20px;
    color: #fff;
}

.metric-card small,
.metric-card strong {
    display: block;
    color: inherit;
}

.metric-card strong {
    margin-top: 0.35rem;
    font-size: 1.6rem;
}

.accent-green { background: linear-gradient(135deg, #2f9e44 0%, #74c365 100%); }
.accent-navy { background: linear-gradient(135deg, #16396e 0%, #0f2f5f 100%); }
.accent-slate { background: linear-gradient(135deg, #334155 0%, #475569 100%); }
.accent-blue { background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%); }

.visual-columns {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.visual-panel {
    border-radius: 24px;
    padding: 1.15rem;
    background: rgba(248, 250, 252, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.border-highlight {
    border: 1px solid rgba(249, 115, 22, 0.18);
    background: rgba(255, 247, 237, 0.82);
}

.visual-panel ul,
.pricing-card ul,
.workflow-list {
    margin: 0.9rem 0 0;
    padding-left: 1.1rem;
}

.visual-panel li,
.pricing-card li,
.workflow-list li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p {
    margin: 1rem 0 0;
    line-height: 1.8;
    font-size: 1.03rem;
}

.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.narrow {
    max-width: 760px;
}

.left-on-dark h2,
.left-on-dark p,
.on-dark h2,
.on-dark p,
.dark-section .stack-item h3,
.dark-section .workflow-card h3,
.dark-section .workflow-list li,
.request-section .contact-point strong,
.request-section .contact-point span,
.request-section .section-heading h2,
.request-section .section-heading p,
.request-section .eyebrow,
.dark-soft-section .section-heading h2,
.dark-soft-section .section-heading p,
.dark-soft-section .eyebrow {
    color: var(--text-on-dark);
}

.dark-section .eyebrow,
.request-section .eyebrow,
.dark-soft-section .eyebrow {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.08);
}

.problem-grid,
.feature-grid,
.value-grid,
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-number {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--brand-dark);
    font-weight: 800;
    margin-bottom: 1rem;
}

.workflow-card,
.integration-panel,
.demo-form-card {
    padding: 1.5rem;
}

.workflow-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.stack-list {
    display: grid;
    gap: 1rem;
}

.stack-item {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.stack-item p,
.workflow-list li {
    color: #cbd5e1;
}

.integration-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.integration-chip {
    min-height: 44px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(148,163,184,0.18);
}

.pricing-card {
    position: relative;
}

.pricing-label {
    min-height: 36px;
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-dark);
    background: rgba(37,99,235,0.12);
}

.pricing-label.hot {
    color: #fff;
    background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 60%, var(--green) 100%);
}

.featured-pricing {
    border: 1px solid rgba(37, 99, 235, 0.24);
    transform: translateY(-6px);
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 1.25rem;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0;
    padding: 0 1.25rem 1.2rem;
    line-height: 1.75;
}

.contact-points {
    display: grid;
    gap: 1rem;
}

.contact-point {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
}

.demo-form-card {
    background: rgba(255, 255, 255, 0.94);
}

.demo-form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: grid;
    gap: 0.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

.demo-form label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #fff;
    outline: none;
    font: inherit;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.form-note {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
}


.dark-soft-section .pricing-card h3,
.dark-soft-section .pricing-card p,
.dark-soft-section .pricing-card li {
    color: var(--text) !important;
}

.dark-soft-section .pricing-card p,
.dark-soft-section .pricing-card li {
    opacity: 0.9;
}

.status-banner-wrap {
    padding-top: 1rem;
}

.status-banner {
    padding: 1rem 1.15rem;
    border-radius: 18px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.status-banner.success {
    background: rgba(47, 158, 68, 0.12);
    color: #166534;
    border: 1px solid rgba(47, 158, 68, 0.22);
}

.status-banner.error {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.site-footer {
    padding: 24px 0 48px;
    background: #08101c;
    color: #cbd5e1;
}

.footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small {
    color: #fff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 1199.98px) {
    .hero-grid,
    .two-column-grid,
    .request-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
        padding-top: 1rem;
    }
}

@media (max-width: 991.98px) {
    .section,
    .hero-section {
        padding: 72px 0;
    }

    .problem-grid,
    .feature-grid,
    .value-grid,
    .pricing-grid,
    .form-grid,
    .hero-stats,
    .visual-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(100% - 1.25rem, var(--container));
    }

    .section,
    .hero-section {
        padding: 56px 0;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .problem-grid,
    .feature-grid,
    .value-grid,
    .pricing-grid,
    .form-grid,
    .hero-stats,
    .metric-grid,
    .visual-columns,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .hero-actions .btn {
        width: 100%;
    }

    .dashboard-card,
    .workflow-card,
    .integration-panel,
    .demo-form-card {
        padding: 1.1rem;
    }

    .hero-lead,
    .section-heading p {
        font-size: 1rem;
    }
}


.real-ui-section {
    padding-top: 0;
}

.real-ui-grid {
    display: grid;
    gap: 1.5rem;
}

.real-ui-card {
    padding: 1.35rem;
    border: 1px solid rgba(59, 130, 246, 0.10);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.real-ui-card.hero-shot {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96));
}

.real-ui-copy {
    margin-bottom: 1rem;
}

.real-ui-copy h3 {
    margin: 0.45rem 0 0.55rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.real-ui-copy p {
    margin: 0;
    color: #475569;
}

.real-ui-card > img,
.dual-shot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
    background: #fff;
}

.dual-shot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .dual-shot {
        grid-template-columns: 1fr;
    }
}
