/* landing.css - White-Violet Premium Design (Stripe/Linear Inspired) */
:root {
    /* Palette: Slate & Violet */
    --primary: #8b5cf6;
    /* Violet 500 */
    --primary-dark: #7c3aed;
    /* Violet 600 */
    --secondary: #6366f1;
    /* Indigo 500 */
    --accent: #06b6d4;
    /* Cyan 500 */

    /* Backgrounds */
    --dark-bg: #ffffff;
    /* Pure White */
    --subtle-bg: #f8fafc;
    /* Slate 50 */
    --card-bg: rgba(255, 255, 255, 0.8);
    /* High opacity glass */
    --glass-border: rgba(139, 92, 246, 0.15);
    /* Subtle violet border */

    /* Typography */
    --text-primary: #1e293b;
    /* Slate 800 - High contrast */
    --text-secondary: #475569;
    /* Slate 600 - Soft contrast */
    --text-light: #ffffff;
    /* For buttons/dark areas */

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html,
body {
    font-family: var(--font-main);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll causing navbar issues */
}

/* Background Gradients - Light & Soft */
.bg-gradient-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

.bg-gradient-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 60px;
    /* Increased from 40px */
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    /* Dark Violet Gradient for Light Mode */
    background: linear-gradient(to right, #4c1d95, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.mobile-only-nav {
    display: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    /* Robust touch target */
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

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

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5% 5rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-highlight {
    /* Vibrant Gradient to pop against white */
    background: linear-gradient(to right, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    position: relative;
    /* Ensure it can have z-index */
    z-index: 20;
    /* Above hero-visual to be clickable */
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.hero-3d-object {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.2));
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
    position: absolute;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    /* Prevent blocking clicks */
}

.hero-image {
    width: 90%;
    max-width: 600px;
    /* Remove card styling to show only the image */
    background: transparent;
    border: none;
    box-shadow: none;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    /* Add shadow directly to image */
    box-shadow: 0 25px 50px -12px rgba(148, 163, 184, 0.4);
}

.hero-visual:hover .hero-image {
    transform: rotateY(0) rotateX(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 5rem 5%;
    /* Subtle difference from body to section */
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Feature Card Updates */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    /* Clean Shadow for Light Mode */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--primary);
    /* Stronger lift effect */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 60px;
    height: 60px;
    /* Lighter Gradient */
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-subtitle {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.2px;
}

.feature-list {
    list-style: none;
    margin-top: auto;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.feature-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-list li strong {
    color: var(--text-primary);
    /* Strong darker slate */
    display: block;
    margin-bottom: 0.2rem;
}

/* Bottom CTA Section */
.cta-section {
    padding: 3rem 5%;
    /* ลดช่องว่างด้านบนและล่างลง */
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(6, 182, 212, 0.05));
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #4c1d95, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    /* ลดช่องว่างลง */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Partners Section */
.partners-section {
    padding: 3rem 5%;
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    text-align: center;
}

.partners-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.highlight-text {
    font-weight: 800;
    color: var(--primary);
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.partner-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.partner-pill:hover {
    transform: translateY(-3px);
}

.partner-pill i {
    font-size: 1.4rem;
}

/* Brand Colors */
.partner-pill.facebook {
    color: #1877F2;
}

.partner-pill.messenger {
    color: #00B2FF;
}

.partner-pill.line {
    color: #06C755;
}

/* Instagram: Apply gradient ONLY to icon and text span, not the pill itself */
.partner-pill.instagram {
    border: 1px solid #e1e1e1;
    background: rgba(255, 255, 255, 0.9);
    /* Keep white background */
}

.partner-pill.instagram i,
.partner-pill.instagram .brand-text {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Coming Soon Style */
.partner-pill.coming-soon {
    opacity: 0.85;
    cursor: default;
}

.partner-pill.coming-soon:hover {
    transform: none;
}

.partner-pill .badge {
    font-size: 0.65rem;
    background: #64748b;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-text-fill-color: white;
    /* Override parent gradient */
    flex-shrink: 0;
}

.partner-logo-item:hover {
    color: var(--primary);
    transform: scale(1.05);
    opacity: 1;
}

.partner-logo-item i {
    font-size: 1.8rem;
}


/* Pricing Teaser Section */
.pricing-teaser {
    padding: 4rem 5% 3rem;
    /* Reduced bottom padding from 6rem to 3rem */
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
    /* Restored centering */
    position: relative;
    overflow: hidden;
}

/* Decoratiive background elements for pricing */
.pricing-teaser::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.pricing-teaser-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.pricing-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(to right, #fef3c7, #fee2e2);
    /* Warm light gradient */
    color: #b45309;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.1);
}

.pricing-teaser h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    /* Reduced from 1rem */
    color: var(--text-primary);
    line-height: 1.2;
}

.pricing-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 3.5rem;
    display: block;
    margin: 0 0 0.5rem 0;
    /* Removed top margin */
    text-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}

.pricing-unit {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-desc {
    font-size: 1.25rem;
    /* Increased from 1.1rem */
    color: var(--text-secondary);
    margin-bottom: 3rem;
    /* Increase margin for better safety */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}


/* Testimonials Section */
.testimonials {
    padding: 3rem 5% 6rem;
    /* Reduced top padding from 6rem to 3rem */
    background: #ffffff;
    position: relative;
}

.testimonial-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 0.8rem;
    /* Further reduced from 1.5rem */
    position: relative;
    /* Fade effect at edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 1rem 0;
    /* Padding for shadow */
}

.testimonial-track:hover,
.testimonial-track.paused {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    /* Reduced from 2.5rem */
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    /* Fixed width for carousel items - Reduced from 400px */
    width: 320px;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.client-brand {
    height: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    /* Reduced from 1.5rem */
    font-weight: 700;
    font-size: 1.1rem;
    /* Reduced from 1.4rem */
    color: var(--text-primary);
}

.client-brand i {
    color: var(--primary);
    margin-right: 0.6rem;
    /* Reduced from 0.8rem */
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
}

.quote {
    font-size: 0.95rem;
    /* Reduced from 1.1rem */
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
    flex-grow: 1;
    line-height: 1.6;
}

.quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 0;
    margin-right: 0.5rem;
    vertical-align: -0.4rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2rem;
    overflow: hidden;
    /* Ensure image stays in circle */
    border: 1px solid var(--glass-border);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.client-details p {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

/* Footer (existing, adjusting margin) */
footer {
    padding: 2rem 5%;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    color: var(--text-secondary);
    background: #f8fafc;
}

/* Partners Section */
@media (max-width: 900px) {
    .navbar {
        padding: 0.4rem 3%;
    }

    .logo-img {
        width: 45px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 4.5rem;
        padding-bottom: 2rem;
        /* ลดช่องว่างด้านล่างลง */
        min-height: auto;
        /* ให้ความสูงพอดีเนื้อหาบนมือถือ */
    }

    .features {
        padding: 2rem 5%;
        /* ลดช่องว่างด้านบนและล่าง */
    }

    .hero-content {
        margin-bottom: 2rem;
        /* ลดช่องว่างด้านล่างของเนื้อหา Hero */
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        transform: none;
        width: 100%;
    }

    .hero-3d-object {
        display: none !important;
        /* Hide massive 500px object that causes overflow */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .mobile-only-nav {
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-links li.mobile-only-nav a.btn-outline {
        color: var(--text-primary) !important;
    }

    .nav-links li.mobile-only-nav a.btn-primary {
        color: white !important;
    }


    .nav-actions {
        display: none !important;
        /* Hide header buttons on mobile to prevent overlap */
    }

    /* Hero Fixes */
    .hero-tag {
        white-space: normal;
        display: inline-block;
        line-height: 1.5;
        padding: 0.75rem 1.25rem;
        /* More breathing room */
        text-align: center;
        margin-bottom: 0.75rem;
        /* ลดช่องว่างด้านล่างลง */
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Reduce from 3.5rem to fit mobile */
    }

    .cta-section {
        padding: 2.5rem 5% 4rem;
        /* ลดช่องว่างด้านบน */
    }

    .cta-content h2 {
        font-size: 1.8rem;
        /* ลดขนาดหัวข้อลงเล็กน้อยบนมือถือ */
        margin-bottom: 1rem;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .menu-toggle {
        display: block;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Compact Testimonial for Mobile - Further Shrunk */
    .testimonial-card {
        width: 75vw;
        /* Reduced from 85vw */
        max-width: 280px;
        /* Reduced from 350px */
        padding: 1.2rem;
        /* Reduced from 1.5rem */
    }

    .testimonial-track {
        gap: 0.8rem;
        /* Reduced from 1rem */
    }

    .client-brand {
        margin-bottom: 0.8rem;
        font-size: 1.0rem;
        /* Reduced from 1.2rem */
    }

    .quote {
        font-size: 0.85rem;
        /* Reduced from 0.95rem */
        margin-bottom: 1.2rem;
    }

    /* Mobile Partners Grid - Strictly 2 Columns */
    .partners-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns */
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .partner-pill {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 8px 10px;
        font-size: 0.85rem;
        /* Smaller font to fit content */
        box-sizing: border-box;
        white-space: nowrap;
        border-radius: 12px;
        /* Slightly less rounded to save space */
    }

    .partner-pill i {
        font-size: 1rem;
    }

    .partner-pill .badge {
        font-size: 0.5rem;
        padding: 1px 4px;
        margin-left: 0.2rem;
    }

    /* Pricing Section Mobile Fixes - Polished Spacing */
    .pricing-teaser {
        padding: 2.5rem 5% 2rem;
        /* Reduced top and bottom padding */
    }

    .pricing-teaser h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        /* Reduced from 1.5rem */
    }

    .pricing-price {
        font-size: 2.5rem;
        margin-top: 0;
        /* Tighten gap */
    }

    .pricing-desc {
        font-size: 1.1rem;
        /* Increased from 0.95rem */
        margin-bottom: 2rem;
        padding: 0 1rem;
        line-height: 1.5;
    }

    .testimonials {
        padding: 2rem 5% 4rem;
        /* Reduced top padding on mobile */
    }

    /* Compact Feature Cards for Mobile */
    .features-grid {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.25rem;
    }

    .feature-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .feature-list li {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }
}

/* Footer Legal Links */
.footer-links {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-links .divider {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Modal System */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow-y: auto;
}

.modal-backdrop.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--secondary);
}

.modal-body h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Footer Contact Section */
.footer-contact {
    margin: 1.5rem 0;
    text-align: center;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-contact p i {
    color: var(--primary);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-link.fb {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.social-link.fb:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-2px);
}

.social-link.line {
    background: rgba(6, 199, 85, 0.1);
    color: #06c755;
}

.social-link.line:hover {
    background: #06c755;
    color: white;
    transform: translateY(-2px);
}

/* Social Highlight Section - Ultra Compact Pills */
.social-channels {
    padding: 1rem 5% 1.5rem;
    text-align: center;
    background: transparent;
    /* Ensure no white background */
    margin-top: -1rem;
    /* Pull closer to previous section */
}

.social-header {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-card {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.social-card i {
    font-size: 1rem;
    color: white !important;
}

.social-card .card-text h3 {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
    color: white !important;
}

.social-card .card-text p {
    display: none;
}

.social-card.fb {
    background: #1877F2;
}

.social-card.fb:hover {
    background: #0d65d9;
    transform: translateY(-2px);
}

.social-card.line {
    background: #06C755;
}

.social-card.line:hover {
    background: #05a647;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .social-channels {
        padding: 0.8rem 5% 1rem;
    }

    .social-header {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .social-card {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .social-card i {
        font-size: 0.9rem;
    }
}