/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #1a73e8;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #f8faff;
}

.cta-button {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-button:hover {
    background-color: #0d59c5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: #fff;
    color: #1a73e8;
    border: 2px solid #1a73e8;
}

.cta-button.secondary:hover {
    background-color: #1a73e8;
    color: #fff;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links li a {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #1a73e8;
}

.nav-links li a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

.nav-links li a:not(.cta-button):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0f0ff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* How It Works Section */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #1a73e8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #1a73e8;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Product Details Section */
.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab {
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab.active {
    border-bottom-color: #1a73e8;
    color: #1a73e8;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    display: block;
}

.product-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.product-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    margin-bottom: 30px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-info {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.product-info ul {
    list-style: disc;
    padding-left: 20px;
}

.product-info li {
    margin-bottom: 10px;
}

/* Video Demo Section */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

/* Business Types Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.business-card {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #1a73e8;
    color: white;
}

.business-card:hover .business-icon {
    background-color: white;
}

.business-card:hover .business-icon i {
    color: #1a73e8;
}

.business-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: background-color 0.3s ease;
}

.business-icon i {
    font-size: 24px;
    color: #1a73e8;
    transition: color 0.3s ease;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f5f7fa 0%, #e0f0ff 100%);
}

.counter {
    text-align: center;
    margin-bottom: 40px;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a73e8;
}

.counter-text {
    font-size: 1.2rem;
}

.testimonial-slider {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    margin-bottom: 20px;
    flex-shrink: 0;
    border: 5px solid #e8f0fe;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
    min-width: 300px;
}

.testimonial-role {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding-left: 25px;
}

.testimonial-text::before {
    content: '"';
    font-size: 50px;
    color: #1a73e8;
    position: absolute;
    top: -20px;
    left: 0;
    font-family: Georgia, serif;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(26, 115, 232, 0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #1a73e8;
    transform: scale(1.2);
}

/* Pricing Section */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #1a73e8;
    position: relative;
    z-index: 1;
}

.pricing-card.featured::before {
    content: 'Phổ biến';
    position: absolute;
    top: -12px;
    right: 30px;
    background-color: #1a73e8;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.pricing-name {
    color: #666;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1a73e8;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.pricing-feature i {
    color: #1a73e8;
    margin-right: 10px;
    margin-top: 5px;
}

.pricing-card .cta-button {
    display: block;
    width: 100%;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8faff;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: #1a73e8;
}

.faq-icon {
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.3s ease;
    color: #1a73e8;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: #f8faff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
}

/* Contact Form Section */
.contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #e0f0ff 100%);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #f44336;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1a73e8;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item i {
    width: 30px;
    color: #1a73e8;
    margin-top: 3px;
}

.social-media {
    display: flex;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #1a73e8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #0d59c5;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px 0;
}

.success-message i {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message p {
    margin-bottom: 30px;
}

/* Footer Section - Updated to match ZaloPay's footer */
footer {
    background-color: #212121;
    color: white;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-app {
    min-width: 200px;
}

.footer-app h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-button img {
    height: 100px;
    transition: opacity 0.3s ease;
}

.app-button:hover img {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .testimonial-image {
        margin: 0 auto 20px;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-text::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonial-text {
        padding-left: 0;
        padding-top: 30px;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .product-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
} 