:root {
    --primary-color: #00ff88;
    --primary-dark: #00cc6a;
    --primary-light: #33ffaa;
    --secondary-color: #ff0080;
    --accent-color: #0080ff;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --text-darker: #888888;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    --neon-glow: 0 0 20px rgba(0, 255, 136, 0.3);
    --neon-glow-strong: 0 0 30px rgba(0, 255, 136, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative !important;
}

.container {
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light) !important;
}

.brand-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img, .logo-img-mobile {
    height: 40px;
    width: 40px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.offcanvas {
    background-color: var(--dark-bg);
    border-left: 1px solid var(--border-color);
    display: none !important;
}

.offcanvas-title {
    color: var(--text-light);
}

.brand-text-footer {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-section {
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    animation: slideInLeft 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-highlight {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-glow-strong);
}

.btn-glow {
    box-shadow: var(--neon-glow);
}

.btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: var(--neon-glow);
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease;
}

.hero-image img {
    border: 1px solid var(--border-color);
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--neon-glow);
}

.floating-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-2 {
    top: 60%;
    right: -5%;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 20%;
    left: -10%;
    animation-delay: 2s;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.bg-element-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    top: 20%;
    left: 10%;
    animation: rotate 20s linear infinite;
}

.bg-element-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    top: 60%;
    right: 15%;
    animation: rotate 15s linear infinite reverse;
}

.bg-element-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    bottom: 30%;
    left: 60%;
    animation: rotate 25s linear infinite;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--neon-glow);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
}

.bg-gradient {
    background: var(--gradient-dark);
    position: relative;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.bg-gradient-reverse {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    position: relative;
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.solution-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-right: 1rem;
}

.solution-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.solution-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.solution-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 16px;
}

.tech-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tech-visualization {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    animation: rotate 30s linear infinite;
}

.tech-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: counterRotate 30s linear infinite;
    box-shadow: var(--neon-glow);
}

.tech-element span {
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.tech-element-1 {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.tech-element-2 {
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}

.tech-element-3 {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.tech-element-4 {
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
}

.contact-info {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-item {
    color: var(--text-muted);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
}

.contact-icon i {
    font-size: 1rem;
}

.contact-item h6 {
    color: var(--text-light);
    font-weight: 600;
}

.contact-item a {
    color: var(--primary-color);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 15px;
    padding: 1rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.form-floating > label {
    color: var(--text-muted);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
    filter: blur(10px);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    width: 50px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat {
    text-align: center;
}

.stat-number-small {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
}

.stat-label-small {
    font-size: 0.8rem;
    color: var(--text-darker);
}

.footer-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}

.footer-contact {
    color: var(--text-muted);
}

.contact-item-footer {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-item-footer i {
    color: var(--primary-color);
    width: 20px;
}

.contact-item-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-footer a:hover {
    color: var(--primary-color);
}

.footer-badges .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.cookie-consent {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    z-index: 999999 !important;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    width: 100% !important;
    height: fit-content !important;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes counterRotate {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .offcanvas {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .tech-circle {
        width: 250px;
        height: 250px;
    }
    
    .tech-element {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .tech-element span {
        font-size: 0.6rem;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
