/* ==========================================================================
   OBS NODE INTELLIGENCE ROBOT - Custom CSS stylesheet
   Author: Antigravity AI
   Theme: High-Tech Industrial 4.0 / Dark Navy & Neon Green / Cyan
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette */
    --bg-main: #060b24;          /* Dark Navy Blue main background */
    --bg-card: rgba(13, 22, 59, 0.45); /* Glassmorphic dark card base */
    --bg-card-hover: rgba(20, 32, 84, 0.6);
    --border-color: rgba(57, 255, 20, 0.15); /* Soft neon green border */
    
    --primary-neon: #39FF14;     /* Neon Green */
    --secondary-cyan: #00F0FF;   /* Cyan / Light Blue */
    --text-white: #ffffff;
    --text-light: #e2e8f0;       /* Ice Blue / Light gray */
    --text-muted: #94a3b8;       /* Muted gray */
    --text-dark: #0f172a;        /* Solid dark for light overlays */
    
    /* Gradients */
    --gradient-glow: linear-gradient(135deg, var(--primary-neon), var(--secondary-cyan));
    --gradient-dark: linear-gradient(180deg, #060b24 0%, #0b133a 100%);
    --gradient-neon-fade: linear-gradient(90deg, rgba(57, 255, 20, 0.2) 0%, rgba(0, 240, 255, 0) 100%);
    --surface-bg: rgba(13, 22, 59, 0.45);
    --surface-strong-bg: rgba(6, 11, 36, 0.85);
    --surface-strong-bg-opaque: rgba(6, 11, 36, 0.95);
    --surface-border: rgba(255, 255, 255, 0.05);
    --surface-border-strong: rgba(255, 255, 255, 0.1);
    --surface-input: rgba(6, 11, 36, 0.8);
    --shadow-dark: rgba(0, 0, 0, 0.4);
    --shadow-mid: rgba(0, 0, 0, 0.35);

    /* Fonts */
    --font-thai: 'Prompt', sans-serif;
    --font-eng: 'Inter', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-shadow-green: 0 0 20px rgba(57, 255, 20, 0.3);
    --glow-shadow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
    
    /* Layout */
    --header-height: 80px;
    --container-width: 1200px;
}

body.light {
    --bg-main: #dbeafe;
    --bg-card: rgba(235, 244, 255, 0.95);
    --bg-card-hover: rgba(203, 223, 255, 0.9);
    --border-color: rgba(48, 175, 255, 0.22);
    --primary-neon: #30AFFF;
    --secondary-cyan: #82caff;
    --text-white: #0f172a;
    --text-light: #334155;
    --text-muted: #475569;
    --text-dark: #0f172a;
    --gradient-glow: linear-gradient(135deg, var(--primary-neon), var(--secondary-cyan));
    --gradient-dark: linear-gradient(180deg, #dbeafe 0%, #c7e6ff 100%);
    --gradient-neon-fade: linear-gradient(90deg, rgba(48, 175, 255, 0.24) 0%, rgba(130, 202, 255, 0) 100%);
    --surface-bg: rgba(255, 255, 255, 0.96);
    --surface-strong-bg: rgba(235, 244, 255, 0.95);
    --surface-strong-bg-opaque: rgba(235, 244, 255, 0.98);
    --surface-border: rgba(59, 130, 246, 0.24);
    --surface-border-strong: rgba(59, 130, 246, 0.28);
    --surface-input: rgba(252, 255, 255, 0.96);
    --shadow-dark: rgba(15, 23, 42, 0.14);
    --shadow-mid: rgba(15, 23, 42, 0.1);
}

body.light .site-header,
body.light .nav-menu,
body.light .footer-form-area,
body.light .benefit-card,
body.light .service-card,
body.light .tech-media .media-container,
body.light .hero-media {
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

body.light .hero-section {
    background-image: var(--gradient-dark);
}

body.light .hero-badge {
    background-color: rgba(48, 175, 255, 0.2);
    border-color: rgba(48, 175, 255, 0.4);
}

body.light .btn-outline {
    background-color: rgba(48, 175, 255, 0.16);
    color: var(--primary-neon);
    border-color: var(--primary-neon);
}

body.light .theme-toggle-btn {
    background-color: rgba(48, 175, 255, 0.16);
    border-color: rgba(48, 175, 255, 0.3);
}
    color: var(--primary-neon);
}

body.light .btn-outline {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-neon);
    border-color: var(--primary-neon);
}

body.light .theme-toggle-btn {
    background-color: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.24);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    background-image: var(--gradient-dark);
    color: var(--text-light);
    font-family: var(--font-thai);
    line-height: 1.6;
    overflow-x: hidden;
}

body.light {
    color: var(--text-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #0d1e4a;
    border-radius: 5px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-neon);
    box-shadow: var(--glow-shadow-green);
}

/* --- Typography & Global Utilities --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 600;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-neon);
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--secondary-cyan);
    border-color: var(--secondary-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-outline:hover {
    background-color: var(--secondary-cyan);
    color: var(--text-dark);
    box-shadow: var(--glow-shadow-cyan);
    transform: translateY(-2px);
}

.btn-block {
    display: width;
    width: 100%;
}

/* --- Navigation Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--surface-strong-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    height: 70px;
    background-color: var(--surface-strong-bg-opaque);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 25px var(--shadow-mid);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

body.light .theme-toggle-btn {
    border-color: rgba(15, 23, 42, 0.12);
    background-color: rgba(15, 23, 42, 0.06);
    color: var(--text-white);
}

.theme-icon {
    width: 20px;
    height: 20px;
}

.theme-icon-sun {
    display: none;
}

body.light .theme-icon-sun {
    display: inline-block;
}

body.light .theme-icon-moon {
    display: none;
}

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

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.4));
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-tech);
    letter-spacing: 1px;
    color: var(--text-white);
}

.logo-accent {
    color: var(--primary-neon);
    font-weight: 500;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-neon);
}

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

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, rgba(6, 11, 36, 0) 70%);
    z-index: -1;
}

body.light .hero-section::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 50px;
    color: var(--primary-neon);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.hero-title {
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 24px;
}

.slogan-sub {
    display: block;
    font-size: 1.25rem;
    color: var(--secondary-cyan);
    font-family: var(--font-tech);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.slogan-main {
    display: block;
    background: linear-gradient(135deg, #ffffff 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light .slogan-main {
    background: none;
    color: #0f172a;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.hero-mission {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    border-left: 3px solid var(--primary-neon);
    padding-left: 20px;
}

body.light .hero-mission {
    color: #0f172a;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Media Styling */
.hero-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--surface-border-strong);
    box-shadow: 0 20px 40px var(--shadow-dark);
    transition: var(--transition-smooth);
}

.hero-media:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: var(--glow-shadow-cyan);
}

.media-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(6, 11, 36, 0.9) 100%);
    z-index: 1;
}

body.light .media-glow-effect {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(248, 250, 252, 0.95) 100%);
}

.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 6s ease;
}

.hero-media:hover .hero-img {
    transform: scale(1.05);
}

.media-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    font-size: 0.85rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-strong-bg);
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--surface-border-strong);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-neon);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--primary-neon);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(57, 255, 20, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

/* --- Section Global Structure --- */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 1.1rem;
    color: var(--primary-neon);
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* --- About Us Section --- */
.about-section {
    background-color: rgba(10, 18, 54, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.stats-row {
    display: flex;
    gap: 20px;
}

.stat-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--secondary-cyan);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
}

.stat-num {
    display: block;
    font-family: var(--font-tech);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-cyan);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Tech Graphic (Visual section for about) */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 380px;
}

.tech-graphic {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(57, 255, 20, 0.2);
}

.network-circle.outer {
    width: 280px;
    height: 280px;
    animation: rotateCW 20s linear infinite;
}

.network-circle.middle {
    width: 200px;
    height: 200px;
    border: 1px dashed rgba(0, 240, 255, 0.2);
    animation: rotateCCW 15s linear infinite;
}

.network-circle.inner {
    width: 120px;
    height: 120px;
}

.center-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-neon);
    filter: drop-shadow(0 0 8px var(--primary-neon));
    z-index: 2;
}

.node {
    position: absolute;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    z-index: 3;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); border-color: var(--primary-neon); }
.node-2 { right: -10px; top: 50%; transform: translateY(-50%); border-color: var(--secondary-cyan); }
.node-3 { bottom: 0; left: 50%; transform: translateX(-50%); border-color: var(--primary-neon); }
.node-4 { left: -10px; top: 50%; transform: translateY(-50%); border-color: var(--secondary-cyan); }

@keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* --- Our Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.15);
    box-shadow: 0 15px 35px var(--shadow-mid);
}

.service-card:hover::before {
    background: var(--gradient-glow);
}

.card-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0, 240, 255, 0) 70%);
    top: -60px;
    right: -60px;
    transition: var(--transition-smooth);
}

.service-card:hover .card-glow {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(0, 240, 255, 0) 70%);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-cyan);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--secondary-cyan);
    color: var(--text-dark);
    box-shadow: var(--glow-shadow-cyan);
    transform: scale(1.05);
}

.service-name {
    font-size: 1.35rem;
    font-family: var(--font-tech);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.service-desc-th {
    font-size: 0.95rem;
    color: var(--primary-neon);
    font-weight: 500;
    margin-bottom: 16px;
}

.service-detail {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 90px;
}

.service-features {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features li i {
    width: 16px;
    height: 16px;
    color: var(--primary-neon);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Featured Service Card Override */
.service-card.featured {
    border-color: rgba(57, 255, 20, 0.25);
    box-shadow: 0 10px 25px rgba(57, 255, 20, 0.05);
}

.service-card.featured::before {
    background: var(--gradient-glow);
}

.service-card.featured .service-icon-box {
    background-color: rgba(57, 255, 20, 0.08);
    border-color: rgba(57, 255, 20, 0.3);
    color: var(--primary-neon);
}

.service-card.featured:hover .service-icon-box {
    background-color: var(--primary-neon);
    color: var(--text-dark);
    box-shadow: var(--glow-shadow-green);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    background: var(--primary-neon);
    color: var(--text-dark);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* --- Robot Technology Detail Section --- */
.tech-section {
    background-color: rgba(10, 18, 54, 0.15);
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-family: var(--font-thai);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.tab-btn:hover {
    color: var(--text-white);
    border-color: rgba(0, 240, 255, 0.3);
}

.tab-btn.active {
    background: var(--primary-neon);
    color: var(--text-dark);
    border-color: var(--primary-neon);
    box-shadow: var(--glow-shadow-green);
    font-weight: 600;
}

.tab-btn.active i {
    color: var(--text-dark);
}

/* Tab Content Display Logic */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.tech-tag {
    display: inline-block;
    color: var(--secondary-cyan);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.tech-headline {
    font-size: 2rem;
    margin-bottom: 16px;
}

.tech-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.highlight-item {
    display: flex;
    gap: 16px;
}

.highlight-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(57, 255, 20, 0.06);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-neon);
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Box info inside tech */
.tech-detailed-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--secondary-cyan);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
}

.tech-detailed-box h4 {
    font-size: 1.1rem;
    color: var(--secondary-cyan);
    margin-bottom: 16px;
}

.sub-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-feature h5 {
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-feature h5::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--primary-neon);
    border-radius: 50%;
}

.sub-feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Quote Box Callout */
.quote-box {
    background: var(--gradient-neon-fade);
    padding: 20px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.quote-icon {
    color: var(--primary-neon);
    opacity: 0.6;
    flex-shrink: 0;
}

.quote-text {
    font-family: var(--font-tech);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-neon);
    letter-spacing: 1px;
}

/* Tab Content 2 - Climbing Robot specifics */
.partnership-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--secondary-cyan);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sub-title-accent {
    font-size: 1.15rem;
    color: var(--primary-neon);
    margin-top: 24px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-tech);
}

.capabilities-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cap-card {
    background: var(--surface-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.cap-card:hover {
    border-color: var(--secondary-cyan);
    background: var(--surface-bg);
}

.cap-card i {
    color: var(--secondary-cyan);
    margin-bottom: 12px;
}

.cap-card h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.cap-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Tech Media Display */
.tech-media .media-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--surface-border-strong);
    box-shadow: 0 15px 30px var(--shadow-dark);
}

.tech-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* Scanner Animation overlay */
.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    box-shadow: 0 0 10px var(--primary-neon);
    animation: scan 4s linear infinite;
    z-index: 2;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Scanning Circle Animation for Climbing tab */
.scanning-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--secondary-cyan);
    border-radius: 50%;
    top: 40%;
    left: 45%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--secondary-cyan);
    animation: circularScan 3s infinite ease-in-out;
    z-index: 2;
}

.scanning-circle::after {
    content: 'TARGETING';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: var(--secondary-cyan);
    font-family: var(--font-tech);
    letter-spacing: 1px;
}

@keyframes circularScan {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-30%, -20%) scale(1.2); opacity: 1; border-color: var(--primary-neon); box-shadow: 0 0 15px var(--primary-neon); }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

.telemetry-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--surface-strong-bg);
    border: 1px solid var(--surface-border);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.tele-item {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tele-item i {
    width: 14px;
    height: 14px;
    color: var(--secondary-cyan);
}

/* --- Key Benefits Section --- */
.benefits-section {
    background-color: rgba(10, 18, 54, 0.35);
}

body.light .benefits-section {
    background-color: rgba(248, 250, 252, 0.85);
}

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

.benefit-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px var(--shadow-mid);
}

.benefit-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    opacity: 0.03;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.benefit-card:hover .benefit-glow {
    opacity: 0.12;
}

.benefit-glow.green { background-color: var(--primary-neon); }
.benefit-glow.cyan { background-color: var(--secondary-cyan); }

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.benefit-icon.bg-green {
    background-color: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    color: var(--primary-neon);
}

.benefit-icon.bg-cyan {
    background-color: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--secondary-cyan);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card:hover .benefit-icon.bg-green {
    background-color: var(--primary-neon);
    color: var(--text-dark);
    box-shadow: var(--glow-shadow-green);
}

.benefit-card:hover .benefit-icon.bg-cyan {
    background-color: var(--secondary-cyan);
    color: var(--text-dark);
    box-shadow: var(--glow-shadow-cyan);
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Site Footer & Contact Us --- */
.site-footer {
    background-color: var(--surface-strong-bg);
    border-top: 1px solid var(--surface-border);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo h3 {
    font-family: var(--font-tech);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.footer-cta-text {
    font-size: 1.1rem;
    color: var(--secondary-cyan);
    margin-bottom: 35px;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item i {
    width: 20px;
    height: 20px;
    color: var(--primary-neon);
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--primary-neon);
    text-decoration: underline;
}

/* Form Styling */
.footer-form-area {
    background: var(--bg-card);
    border: 1px solid var(--surface-border);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-mid);
}

.footer-form-area h4 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 12px;
}

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

.contact-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background-color: var(--surface-input);
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-white);
    font-family: var(--font-thai);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-neon);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.25);
}

.site-footer {
    background-color: var(--surface-strong-bg);
    border-top: 1px solid var(--surface-border);
    padding-top: 80px;
}

body.light .site-footer {
    background-color: transparent;
    border-top-color: rgba(148, 163, 184, 0.16);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Scroll Reveal Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Media Queries --- */

/* Tablet Portrait & Smaller (992px) */
@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto 24px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-mission {
        border-left: none;
        border-bottom: 2px solid var(--primary-neon);
        padding-left: 0;
        padding-bottom: 20px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        height: auto;
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-media {
        order: -1;
    }
    
    .tech-img {
        height: 350px;
    }
    
    .capabilities-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {
    /* Mobile Menu Drawer Toggle */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background-color: var(--surface-strong-bg-opaque);
        border-left: 1px solid var(--surface-border);
        padding: 40px 30px;
        transition: var(--transition-smooth);
        backdrop-filter: blur(10px);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .tech-tabs {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .footer-form-area {
        padding: 24px;
    }
}
