/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #A855F7 100%);
    overflow: hidden;
}

.hero-background {
    position: relative;
    width: 100%;
    background-image: url('images/hero_background.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.8) 0%, rgba(147, 51, 234, 0.8) 50%, rgba(168, 85, 247, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.download-btn {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.store-btn {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #F87171;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #FEF2F2;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(248, 113, 113, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    color: #F87171;
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section {
    padding: 60px 0;
    background: #f8fafc;
    text-align: center;
}

.cta-text {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 30px;
}

.cta-button {
    background: #F87171;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #EF4444;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(248, 113, 113, 0.3);
}

/* Features Sections */
.features-section {
    padding: 80px 0;
}

.features-dark {
    background: #1F2937;
    color: white;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-content.reverse {
    direction: rtl;
}

.features-content.reverse > * {
    direction: ltr;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.features-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.features-phones {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.feature-phone {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f8fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: #FEF2F2;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(248, 113, 113, 0.1);
}

.benefit-icon {
    margin-bottom: 25px;
}

.icon {
    width: 60px;
    height: 60px;
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #F87171;
    margin-bottom: 15px;
}

.benefit-description {
    color: #6B7280;
    line-height: 1.6;
}

/* Press Section */
.press {
    padding: 80px 0;
    background: white;
}

.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.press-logo {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.press-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #F87171;
}

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

.footer-downloads .store-btn {
    max-width: 200px;
}

.qr-section {
    margin-bottom: 40px;
}

.qr-text {
    font-size: 1.1rem;
    color: #F87171;
    margin-bottom: 20px;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 10px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
}

.copyright {
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-content.reverse {
        direction: ltr;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-downloads {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .press-logos {
        gap: 20px;
    }
    
    .press-logo {
        height: 40px;
    }
    
    .features-phones {
        flex-direction: column;
    }
    
    .feature-phone {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-title {
        font-size: 1.8rem;
    }
    
    .footer-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card,
    .benefit-card {
        padding: 30px 20px;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}


/* Thai Content Section */
.thai-content {
    padding: 60px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.thai-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    line-height: 1.3;
    text-align: center;
}

.thai-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.thai-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 25px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.faq-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #F87171;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    padding: 25px 30px;
    margin: 0;
    cursor: pointer;
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.faq-question:hover {
    color: #F87171;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #F87171;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .thai-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    
    .thai-text p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 20px 25px;
    }
    
    .faq-question::after {
        right: 25px;
    }
    
    .faq-answer {
        padding: 0 25px 20px 25px;
    }
}

@media (max-width: 480px) {
    .thai-title {
        font-size: 1.6rem;
    }
    
    .thai-text p {
        font-size: 0.95rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }
    
    .faq-question::after {
        right: 20px;
        font-size: 1.3rem;
    }
    
    .faq-answer {
        padding: 0 20px 18px 20px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

