/* ==========================================
   CSS Variables & Design Tokens
   ========================================== */
:root {
    --primary: #1e5eff;
    --primary-dark: #0d47d1;
    --primary-light: #4a7fff;
    --secondary: #0f172a;
    --accent: #667eea;
    --accent-2: #764ba2;

    --red: #e74c3c;
    --red-dark: #c0392b;

    --dark: #0a0e1a;
    --dark-2: #111827;
    --dark-3: #1f2937;
    --dark-4: #374151;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --white: #ffffff;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(30, 94, 255, 0.3);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-thai: 'Kanit', sans-serif;
    --font-en: 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-thai);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

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

/* ==========================================
   Typography
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 94, 255, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(30, 94, 255, 0.15);
}

.section-label.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.15);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}

.section-title.light {
    color: var(--white);
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, #4a7fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

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

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

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-block {
    width: 100%;
}

/* ==========================================
   Navbar
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary);
}

.navbar.scrolled .logo-text {
    color: var(--text);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-en);
    transition: var(--transition);
}

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

.navbar.scrolled .logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--text);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #0d2b6b 30%, #1e5eff 60%, #0d47d1 80%, #0a1628 100%);
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 94, 255, 0.3) 0%, transparent 70%);
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite reverse;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float var(--duration, 6s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-80px) translateX(30px);
        opacity: 0.8;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge i {
    color: #ffd700;
    animation: rocketBounce 2s ease infinite;
}

@keyframes rocketBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-stats-inline {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat-avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    border: 2px solid rgba(10, 22, 40, 0.5);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-stat-item strong {
    color: var(--white);
    font-size: 1rem;
    display: block;
}

.hero-stat-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Visual / Mockup */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-mockup {
    position: relative;
}

.mockup-browser {
    background: var(--dark-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--dark-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #28c840;
}

.browser-url {
    flex: 1;
    background: var(--dark-4);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--gray-400);
    font-family: var(--font-en);
}

.browser-content {
    padding: 20px;
    min-height: 220px;
}

.mock-header {
    height: 8px;
    width: 40%;
    background: var(--dark-4);
    border-radius: 4px;
    margin-bottom: 20px;
}

.mock-hero-section {
    margin-bottom: 20px;
}

.mock-text-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.mock-line {
    height: 6px;
    background: var(--dark-4);
    border-radius: 3px;
}

.mock-line.w90 {
    width: 90%;
}

.mock-line.w80 {
    width: 80%;
}

.mock-line.w70 {
    width: 70%;
}

.mock-line.w60 {
    width: 60%;
}

.mock-line.w40 {
    width: 40%;
}

.mock-btn {
    width: 80px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mock-card {
    height: 60px;
    background: var(--dark-3);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Phone mockup */
.mockup-phone {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 140px;
    background: var(--dark-2);
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.phone-notch {
    width: 50%;
    height: 6px;
    background: var(--dark-4);
    border-radius: 3px;
    margin: 4px auto 10px;
}

.phone-content {
    background: var(--dark-3);
    border-radius: 12px;
    overflow: hidden;
}

.phone-header {
    height: 20px;
    background: var(--primary);
}

.phone-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone-img {
    width: 100%;
    height: 40px;
    background: var(--dark-4);
    border-radius: 4px;
}

/* Floating cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    animation: cardFloat 5s ease-in-out infinite;
    z-index: 3;
}

.floating-card i {
    font-size: 1rem;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -5%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 5%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-placeholder {
    background: linear-gradient(135deg, #0d2b6b, #1e5eff);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-logo-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--white);
    z-index: 2;
}

.about-logo-big i {
    font-size: 3rem;
    opacity: 0.9;
}

.about-logo-big span {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-en);
    letter-spacing: 1px;
}

.about-img-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.deco-1 {
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
    animation: spinSlow 20s linear infinite;
}

.deco-2 {
    width: 150px;
    height: 150px;
    bottom: -20px;
    left: -20px;
    animation: spinSlow 15s linear infinite reverse;
}

.deco-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.05);
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--gray-100);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-en);
}

.exp-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 94, 255, 0.3), transparent);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(30, 94, 255, 0.2);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.service-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

.service-card-inner {
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-red {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--white);
}

.service-dark {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--white);
}

.service-blue {
    background: linear-gradient(135deg, #1e5eff, #0d47d1);
    color: var(--white);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card>.service-card-inner>p {
    font-size: 0.92rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 24px;
    flex: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.service-features li i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.service-card .btn-white {
    align-self: flex-start;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.service-card .btn-white:hover {
    background: var(--white);
    color: var(--text);
    border-color: var(--white);
}

/* ==========================================
   Why Choose Us
   ========================================== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(30, 94, 255, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.why-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Why Us Visual */
.why-us-visual {
    display: flex;
    justify-content: center;
}

.why-card-stack {
    position: relative;
    width: 320px;
    height: 350px;
}

.why-stack-card {
    position: absolute;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.card-back {
    top: 0;
    left: 20px;
    height: 280px;
    transform: rotate(3deg);
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 40px;
}

.card-front {
    top: 20px;
    left: 0;
    z-index: 2;
    background: var(--white);
}

.stack-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text);
}

.stack-card-header i {
    color: var(--primary);
    font-size: 1.1rem;
}

.stack-card-header span {
    font-weight: 600;
}

.stack-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 160px;
    padding: 10px 0;
}

.chart-bar {
    flex: 1;
    background: var(--gray-200);
    border-radius: 6px 6px 0 0;
    transition: var(--transition-slow);
    min-height: 20px;
}

.chart-bar.active {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}

.stack-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.growth-badge {
    background: rgba(67, 233, 123, 0.1);
    color: #22c55e;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-en);
}

/* ==========================================
   Stats Section
   ========================================== */
.stats {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

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

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 94, 255, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    font-family: var(--font-en);
    margin-bottom: 4px;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

/* Carousel Wrapper */
.pricing-carousel {
    position: relative;
    padding: 0 60px;
    /* Space for nav buttons */
}

.pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 24px;
    align-items: stretch;
    padding: 20px 4px 40px 4px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.pricing-grid::-webkit-scrollbar {
    height: 6px;
}

.pricing-grid::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

.pricing-grid::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

/* Navigation Arrows */
.pricing-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(30, 94, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-nav:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 28px rgba(30, 94, 255, 0.35), 0 0 0 4px rgba(30, 94, 255, 0.12);
    transform: translateY(-50%) scale(1.1);
}

.pricing-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.pricing-nav.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}

.pricing-nav-prev {
    left: 0;
}

.pricing-nav-next {
    right: 0;
}

.pricing-card {
    flex: 0 0 340px;
    /* Fixed width to allow scrolling */
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(30, 94, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(30, 94, 255, 0.02), var(--white));
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-family: var(--font-en);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    font-family: var(--font-en);
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text);
}

.pricing-features li i {
    font-size: 0.8rem;
    color: var(--primary);
}

.pricing-features li.disabled {
    opacity: 0.4;
}

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

/* ==========================================
   Portfolio Section
   ========================================== */
.portfolio {
    padding: 100px 0;
    background: var(--dark);
}

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

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(30, 94, 255, 0.3);
}

.portfolio-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 94, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transform: scale(0.8);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-link {
    transform: scale(1);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-family: var(--font-en);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta {
    padding: 80px 0;
    background: var(--white);
}

.cta-card {
    background: linear-gradient(135deg, #1e5eff, #0d47d1, #0d2b6b);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-circle-1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -60px;
}

.cta-circle-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: -40px;
}

.cta-circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(30, 94, 255, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font-thai);
    transition: var(--transition);
    /* background: var(--white); */
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.1);
}

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

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links li i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   Back to Top
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================
   Scroll Animations
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-inline {
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-visual {
        order: -1;
    }

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

    .pricing-carousel {
        padding: 0 40px;
    }

    .pricing-nav {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .pricing-grid {
        max-width: 100%;
        margin: 0;
        padding-left: 4px;
        padding-right: 4px;
    }

    .pricing-card {
        flex: 0 0 300px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 998;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        color: var(--white) !important;
    }

    .mobile-toggle {
        display: flex;
        z-index: 999;
    }

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

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

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

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

    .cta-card {
        padding: 40px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-img-placeholder {
        height: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}