:root {
    --bg-main: #09090b;
    --bg-secondary: #121214;
    --accent: #facc15; /* Cyber yellow */
    --accent-glow: rgba(250, 204, 21, 0.4);
    --secondary: #22d3ee; /* Electric cyan */
    --secondary-glow: rgba(34, 211, 238, 0.4);
    --text-primary: #ffffff;
    --text-muted: #a1a1aa;
    
    --glass-bg: rgba(24, 24, 27, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo, .hero-title, .section-title {
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 100px 0;
}

.min-h-screen {
    min-height: 100vh;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s infinite alternate;
}

.glow-1 {
    top: -200px;
    left: -200px;
    background: var(--accent);
}

.glow-2 {
    bottom: -200px;
    right: -200px;
    background: var(--secondary);
    animation-delay: -5s;
}

.glow-3 {
    top: 40%;
    left: 60%;
    background: #a855f7;
    width: 400px;
    height: 400px;
    animation-delay: -10s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

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

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 12px;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    border: none;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
    background: #fde047;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 20px var(--secondary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent-glow);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid var(--accent-glow);
    color: var(--accent);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 80px;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

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

.stats-row {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-muted);
}

.stat-item i {
    font-size: 20px;
}

/* Features Section */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 56px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-10px);
    border-color: rgba(250, 204, 21, 0.3);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(250, 204, 21, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.feature-icon {
    font-size: 32px;
    color: var(--accent);
    z-index: 2;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    filter: blur(20px);
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.card-hover:hover .icon-glow {
    opacity: 0.6;
}

.feature-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Customer Feedback Carousel */
.feedback-section {
    position: relative;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 450px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* or cover, depending on optimal display */
    border-radius: 16px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid var(--glass-highlight);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
    border-color: transparent;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    width: 24px;
    border-radius: 6px;
}

.pulse-anim {
    animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
    0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(250, 204, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 30px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: var(--accent-glow);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 30px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 30px 24px 30px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a i {
    font-size: 18px;
}

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

/* Specific Social Brand Colors on Hover */
.footer-links a:nth-child(1):hover i { color: #06C755; } /* LINE */
.footer-links a:nth-child(2):hover i { color: #1877F2; } /* Facebook */
.footer-links a:nth-child(3):hover i { color: #2AABEE; } /* Telegram */
.footer-links a:nth-child(4):hover i { color: #FF0000; } /* YouTube */

/* Animations Triggered by JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
.mobile-break {
    display: none;
}

@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
    }
    
    .stats-row {
        flex-wrap: wrap;
    }
    
    /* Force 2x2 grid on tablets to prevent awkward single card wrapping */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile hide for a landing page */
    }
    
    .hero-title {
        font-size: 50px;
        letter-spacing: 0px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    /* Revert to single column for standard mobile phones */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 48px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .mobile-break {
        display: block;
    }
}

/* For smaller screens like iPhone SE/12 mini */
@media (max-width: 400px) {
    .hero-title {
        font-size: 42px;
    }
}
