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

:root {
    --primary: #152043;
    --primary-dark: #0e1630;
    --primary-light: #243264;
    --secondary: #059669;
    --accent: #C9A54E;
    --accent-light: #D4B665;
    --accent-dark: #A8893E;
    --gold-gradient: linear-gradient(135deg, #C9A54E 0%, #E5C973 50%, #A8893E 100%);
    --dark: #111827;
    --dark-2: #1a2035;
    --gray-100: #F5F5F3;
    --gray-200: #E8E6E1;
    --gray-300: #D1D0CB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --white: #FFFFFF;
    --red: #DC2626;
    --green: #059669;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: inherit;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary);
    border-color: var(--accent);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #D4B665 0%, #E5C973 50%, #C9A54E 100%);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 165, 78, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--gold-gradient);
    color: var(--primary);
    border-color: var(--accent);
    font-weight: 700;
}

.btn-white:hover {
    background: linear-gradient(135deg, #D4B665 0%, #E5C973 50%, #C9A54E 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 165, 78, 0.35);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: var(--dark-2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.logo-text .highlight {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-dark);
    background: rgba(201, 165, 78, 0.1);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0e1630 0%, #152043 45%, #1a2a55 100%);
    color: var(--white);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -200px;
    opacity: 0.08;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -150px;
    left: -100px;
    opacity: 0.06;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 165, 78, 0.15);
    color: var(--accent);
    border: 1px solid rgba(201, 165, 78, 0.3);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 28px 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201, 165, 78, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(201, 165, 78, 0.25);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 165, 78, 0.12);
    color: var(--accent-dark);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(201, 165, 78, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
    background: #F8F7F3;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    background: var(--white);
    padding: 4px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: fit-content;
    margin: 0 auto 50px;
}

.toggle-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    color: var(--gray-500);
    transition: var(--transition);
    font-family: inherit;
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--accent);
}

.save-badge {
    background: rgba(201, 165, 78, 0.15);
    color: var(--accent-dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.toggle-btn.active .save-badge {
    background: rgba(201, 165, 78, 0.25);
    color: var(--accent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(201, 165, 78, 0.15);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--primary);
    padding: 6px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.pricing-amount {
    margin-bottom: 4px;
}

.pricing-amount .price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    display: none;
}

.pricing-amount .price.active {
    display: inline;
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--gray-400);
    font-weight: 500;
    display: none;
}

.pricing-amount .period.active {
    display: inline;
}

.pricing-yearly-note {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 16px;
    height: 20px;
    display: none;
}

.pricing-deploy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--dark);
}

.pricing-features li i {
    margin-top: 4px;
    font-size: 0.8rem;
}

.pricing-features li .fa-check {
    color: var(--green);
}

.pricing-features li .fa-times {
    color: var(--gray-300);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.highlight-feature {
    font-weight: 600;
    color: var(--accent-dark);
}

.pricing-features li.highlight-feature .fa-check {
    color: var(--accent);
}

.pricing-features li small {
    color: var(--accent-dark);
    font-weight: 700;
}

.pricing-card.enterprise .pricing-amount .price {
    font-size: 2rem;
    display: inline !important;
}

.pricing-card.enterprise .pricing-amount .period {
    display: inline !important;
}

/* Billing Info */
.billing-info {
    margin-top: 50px;
}

.billing-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.billing-info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.billing-options {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.billing-option {
    text-align: center;
    padding: 16px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.billing-option:hover {
    border-color: var(--accent);
}

.billing-option.popular-option {
    border-color: var(--accent);
    background: rgba(201, 165, 78, 0.06);
}

.billing-period {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.billing-discount {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.billing-discount.highlight {
    color: var(--accent-dark);
    font-weight: 700;
}

/* ===== Deployment ===== */
.deployment {
    padding: 100px 0;
    background: var(--white);
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.deploy-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

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

.deploy-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(201, 165, 78, 0.12);
}

.deploy-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--primary);
    padding: 4px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.82rem;
}

.deploy-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.deploy-icon.cloud {
    background: rgba(21, 32, 67, 0.08);
    color: var(--primary);
}

.deploy-icon.hybrid {
    background: rgba(201, 165, 78, 0.12);
    color: var(--accent-dark);
}

.deploy-icon.local {
    background: rgba(21, 32, 67, 0.06);
    color: var(--gray-600);
}

.deploy-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.deploy-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.deploy-features {
    list-style: none;
}

.deploy-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
}

.deploy-features li .fa-check {
    color: var(--green);
    margin-top: 4px;
}

.deploy-features li.con {
    color: var(--gray-400);
}

.deploy-features li.con .fa-exclamation-triangle {
    color: var(--accent);
    margin-top: 4px;
    font-size: 0.8rem;
}

/* ===== Comparison ===== */
.comparison {
    padding: 100px 0;
    background: #F8F7F3;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}

.comparison-table th {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    font-weight: 700;
    font-size: 0.95rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table th.highlight-col {
    background: var(--primary);
    color: var(--accent);
}

.comparison-table td.highlight-col {
    background: rgba(201, 165, 78, 0.06);
}

.comparison-table tr:hover td {
    background: rgba(201, 165, 78, 0.03);
}

.comparison-table tr:hover td.highlight-col {
    background: rgba(201, 165, 78, 0.1);
}

.text-green {
    color: var(--green);
}

.text-red {
    color: var(--red);
}

.savings-row td {
    background: #F8F7F3 !important;
}

.savings {
    color: var(--green);
    font-weight: 700;
}

.comparison-note {
    text-align: center;
    color: var(--gray-400);
    font-size: 0.82rem;
    margin-top: 20px;
}

/* TCO Bar Chart */
.tco-section {
    margin-top: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.tco-title {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
    color: var(--dark);
}

.tco-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tco-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tco-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
}

.tco-label span {
    font-weight: 400;
    color: var(--gray-400);
    font-size: 0.82rem;
}

.tco-bar-track {
    height: 32px;
    background: var(--gray-100);
    border-radius: 8px;
    overflow: hidden;
}

.tco-bar-fill {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    min-width: 80px;
    transition: width 1s ease;
}

.tco-bar-fill span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.tco-bar-fill.best {
    background: var(--gold-gradient);
}

.tco-bar-fill.best span {
    color: var(--primary);
}

.tco-bar-fill.good {
    background: linear-gradient(135deg, #D4B665 0%, #C9A54E 100%);
}

.tco-bar-fill.good span {
    color: var(--primary);
}

.tco-bar-fill.good span {
    color: var(--dark);
}

.tco-note {
    margin-top: 20px;
    padding: 16px 20px;
    background: #FFFBEB;
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
}

.tco-note p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 6px;
    line-height: 1.7;
}

.tco-note p:last-child {
    margin-bottom: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(145deg, #0e1630 0%, #152043 45%, #1a2a55 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    opacity: 0.85;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.cta-actions {
    margin-bottom: 32px;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    opacity: 0.9;
}

.trust-item i {
    color: var(--accent);
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--gray-100);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 48px;
}

/* Contact Info Section */
.contact-info-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-info-section > h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-section > h3 i {
    color: var(--accent);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(201, 165, 78, 0.1);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-method-content {
    flex: 1;
}

.contact-method-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 4px;
}

.contact-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.contact-method-content .btn {
    margin-top: 8px;
}

/* Office Info */
.office-info {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.office-info h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-info h4 i {
    color: var(--accent);
}

.office-info p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.office-info strong {
    color: var(--primary);
    font-weight: 600;
}

.office-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-top: 8px;
    text-decoration: underline;
    transition: var(--transition);
}

.office-map-link:hover {
    color: var(--accent);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-form-section > h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-section > h3 i {
    color: var(--accent);
}

.form-intro {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.required {
    color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 165, 78, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    font-size: 0.8rem;
    color: var(--red);
    display: none;
}

.form-error.show {
    display: block;
}

/* Checkbox */
.form-checkbox {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
    background: var(--white);
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: bold;
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.checkbox-text a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: var(--accent);
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-message i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.form-message strong {
    font-size: 1rem;
}

.form-message p {
    font-size: 0.88rem;
    margin: 0;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.success i {
    color: #059669;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-message.error i {
    color: #dc2626;
}

/* Button Variations */
.btn-block {
    width: 100%;
    justify-content: center;
}

#submit-btn {
    margin-top: 8px;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive - Contact */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-method-icon {
        margin: 0 auto;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 24px;
    }

    .contact-info-section > h3,
    .contact-form-section > h3 {
        font-size: 1.2rem;
    }
}

/* ===== Footer ===== */
.footer {
    background: #0a0f1e;
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(201, 165, 78, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer .logo-icon {
    background: var(--accent);
    color: var(--primary);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    .billing-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .deployment-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .billing-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .billing-toggle {
        flex-wrap: wrap;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .comparison-table-wrapper {
        margin: 0 -24px;
        border-radius: 0;
    }

    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===== Logo Image ===== */
.logo img {
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Comparison Table Enhancements ===== */
.comparison-table tr.feature-row td.best-cell {
    background: rgba(201, 165, 78, 0.12) !important;
    font-weight: 700;
    color: var(--accent-dark);
}

.comparison-table tr.feature-row {
    background: rgba(201, 165, 78, 0.02);
}

.comparison-table tr.feature-row td:first-child {
    font-weight: 600;
}

.comparison-scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 10px;
    gap: 6px;
}

@media (max-width: 768px) {
    .comparison-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== Accessibility ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Comparison - Category Rows & Footnotes ===== */
.comparison-table tr.category-row td {
    background: var(--primary) !important;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: left !important;
    letter-spacing: 0.04em;
    padding: 10px 20px;
}

.text-orange {
    color: #d97706;
}

.comparison-footnotes {
    margin-top: 20px;
    padding: 20px 24px;
    background: #FFFDF5;
    border: 1px solid rgba(201, 165, 78, 0.2);
    border-radius: var(--radius);
}

.comparison-footnotes p {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 6px;
}

.comparison-footnotes p:last-child {
    margin-bottom: 0;
}

.comparison-footnotes a {
    color: var(--accent-dark);
    text-decoration: underline;
    font-weight: 500;
}

.comparison-footnotes a:hover {
    color: var(--accent);
}

.comparison-footnotes sup {
    font-weight: 700;
    color: var(--accent-dark);
    margin-right: 2px;
}

.comparison-disclaimer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--gray-200);
    color: var(--gray-500) !important;
}

/* ===== PDPA Cookie Consent ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.cookie-banner.show {
    transform: translateY(0);
    visibility: visible;
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
    max-width: 1200px;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 2px;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.cookie-text strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn-settings, .cookie-btn-accept {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 8px 16px;
}

/* Mobile Responsiveness for Cookie Banner */
@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-btn-settings, .cookie-btn-accept {
        flex: 1;
        text-align: center;
    }
}

/* ===== Cookie Settings Modal ===== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.cookie-modal-container {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(to bottom, var(--white), var(--gray-100));
}

.cookie-modal-header h2 {
    font-size: 1.4rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.cookie-modal-header h2 i {
    color: var(--accent);
}

.cookie-modal-close {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-500);
    font-size: 1.3rem;
}

.cookie-modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.cookie-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

.cookie-modal-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

/* Cookie Category */
.cookie-category {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--gray-200);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.cookie-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cookie-category-title i {
    color: var(--accent);
    font-size: 1.2rem;
}

.cookie-category-title h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
}

.cookie-badge {
    background: var(--accent);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-badge.required {
    background: var(--gray-300);
    color: var(--gray-700);
}

.cookie-category-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 12px;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: var(--transition);
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background: var(--gray-400);
}

/* Cookie Details Button */
.cookie-details-btn {
    background: transparent;
    border: none;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-family: inherit;
    transition: var(--transition);
}

.cookie-details-btn:hover {
    color: var(--accent);
}

.cookie-details-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Cookie Details */
.cookie-details {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--gray-300);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 8px;
}

.cookie-table thead {
    background: var(--white);
}

.cookie-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--gray-300);
    font-size: 0.82rem;
}

.cookie-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
    vertical-align: top;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table code {
    background: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-dark);
    border: 1px solid var(--gray-200);
}

/* Modal Footer */
.cookie-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
    gap: 12px;
}

.cookie-modal-footer-right {
    display: flex;
    gap: 12px;
}

.cookie-modal-footer .btn {
    white-space: nowrap;
}

/* Mobile Responsiveness for Cookie Modal */
@media (max-width: 768px) {
    .cookie-modal {
        padding: 0;
        align-items: flex-end;
    }

    .cookie-modal-container {
        max-height: 95vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }

    .cookie-modal-header h2 {
        font-size: 1.2rem;
    }

    .cookie-category {
        padding: 16px;
    }

    .cookie-category-title {
        flex-wrap: wrap;
    }

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

    .cookie-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-modal-footer-right {
        width: 100%;
        flex-direction: column;
    }

    .cookie-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-table {
        font-size: 0.75rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-modal-header h2 {
        font-size: 1.1rem;
        gap: 8px;
    }

    .cookie-category-title i {
        font-size: 1rem;
    }

    .cookie-table {
        font-size: 0.7rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 6px;
    }

    .cookie-table code {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}

/* ===== Product Switcher Dropdown (shared with gutestyle.html) ===== */
.dropdown { position: relative; }

.dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1100;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.3;
    transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-menu a i {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--primary);
    font-size: 13px;
    flex-shrink: 0;
}

.dropdown-menu a:hover {
    background: rgba(201, 165, 78, 0.08);
    color: var(--accent-dark);
}

.dropdown-menu a.active {
    background: rgba(201, 165, 78, 0.1);
    color: var(--accent-dark);
}

.dropdown-menu a.active i {
    background: var(--accent);
    color: var(--primary);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 4px 0 4px 16px;
    }
}
