/* Google Fonts & Basics */
:root {
    --bg-dark: #0B0F19;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --primary-blue: #3B82F6;
    --primary-green: #10B981;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --navy: #1A237E;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', 'Sarabun', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
}

body {
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Prompt', sans-serif;
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Glow Effects */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}
.bg-glow-blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, rgba(11,15,25,0) 70%);
    top: -100px;
    left: -200px;
}
.bg-glow-green {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, rgba(11,15,25,0) 70%);
    bottom: -100px;
    right: -100px;
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.w-full { width: 100%; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 0.25rem;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

/* Buttons */
.btn-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #00B900;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.dashboard-mockup {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    background: #000;
}

.mockup-header {
    background: #1a1a1a;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid #333;
}

.mac-btns {
    display: flex;
    gap: 8px;
}

.mac-btns span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.mac-btns span:nth-child(1) { background: #ff5f56; }
.mac-btns span:nth-child(2) { background: #ffbd2e; }
.mac-btns span:nth-child(3) { background: #27c93f; }

.mockup-url {
    background: #2a2a2a;
    padding: 0.3rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #888;
    flex: 1;
    max-width: 300px;
}

.mockup-body {
    padding: 0;
    line-height: 0;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover .mockup-img {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 8rem 0;
}

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

.about-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.about-vision {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vision-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.vision-item:hover {
    border-color: var(--glass-border);
    background: rgba(255,255,255,0.05);
}

.vision-icon {
    font-size: 1.5rem;
    background: rgba(59,130,246,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.about-visual .visual-card {
    padding: 1rem;
    border-radius: 24px;
    position: relative;
}

.about-visual img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.visual-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: white;
    color: var(--navy);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 20px;
}

.feature-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Impact Section */
.impact {
    padding: 6rem 0;
    margin: 4rem 2rem;
    border-radius: 32px;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Partnership Section */
.partnership {
    padding: 8rem 0;
}

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

.partnership-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.partnership-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.partnership-visual .partner-card {
    padding: 2rem;
    text-align: center;
    border-radius: 32px;
}

.partner-image {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(59,130,246,0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.info-items {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-item .icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.contact-form-container {
    padding: 3rem;
    border-radius: 32px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

@media (max-width: 900px) {
    .hero, .about-container, .partnership-container, .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero { padding-top: 8rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .about-content, .partnership-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .section-divider { margin: 1.5rem auto; }
}
