:root {
    /* Brand Colors from Logo */
    --primary-color: #FF8C00;      /* Orange from 73 */
    --primary-light: #FFA940;
    --primary-dark: #E67E00;
    --secondary-color: #1E3A5F;    /* Navy from 73 */
    --secondary-light: #2C5282;
    
    /* Light Theme Colors */
    --bg-main: #FFFFFF;
    --bg-section: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #1a1a1a;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border-color: rgba(0, 0, 0, 0.06);
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, #1E3A5F 0%, #FF8C00 100%);
    --orange-gradient: linear-gradient(135deg, #FF8C00 0%, #FFA940 100%);
    --navy-gradient: linear-gradient(135deg, #1E3A5F 0%, #2C5282 100%);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 8px 30px rgba(255, 140, 0, 0.25);
    --shadow-navy: 0 8px 30px rgba(30, 58, 95, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sarabun', 'Outfit', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

h1 { font-size: 3.2rem; letter-spacing: -1.5px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-bar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo-img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--secondary-color);
}

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

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Language Switcher */
.lang-switch {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.25rem 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}

.lang-switch:hover { border-color: var(--primary-color); }

.lang-item {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-item.active {
    background: var(--secondary-color);
    color: white;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-navy);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-section);
    color: var(--text-main);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.btn-app:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Animations */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.9); }

.reveal.active, 
.reveal-left.active, 
.reveal-right.active, 
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Composition */
.tech-composition {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 178, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.app-mockup {
    width: 280px;
    height: 580px;
    background: #1E3A5F;
    border-radius: 40px;
    border: 8px solid #2a2a2a;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float-card 6s ease-in-out infinite;
    max-width: 200px;
}

.float-card i {
    font-size: 1.8rem;
}

.float-card div {
    display: flex;
    flex-direction: column;
}

.float-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.float-card strong {
    font-size: 0.95rem;
    color: var(--secondary-color);
}

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

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

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Floating Animation */
.floating-anim {
    animation: floating 8s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: var(--secondary-color);
}

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

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

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* Section Header */
.section-header {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Innovation/Bento Grid Section */
.innovation-section {
    padding: 6rem 0;
    background: var(--bg-section);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(240px, auto));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(255, 140, 0, 0.2);
}

/* Grid Positioning */
.item-main {
    grid-column: span 2;
    grid-row: span 1;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
}

.item-tall {
    grid-column: span 1;
    grid-row: span 2;
    background: var(--secondary-color);
    color: white;
}

.item-tall .bento-content {
    height: 100%;
    justify-content: space-between;
}

.item-tall h3, .item-tall p { color: white; }
.item-tall p { opacity: 0.85; }

.item-wide {
    grid-column: span 1;
}

.item-box {
    grid-column: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-color);
    color: white;
}

.item-box h3, .item-box p { color: white; }

/* Bento Content */
.bento-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.icon-circle.navy { background: rgba(255,255,255,0.1); color: white; }
.icon-circle.orange { background: rgba(255,140,0,0.1); color: var(--primary-color); }

.bento-item h3 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.bento-item p { font-size: 0.95rem; line-height: 1.6; }

.big-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.tech-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tech-tags li {
    background: rgba(255,255,255,0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

/* Animations */
.circle-anim {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    right: -50px;
    top: -50px;
    z-index: 1;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    
    .bento-item {
        min-height: 220px;
    }
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: var(--bg-main);
}

.products-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.product-image {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE4CC 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 180px;
    height: 360px;
    background: #1a1a1a;
    border-radius: 30px;
    border: 6px solid #333;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.product-info {
    padding: 2rem;
}

.product-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-features i {
    color: var(--primary-color);
}

.product-btns {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.product-card.small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-section);
    border-style: dashed;
}

.product-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--bg-section);
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.value-item h4 {
    margin-bottom: 0.3rem;
}

.value-item p {
    font-size: 0.9rem;
    margin: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-box {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-logo {
    width: 100%;
    max-width: 280px;
}

.quote-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-section);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.quote-box p {
    font-style: italic;
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-main);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-info {
    padding: 3rem;
    color: white;
}

.contact-info .section-tag {
    color: var(--primary-color);
}

.contact-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.contact-form-box {
    background: var(--bg-card);
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
footer {
    padding: 4rem 0 2rem 0;
    background: var(--secondary-color);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links-group h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.footer-social h4 {
    color: white;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 2rem auto; }
    .hero-btns { justify-content: center; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 2rem);
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .tech-composition {
        height: 400px;
        margin-top: 2rem;
    }

    .circle-bg {
        width: 320px;
        height: 320px;
    }

    .app-mockup {
        width: 200px;
        height: 400px;
        border-width: 5px;
        border-radius: 25px;
    }

    .float-card {
        display: none; /* Hide floating cards on small mobile for cleaner look */
    }
}
