* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    background: linear-gradient(90deg, #9333ea 0%, #f97316 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 500px;
    overflow: hidden;
    margin-top: 80px;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide:nth-child(1) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)),
                url('asset/slider/post-slider-1.jpg') center center / cover no-repeat;
}

.carousel-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.8)),
                url('asset/slider/post-slider-2.jpg') center center / cover no-repeat;
}

.carousel-slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(219, 39, 119, 0.8)),
                url('asset/slider/slider-3.jpg') center center / cover no-repeat;
}

.carousel-slide:nth-child(4) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(5, 150, 105, 0.8)),
                url('asset/slider/slider-4.png') center center / cover no-repeat;
}

.carousel-slide:nth-child(5) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(249, 115, 22, 0.8)),
                url('asset/slider/slider-5.jpg') center center / cover no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.slide-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
    left: 2rem;
}

.carousel-btn.next {
    right: 2rem;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trusted Customers Section */
.trusted-customers {
    padding: 5rem 0;
    background: var(--bg-light);
}

.trusted-customers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.customer-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.customer-logo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.customer-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.customer-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    min-height: 80px;
}

.customer-logo-placeholder img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.customer-logo-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image {
    background: var(--gradient);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
}

.about-highlight {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.about-highlight h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-highlight ul {
    list-style: none;
}

.about-highlight li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    margin-top: -5px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #e5e7eb;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: #9ca3af;
    padding: 0.3rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Request Demo Button */
.demo-request-btn {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: 100% 50%;
    background: #25D366;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: -4px 0 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 998;
    white-space: nowrap;
    overflow: visible;
    animation: demoPulse 2s ease-in-out infinite;
}

@keyframes demoPulse {
    0%, 100% {
        box-shadow: -4px 0 12px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: -4px 0 20px rgba(37, 211, 102, 0.6), -4px 0 30px rgba(37, 211, 102, 0.4);
    }
}

@keyframes blink {
    0%, 49%, 100% {
        opacity: 1;
    }
    50%, 99% {
        opacity: 0.7;
    }
}

.demo-request-btn.blinking {
    animation: demoPulse 2s ease-in-out infinite, blink 1s ease-in-out infinite;
}

.demo-request-btn:hover {
    transform: translateY(-50%) translateX(5px) rotate(90deg);
    box-shadow: -6px 0 16px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
    animation: none;
}

.demo-request-btn svg {
    width: 20px;
    height: 20px;
}

/* Sparkle Effect */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleAnimation 1s ease-out forwards;
    z-index: 999;
}

@keyframes sparkleAnimation {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1);
        opacity: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .slide-logo {
        max-width: 150px;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1.2rem;
    }

    .carousel-btn {
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
    }

    .carousel-btn.prev {
        left: 1rem;
    }

    .carousel-btn.next {
        right: 1rem;
    }

    .carousel-dots {
        bottom: 30px;
    }

    .customer-logos {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .demo-request-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .demo-request-btn:hover {
        transform: translateY(-50%) translateX(5px) rotate(90deg);
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .slide-logo {
        max-width: 120px;
        margin-bottom: 1.5rem;
    }

    .carousel-content h1 {
        font-size: 1.5rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }

    .hero-carousel {
        margin-top: 60px;
        height: calc(100vh - 60px);
    }

    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2rem !important;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .demo-request-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .demo-request-btn:hover {
        transform: translateY(-50%) translateX(5px) rotate(90deg);
    }

    .demo-request-btn svg {
        width: 16px;
        height: 16px;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
