@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@200;300;400;500;600;700;800&family=Noto+Sans+Thai:wght@200;300;400;500;600;700&display=swap');

:root {
    --platinum: #E8E8E8;
    --gold: #C9A961;
    --rich-gold: #B89546;
    --deep-charcoal: #0D0D0D;
    --charcoal: #1A1A1A;
    --soft-charcoal: #252525;
    --accent-teal: #2DD4BF;
    --accent-purple: #A78BFA;
    --accent-blue: #60A5FA;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Noto Sans Thai', sans-serif;
    background: var(--deep-charcoal);
    color: var(--platinum);
    overflow-x: hidden;
    line-height: 1.6;
}

body.thai {
    font-family: 'Noto Sans Thai', 'Montserrat', sans-serif;
}

/* Animated gradient background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, 
        var(--deep-charcoal) 0%, 
        #0F1419 25%, 
        #1A1520 50%, 
        #0F1419 75%, 
        var(--deep-charcoal) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gold);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-teal);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-purple);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--white);
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.logo .highlight {
    color: var(--gold);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--platinum);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 50px;
    padding: 0.4rem;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: none;
    color: var(--platinum);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50px;
    text-transform: uppercase;
}

.lang-btn.active {
    background: var(--gold);
    color: var(--deep-charcoal);
}

.lang-btn:hover:not(.active) {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

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

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .gold-text {
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--rich-gold) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--platinum);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--rich-gold) 100%);
    border: none;
    color: var(--deep-charcoal);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', 'Noto Sans Thai', sans-serif;
    border-radius: 4px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid rgba(201, 169, 97, 0.5);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Noto Sans Thai', sans-serif;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 1;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.1);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.2);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--platinum);
    opacity: 0.8;
    font-weight: 500;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-title h2 span {
    font-weight: 700;
    color: var(--gold);
}

.section-title p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--platinum);
    opacity: 0.8;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* AI Tech Section */
.ai-tech-section {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(45, 212, 191, 0.03) 50%, transparent 100%);
}

.ai-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ai-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-teal);
    box-shadow: 0 30px 80px rgba(45, 212, 191, 0.2);
}

.ai-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
}

.ai-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.ai-card p {
    color: var(--platinum);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.ai-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid var(--accent-teal);
    border-radius: 50px;
    color: var(--accent-teal);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Graph Section */
.graph-section {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(201, 169, 97, 0.02) 50%, transparent 100%);
}

.graph-container {
    max-width: 1400px;
    margin: 0 auto;
}

.graph-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 30px;
    padding: 2.5rem 1.5rem;
}

.graph-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, rgba(45, 212, 191, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chart-visual {
    width: 100%;
    height: 100%;
    position: relative;
}

.chart-line {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--accent-teal) 100%);
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    from { width: 0; }
    to { width: 80%; }
}

.chart-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold);
    animation: pulse 2s infinite;
}

.dot-1 { bottom: 20%; left: 20%; }
.dot-2 { bottom: 35%; left: 35%; }
.dot-3 { bottom: 45%; left: 50%; }
.dot-4 { bottom: 60%; left: 65%; }
.dot-5 { bottom: 70%; left: 80%; animation-delay: 0.5s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.graph-label {
    position: absolute;
    font-size: 0.7rem;
    color: var(--platinum);
    opacity: 0.6;
    font-weight: 500;
}

.label-year { bottom: 10px; }

.graph-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.graph-stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.graph-stat-label {
    font-size: 0.8rem;
    color: var(--platinum);
    opacity: 0.7;
}

/* API Section */
.api-section {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
}

.api-content {
    max-width: 1400px;
    margin: 0 auto;
}

.api-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.api-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border: 1px solid var(--accent-teal);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 2rem;
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.api-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.5s;
}

.api-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 30px 80px rgba(201, 169, 97, 0.2);
}

.api-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.api-card p {
    color: var(--platinum);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.api-features li {
    padding: 0.6rem 0;
    color: var(--platinum);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.api-features li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: 700;
    margin-right: 0.8rem;
}

.code-block {
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-teal);
    overflow-x: auto;
}

.code-comment {
    color: var(--platinum);
    opacity: 0.5;
}

/* Search Section */
.search-section {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
}

.search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.search-card {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.search-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-family: 'Montserrat', 'Noto Sans Thai', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
}

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

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(13, 13, 13, 0.8);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--platinum);
    opacity: 0.4;
}

.input-group select {
    cursor: pointer;
    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='%23C9A961' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.input-group select option {
    background: var(--deep-charcoal);
    color: var(--white);
    padding: 0.5rem;
}

.search-btn {
    grid-column: 1 / -1;
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--rich-gold) 100%);
    border: none;
    border-radius: 12px;
    color: var(--deep-charcoal);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
    font-family: 'Montserrat', 'Noto Sans Thai', sans-serif;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.5);
}

/* Locations Section */
.locations-section {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
}

.locations-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 30px 80px rgba(201, 169, 97, 0.3);
}

.location-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--soft-charcoal) 0%, var(--charcoal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.location-details {
    padding: 1.5rem;
}

.location-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.location-district {
    font-size: 0.8rem;
    color: var(--platinum);
    opacity: 0.7;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.location-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.metric-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--platinum);
    opacity: 0.6;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.roi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1) 0%, rgba(45, 212, 191, 0.05) 100%);
    border: 1px solid var(--accent-teal);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-teal);
    letter-spacing: 0.05em;
}

.roi-badge.moderate {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.roi-badge::before {
    content: '●';
    animation: pulse 2s infinite;
}

/* Clients Section */
.clients-section {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.client-logo {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.1);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    min-height: 140px;
}

.client-logo:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.2);
}

.client-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    line-height: 1.2;
}

.client-logo-subtitle {
    font-size: 0.7rem;
    color: var(--platinum);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(167, 139, 250, 0.02) 50%, transparent 100%);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateX(10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.15);
}

.contact-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-details p {
    color: var(--platinum);
    opacity: 0.7;
    font-size: 0.85rem;
    margin: 0;
}

.contact-details a {
    color: var(--platinum);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    font-size: 0.9rem;
}

.contact-details a:hover {
    color: var(--gold);
}

.contact-form-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
}

.contact-form-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--platinum);
    opacity: 0.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-submit-btn {
    margin-top: 1rem;
    width: 100%;
}

.form-status {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    font-size: 0.9rem;
}

.form-status.success {
    display: block;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* CTA Section */
.cta-section {
    padding: 8rem 1.5rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-section h2 span {
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--platinum);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Footer */
footer {
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201, 169, 97, 0.1);
    padding: 4rem 1.5rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-brand h3 span {
    font-weight: 700;
    color: var(--gold);
}

.footer-brand p {
    color: var(--platinum);
    opacity: 0.7;
    line-height: 1.7;
    font-weight: 300;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-section h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: var(--platinum);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.1);
    text-align: center;
    color: var(--platinum);
    opacity: 0.5;
    font-size: 0.8rem;
    font-weight: 300;
}

/* Hidden text for language switching */
.lang-text {
    display: none;
}

.lang-text.active {
    display: inline;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(13, 13, 13, 0.98) 100%);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 25px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--platinum);
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    opacity: 0.6;
}

.modal-close:hover {
    opacity: 1;
    background: rgba(201, 169, 97, 0.1);
    transform: rotate(90deg);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--rich-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
}

.modal-message {
    color: var(--platinum);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
    opacity: 0.9;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Noto Sans Thai', sans-serif;
}

.modal-btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--rich-gold) 100%);
    color: var(--deep-charcoal);
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.modal-btn-secondary {
    background: transparent;
    border: 1px solid rgba(201, 169, 97, 0.5);
    color: var(--gold);
}

.modal-btn-secondary:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: var(--gold);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--rich-gold) 100%);
    border: none;
    border-radius: 50%;
    color: var(--deep-charcoal);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .api-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    nav {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(30px);
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        border-top: 1px solid rgba(201, 169, 97, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .search-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .ai-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .location-metrics {
        grid-template-columns: 1fr;
    }
    
    .graph-placeholder {
        height: 250px;
    }
    
    .logo-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}