/* --- Reset & Global Styles (Purple Theme) --- */
:root {
    --primary-color: #7F56D9; /* 主紫色 */
    --primary-color-hover: #6941C6; /* 主紫色悬停/加深 */
    --primary-color-light: #f4f0ff; /* 浅紫色背景 */
    --primary-color-rgb: 127, 86, 217; /* RGB for rgba */

    --secondary-color: #6c757d;
    --success-color: #17B26A; /* Adjusted Green */
    --success-bg-light: #e8f8f0; /* Light green for success result */
    --warning-color: #ffc107; /* Adjusted Yellow */
    --warning-bg-light: #fff8e1; /* Light yellow for warning result */
    --danger-color: #dc3545;
    --danger-bg-light: #fdeded; /* Light red for error result */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #1D2939; /* Darker text */
    --text-muted: #667085; /* Softer muted text */
    --body-bg: #ffffff;
    --border-color: #eaecf0;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 0.6rem; /* Slightly more rounded */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif; /* Using Inter font */
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; /* Smoother fonts */
}
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s ease; }
a:hover { color: var(--primary-color-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; } /* Standard container width */
.section-padding { padding: 100px 0; } /* Consistent padding */
.section-bg { background-color: var(--light-color); }
h1, h2, h3, h4 { margin-bottom: 1.2rem; line-height: 1.3; font-weight: 600; color: #101828; /* Even darker heading */}
h1 { font-size: 3rem; font-weight: 700; line-height: 1.2; } /* Larger H1 */
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; position: relative; }
h2::after {
    content: ''; display: block; width: 80px; height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-hover));
    margin: 20px auto 0; border-radius: 3px;
}
h3 { font-size: 1.8rem; margin-bottom: 1rem; font-weight: 600; }
h4 { font-size: 1.3rem; font-weight: 600; }
p { margin-bottom: 1rem; font-size: 1.05rem; } /* Slightly larger p */
.text-center { text-align: center; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- Button Styles --- */
.btn {
    display: inline-block; font-weight: 600; color: #fff; text-align: center; vertical-align: middle;
    cursor: pointer; user-select: none; background-color: var(--primary-color); border: 1px solid var(--primary-color);
    padding: 0.8rem 2rem; font-size: 1rem; line-height: 1.5; border-radius: var(--border-radius);
    transition: all .3s ease; margin: 5px; box-shadow: 0 3px 8px rgba(var(--primary-color-rgb), 0.25);
}
.btn:hover {
    background-color: var(--primary-color-hover); border-color: var(--primary-color-hover);
    transform: translateY(-3px); box-shadow: 0 7px 15px rgba(var(--primary-color-rgb), 0.3);
}
.btn:disabled,
.btn.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.btn-secondary {
    color: var(--primary-color); background-color: transparent; border: 1px solid var(--primary-color); box-shadow: none;
}
.btn-secondary:hover {
    color: #fff; background-color: var(--primary-color); border-color: var(--primary-color);
    box-shadow: 0 7px 15px rgba(var(--primary-color-rgb), 0.3);
}
.btn-upgrade {
    background-color: #fff; /* White button */
    color: var(--primary-color); /* Primary text */
    border: 1px solid #fff; /* Explicit border */
    padding: 0.6rem 1.3rem; /* Adjusted padding */
    font-size: 0.95rem;
    margin-left: 10px;
    box-shadow: none;
    font-weight: 600;
}
.btn-upgrade:hover {
     background-color: #f0f0f0; /* Light grey hover */
     color: var(--primary-color-hover);
     border-color: #f0f0f0;
     transform: translateY(-2px);
     box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* Specific button style for contact inside pricing */
.btn-contact-wechat {
    /* Inherits .btn or .btn-secondary styles */
}
.btn-contact-wechat i {
    margin-right: 8px;
}

/* --- Header (Navbar) --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9); padding: 18px 0; position: sticky; top: 0; z-index: 1030;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari */
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { display: flex; align-items: center; font-size: 1.9rem; font-weight: 700; color: #101828; }
.navbar .logo:hover { color: var(--primary-color); }
.navbar .logo i { color: var(--primary-color); margin-right: 10px; }
.navbar nav ul { display: flex; list-style: none; }
.navbar nav li { margin-left: 30px; }
.navbar nav a { color: #475467; font-weight: 500; padding: 8px 0; position: relative; font-size: 1.05rem;}
.navbar nav a::after {
    content: ''; display: block; width: 0; height: 3px; background: var(--primary-color);
    transition: width .3s; position: absolute; bottom: -2px; left: 0; border-radius: 2px;
}
.navbar nav a:hover, .navbar nav a.active { color: var(--primary-color); }
.navbar nav a:hover::after, .navbar nav a.active::after { width: 100%; }
.navbar .auth-buttons { display: flex; align-items: center; } /* Ensure buttons align */
.navbar .auth-buttons .btn { margin-left: 15px; padding: 0.6rem 1.5rem; }

/* --- Hero Section (Banner with 3 Phones) --- */
.hero-section { background: linear-gradient(135deg, var(--primary-color-light) 0%, #ffffff 80%); padding: 100px 0 60px 0; overflow: hidden; }
.hero-section .container { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1 1 50%; padding-right: 30px; }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text .sub-headline { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 550px; }
.hero-text .cta-buttons { margin-bottom: 1.5rem; }
.hero-text .cta-buttons .btn { margin: 5px 10px 5px 0;} /* Adjust button margin */
.hero-images { flex: 1 1 50%; position: relative; min-height: 550px; display: flex; justify-content: center; align-items: center; }
.hero-images .phone-mockup { position: absolute; width: 280px; height: auto; border-radius: 30px; box-shadow: 0 20px 50px rgba(var(--primary-color-rgb), 0.25); transition: transform 0.5s ease-out; border: 4px solid #fff; /* Add white border */}
.hero-images .phone-1 { z-index: 10; transform: rotate(-8deg) translateX(-20%) translateY(-5%); }
.hero-images .phone-2 { z-index: 9; transform: translateY(0%); }
.hero-images .phone-3 { z-index: 8; transform: rotate(10deg) translateX(20%) translateY(5%); }
.hero-images:hover .phone-1 { transform: rotate(-10deg) translateX(-25%) translateY(-8%) scale(1.05); }
.hero-images:hover .phone-2 { transform: translateY(-3%) scale(1.05); }
.hero-images:hover .phone-3 { transform: rotate(12deg) translateX(25%) translateY(8%) scale(1.05); }
.supported-platforms {
    margin-top: 2.5rem; /* Increased margin */
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow logos to wrap */
    gap: 15px 20px; /* Row and column gap */
}
.supported-platforms span {
    font-weight: 500;
    color: var(--text-muted);
    margin-right: 5px;
    font-size: 0.95rem;
}
.supported-platforms img {
    height: 28px; /* Slightly smaller logo height */
    width: auto;
    opacity: 0.6; /* Slightly less opacity */
    filter: grayscale(80%); /* More grayscale */
    transition: opacity 0.3s, filter 0.3s;
}
.supported-platforms img:hover {
    opacity: 1;
    filter: grayscale(0%);
}


/* --- Social Proof Banner --- */
#social-proof-banner { background-color: #f9fafb; padding: 15px 0; overflow: hidden; height: 50px; border-bottom: 1px solid var(--border-color); }
#social-proof-list { list-style: none; padding: 0; margin: 0; animation: scrollUp 25s linear infinite; }
#social-proof-list li { height: 50px; line-height: 50px; text-align: center; color: var(--text-muted); font-size: 0.95rem; white-space: nowrap; /* Prevent wrapping */ }
#social-proof-list li i { color: var(--success-color); margin-right: 8px; }
#social-proof-list li .time { color: var(--text-color); } /* Use darker text for time */
#social-proof-list li .phone { font-weight: 600; color: var(--primary-color); margin: 0 5px; }
#social-proof-list li .plan { font-weight: 600; } /* Color set by JS or inline */
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
#social-proof-banner:hover #social-proof-list { animation-play-state: paused; }

/* --- Detailed Features Section --- */
.detailed-features-section {
    background-color: #fff;
}
.feature-item { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.feature-item:nth-child(even) { flex-direction: row-reverse; }
.feature-item:last-child { margin-bottom: 0; }
.feature-text { flex: 1 1 50%; }
.feature-text .tag {
    display: inline-block; background-color: var(--primary-color-light); color: var(--primary-color);
    padding: 5px 12px; border-radius: 15px; font-size: 0.9rem; font-weight: 600; margin-bottom: 15px;
}
.feature-text h3 { margin-bottom: 1rem; }
.feature-text p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.1rem; }
.feature-text ul { margin-left: 5px; list-style: none; padding-left: 20px; }
.feature-text ul li { margin-bottom: 10px; padding-left: 25px; position: relative; color: var(--text-color); } /* Use darker text for list items */
.feature-text ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--success-color);
    position: absolute; left: 0; top: 4px; font-size: 0.9em;
}
.feature-image { flex: 1 1 45%; position: relative; }
.feature-image .mockup-container { position: relative; max-width: 550px; margin: 0 auto; } /* Wider for landscape */
.feature-image img.screenshot {
    width: 100%; height: auto; border-radius: 10px;
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.15);
    border: 1px solid var(--border-color);
}

/* --- Supported Channels Section --- */
.supported-channels-section {
     background-color: var(--light-color); /* Use light bg */
}
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* Slightly wider min width */
    gap: 30px;
    justify-items: center;
}
.channel-item {
    background-color: #fff;
    padding: 25px 20px; /* Adjusted padding */
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content */
    min-height: 140px; /* Ensure minimum height */
    border: 1px solid var(--border-color);
}
.channel-item:hover {
    transform: translateY(-6px); /* Slightly more lift */
    box-shadow: var(--card-hover-shadow);
}
.channel-item img {
    max-height: 45px; /* Adjusted logo height */
    width: auto;
    margin-bottom: 18px; /* Increased margin */
}
.channel-item span {
    font-weight: 600;
    color: var(--text-color); /* Ensure text is dark */
    font-size: 1rem;
}
.channel-item.coming-soon {
    background-color: var(--light-color);
    border: 2px dashed var(--border-color); /* Dashed border */
    opacity: 0.7;
    box-shadow: none;
}
.channel-item.coming-soon:hover {
    transform: translateY(0); /* No lift on hover */
    box-shadow: none;
}
.channel-item.coming-soon span {
     color: var(--text-muted);
     font-weight: 500;
     line-height: 1.4;
     font-size: 0.95rem;
}

/* --- Use Cases Section --- */
.use-cases-section {
    background-color: #fff; /* White background */
}
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}
.use-case-item {
    text-align: center;
    padding: 35px 30px; /* Increased padding */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--light-color); /* Light background for items */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.use-case-item:hover {
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.1); /* Subtle primary shadow */
    border-color: rgba(var(--primary-color-rgb), 0.3);
}
.use-case-item .icon {
    font-size: 2.8rem; /* Slightly smaller icon */
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    line-height: 1;
}
.use-case-item h4 {
    margin-bottom: 12px; /* Adjusted margin */
    font-size: 1.25rem; /* Adjusted size */
    color: #101828; /* Ensure dark heading */
    font-weight: 600;
}
.use-case-item p {
    font-size: 0.95rem;
    color: var(--text-muted); /* Muted text okay on light bg */
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing-section {
    background-color: var(--light-color);
    position: relative;
}
.pricing-grid.pricing-redesigned {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Adjusted minmax */
    gap: 35px;
    align-items: stretch;
}
.pricing-card {
    background-color: #fff;
    padding: 40px 35px; /* Adjusted padding */
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden; /* Hide potential overflow */
}
.pricing-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-10px); /* More lift */
}
.pricing-card .card-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}
/* Specific icon colors */
.pricing-card:nth-child(1) .card-icon { color: var(--secondary-color); }
.pricing-card.recommended .card-icon { color: var(--primary-color); }
.pricing-card:nth-child(3) .card-icon { color: var(--success-color); } /* Example */

.pricing-card h3 {
    font-size: 1.7rem; /* Slightly larger */
    font-weight: 600;
    color: #101828;
    margin-bottom: 0.5rem; /* Reduced margin */
}
.pricing-card .price-info {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1rem;
    min-height: 2.5em; /* Consistent height */
}
.pricing-card .card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem; /* Space before features */
    min-height: 3em; /* Consistent height */
}
.pricing-card ul.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem; /* Increased margin */
    text-align: left;
    flex-grow: 1; /* Pushes button to bottom */
}
.pricing-card ul.features-list li {
    margin-bottom: 12px;
    color: var(--text-color); /* Standard text color */
    font-size: 1rem;
    display: flex;
    align-items: flex-start; /* Align icon with first line */
    line-height: 1.5;
}
.pricing-card ul.features-list li i { /* Font Awesome icon styling */
    margin-right: 12px;
    width: 18px; /* Consistent icon spacing */
    text-align: center;
    margin-top: 4px; /* Align icon vertically */
    flex-shrink: 0;
}
.pricing-card ul.features-list li i.fa-check { color: var(--success-color); }
.pricing-card ul.features-list li i.fa-times { color: var(--danger-color); opacity: 0.8; }
.pricing-card ul.features-list li strong { color: var(--primary-color); font-weight: 600; }

.pricing-card.recommended {
    border: 3px solid var(--primary-color);
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.18); /* Enhanced shadow */
}
.pricing-card.recommended:hover { transform: translateY(-10px) scale(1.03); }
.pricing-card .badge {
    position: absolute;
    top: -1px; /* Align with border */
    left: 50%; transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-hover));
    color: #fff; padding: 7px 22px;
    border-radius: 0 0 var(--border-radius) var(--border-radius); /* Rounded bottom corners */
    font-size: 0.95rem; font-weight: 600;
    z-index: 11; box-shadow: 0 2px 5px rgba(var(--primary-color-rgb), 0.3);
    border-top: none;
}
.pricing-card .btn {
    margin-top: auto; /* Pushes button to bottom */
    width: 100%; /* Full width button */
    max-width: 280px; /* Limit max width */
    margin-left: auto; margin-right: auto;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; /* Space between icon and text */
}

/* --- Activation Code Query Section --- */
.activation-query-section {
    /* Inherits section-padding and section-bg */
}
.activation-query-section h2 {
    /* Uses default h2 styles */
}
.activation-query-section p.text-center {
    /* Uses default p and text-center styles */
}
.query-box {
    max-width: 650px; /* Set a max width */
    margin: 0 auto; /* Center the box */
    background-color: #fff; /* White background */
    padding: 35px 40px; /* Padding inside */
    border-radius: var(--border-radius); /* Consistent rounding */
    box-shadow: var(--card-shadow); /* Consistent shadow */
    border: 1px solid var(--border-color);
}
.query-result { /* Styles for the result display area */
    margin-bottom: 25px;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    min-height: 60px; /* Ensure some space */
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    word-wrap: break-word; /* Wrap long results */
    text-align: center; /* Center result text */
}
/* Style result based on PHP class output */
.query-result.success {
    color: var(--success-color);
    border-color: var(--success-color);
    background-color: var(--success-bg-light);
    font-weight: 600;
}
.query-result.error {
    color: var(--danger-color);
    border-color: var(--danger-color);
    background-color: var(--danger-bg-light);
     font-weight: 600;
}
.query-result.info { /* Default style */
    color: var(--text-muted);
    border-color: var(--border-color);
    background-color: var(--light-color);
}
.query-result.warning {
     color: #856404; /* Darker yellow text */
     border-color: var(--warning-color);
     background-color: var(--warning-bg-light);
     font-weight: 500;
}
.query-form { /* Styles for the form within the section */
    display: flex;
    gap: 15px; /* Slightly larger gap */
    align-items: center; /* Vertically align items */
}
.query-form input[type="text"] {
    flex-grow: 1; /* Take available space */
    padding: 12px 15px; /* Comfortable padding */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    height: 47px; /* Match button height */
}
.query-form input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
}
.query-form button[type="submit"] {
    padding: 12px 25px; /* Match input height */
    margin: 0; /* Reset default margin */
    box-shadow: none; /* Remove default button shadow */
    flex-shrink: 0; /* Prevent button from shrinking */
    font-weight: 600;
    height: 47px; /* Explicit height to match input */
}
.query-form button[type="submit"] i {
    margin-right: 6px;
}
.query-form button[type="submit"]:hover {
     transform: translateY(-2px); /* Minimal hover effect */
     box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
}

/* --- Testimonials Section --- */
.testimonials-section { background-color: #fff; position: relative; }
.testimonial-swiper-container { max-width: 850px; margin: 0 auto; padding: 20px 0 50px 0; position: relative; } /* Slightly narrower */
.testimonial-swiper { padding-bottom: 50px; /* Space for pagination/nav */}
.testimonial-swiper .swiper-slide { height: auto; padding: 10px; } /* Padding around slide */
.testimonial-card-redesigned {
    background-color: var(--primary-color-light);
    padding: 35px 40px; /* More horizontal padding */
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left; /* Align text left */
    border: 1px solid rgba(var(--primary-color-rgb), 0.1); /* Subtle border */
}
.testimonial-card-redesigned .quote-icon {
    font-size: 2rem; /* Smaller quote icon */
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 15px;
    line-height: 1;
}
.testimonial-card-redesigned blockquote {
    margin: 0 0 25px 0; /* Increased bottom margin */
    font-style: normal;
    color: var(--text-color); /* Ensure dark text on light bg */
    flex-grow: 1;
    font-size: 1.1rem; /* Slightly larger quote text */
    line-height: 1.8;
}
.testimonial-card-redesigned blockquote p {
    margin-bottom: 0; /* Remove default p margin inside blockquote */
    color: inherit; /* Inherit text color */
    font-size: inherit; /* Inherit size */
}
.testimonial-card-redesigned .author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}
.testimonial-card-redesigned .author-avatar img {
    width: 50px; /* Slightly smaller avatar */
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.testimonial-card-redesigned .author-details .name {
    font-weight: 600;
    color: #101828; /* Dark name */
    display: block;
    margin-bottom: 2px;
    font-size: 1rem;
}
.testimonial-card-redesigned .author-details .title-company {
    font-size: 0.9rem;
    color: var(--primary-color); /* Use primary color for title/company */
}
.testimonial-swiper .swiper-pagination {
    bottom: 10px; /* Position pagination lower */
    position: static; /* Allow it to take space */
    margin-top: 30px;
}
.testimonial-swiper .swiper-pagination-bullet { background: var(--primary-color); opacity: 0.3; }
.testimonial-swiper .swiper-pagination-bullet-active { opacity: 1; }

.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
    top: 50%;
    transform: translateY(-150%); /* Position buttons higher */
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}
.testimonial-swiper .swiper-button-next:hover,
.testimonial-swiper .swiper-button-prev:hover {
    background-color: #fff;
}

.testimonial-swiper .swiper-button-next::after,
.testimonial-swiper .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

/* --- Membership Incentive Bar --- */
.membership-incentive {
    position: fixed;
    bottom: -120px; /* Initially hidden */
    left: 0;
    width: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-hover)); /* Use primary gradient */
    color: #fff;
    padding: 15px 25px; /* Adjusted padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1010;
    transition: bottom 0.5s ease-in-out; /* Smoother transition */
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2); /* Softer shadow */
}
.membership-incentive.visible { bottom: 0; }
.membership-incentive p { margin: 0; flex-grow: 1; padding-right: 20px; font-size: 1.05rem; line-height: 1.4;}
.membership-incentive strong { font-weight: 700; } /* Keep strong as default white */
.membership-incentive .discount {
    display: inline-block;
    background-color: rgba(255,255,255,0.2); /* Subtle background */
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-left: 10px;
    font-weight: 500; /* Normal weight */
    vertical-align: middle;
    background-color: var(--danger-color);
}
.membership-incentive .close-incentive {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 5px;
    margin-left: 15px;
    transition: color 0.3s ease;
}
.membership-incentive .close-incentive:hover { color: #fff; }

/* --- Final CTA Section --- */
.final-cta-section {
    background-color: var(--primary-color-light); color: var(--text-color); text-align: center;
    padding: 100px 0; position: relative; overflow: hidden;
}
.final-cta-section h2 { color: #101828; margin-bottom: 1.5rem; font-size: 2.6rem; font-weight: 700; }
.final-cta-section p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.final-cta-section .cta-buttons .btn { margin: 10px; /* Add space between buttons */}
.final-cta-section .btn-primary { padding: 0.9rem 2.5rem; font-size: 1.1rem; }
.final-cta-section .btn-secondary { padding: 0.9rem 2.5rem; font-size: 1.1rem; }

/* --- Footer --- */
.footer-section { background-color: #101828; color: #98A2B3; padding: 60px 0 40px 0; text-align: center; font-size: 0.95rem; }
.footer-links { margin-bottom: 25px; }
.footer-links a { color: #D0D5DD; margin: 0 15px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-color); }
.social-media { margin-bottom: 25px; }
.social-media a { color: #98A2B3; font-size: 1.6rem; margin: 0 12px; transition: color 0.3s ease, transform 0.3s ease;}
.social-media a:hover { color: var(--primary-color); transform: translateY(-4px);}
.footer-section p { color: #98A2B3; font-size: 0.9rem; margin-bottom: 0.5rem;}
.copyright { margin-top: 20px; }
.copyright a { color: #D0D5DD;}
.copyright a:hover { color: var(--primary-color); }

/* --- Sidebar Styles --- */
#sidebar {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Spacing between buttons */
}
#sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%; /* Circular buttons */
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.25);
    transition: all 0.3s ease;
    position: relative; /* Needed for tooltip */
}
#sidebar a:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 18px rgba(var(--primary-color-rgb), 0.3);
}
/* Tooltip Base - Hidden by default */
#sidebar a::before,
#sidebar a .qr-tooltip {
    content: attr(data-tooltip); /* Use data-tooltip for text tooltips */
    position: absolute;
    right: 120%; /* Position to the left */
    top: 50%;
    transform: translateY(-50%) scale(0.8); /* Start small */
    background-color: var(--dark-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s linear;
    pointer-events: none; /* Don't interfere with clicks */
    z-index: 1001;
}
/* QR Tooltip specific styles */
#sidebar a .qr-tooltip {
    content: ''; /* Override text content */
    padding: 15px; /* Padding around QR code */
    background-color: #fff; /* White background for QR */
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 180px; /* Fixed width */
    text-align: center; /* Center image and text */
    transform-origin: right center; /* Adjust transform origin */
     transform: translateY(-50%) scale(0.8);
}
#sidebar a .qr-tooltip img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 10px auto; /* Center image */
}
#sidebar a .qr-tooltip span { /* Text below QR */
    font-size: 0.85rem;
    color: var(--text-muted); /* Use muted color for text */
    display: block;
}
/* Show Tooltip on Hover */
#sidebar a:hover::before,
#sidebar a:hover .qr-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1); /* Scale to full size */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s linear;
}
/* Hide the default text tooltip when the QR tooltip exists */
#sidebar a#contact-wechat:hover::before {
     opacity: 0;
     visibility: hidden;
}
/* Back to Top - Initially Hidden */
#back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- REMOVED Modal Styles --- */

/* --- Responsiveness --- */
@media (max-width: 992px) {
    h1 { font-size: 2.6rem; } h2 { font-size: 2.1rem; }
    .container { max-width: 960px; }
    .section-padding { padding: 80px 0; } /* Reduced padding */

    /* Hero Section */
    .hero-section .container { flex-direction: column; text-align: center; }
    .hero-text { order: 2; padding-right: 0; max-width: 600px; margin: 0 auto;}
    .hero-images { order: 1; margin-bottom: 40px; min-height: 450px; width: 100%; } /* Adjusted min-height */

    /* Detailed Features */
    .feature-item, .feature-item:nth-child(even) { flex-direction: column; gap: 40px; margin-bottom: 70px; }
    .feature-text { text-align: center; }
    .feature-text ul { text-align: left; display: inline-block;}
    .feature-image { order: -1; }
    .feature-image .mockup-container { max-width: 450px; }

     /* Use Cases */
     .use-case-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

     /* Supported Channels */
     .channel-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 25px; }

     /* Pricing */
     .pricing-grid.pricing-redesigned { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
     .pricing-card.recommended { transform: scale(1.02); }

     /* Activation Query */
     .query-box { max-width: 90%; }

     /* Testimonials */
     .testimonial-swiper-container { max-width: 95%; }
     .testimonial-swiper .swiper-button-next,
     .testimonial-swiper .swiper-button-prev { transform: translateY(-100%); } /* Adjust nav button position */

     /* Navbar */
     .navbar nav li { margin-left: 15px; }
     .navbar nav a { font-size: 1rem; } /* Slightly smaller nav text */
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; } h2 { font-size: 1.9rem; margin-bottom: 3rem;}
    .section-padding { padding: 60px 0; } /* Further reduce padding */
    .container { max-width: 100%; padding: 0 15px;} /* Full width container */

    /* Navbar (Mobile menu logic required - hidden here for simplicity) */
    .navbar nav { display: none; }
    .navbar .auth-buttons { display: none; }

    /* Hero */
    .hero-text .sub-headline { font-size: 1.15rem; }
    .hero-images { min-height: 400px; }
    .hero-images .phone-mockup { width: 220px; }
    .supported-platforms { justify-content: center; gap: 10px 15px;} /* Adjust gap */

    /* Channels */
    .channel-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; }
    .channel-item { padding: 15px; min-height: 110px; }
    .channel-item img { max-height: 40px; margin-bottom: 10px;}
    .channel-item span { font-size: 0.9rem; }

    /* Features */
     .feature-image .mockup-container { max-width: 90%; }
     .feature-item { gap: 30px; margin-bottom: 60px;}
     .feature-text h3 { font-size: 1.6rem; }
     .feature-text p { font-size: 1rem; }

     /* Use Cases */
     .use-case-grid { grid-template-columns: 1fr; } /* Stack use cases */
     .use-case-item { padding: 30px 25px; }

     /* Pricing */
     .pricing-grid.pricing-redesigned { grid-template-columns: 1fr; gap: 30px; }
     .pricing-card.recommended { transform: scale(1); }
     .pricing-card { padding: 35px 25px; }

     /* Activation Query */
     .query-box { padding: 30px 25px; }
     .query-form { flex-direction: column; align-items: stretch;}
     .query-form input[type="text"] { height: auto;} /* Reset fixed height */
     .query-form button[type="submit"] { width: 100%; height: auto; padding: 12px 20px;} /* Adjust padding */


    /* Testimonials */
    .testimonial-card-redesigned { padding: 30px 25px; } /* Adjust padding */
    .testimonial-card-redesigned blockquote { font-size: 1rem; }
    .testimonial-card-redesigned .author-info { flex-direction: row; text-align: left; } /* Keep row layout */
    .testimonial-swiper .swiper-button-next, .testimonial-swiper .swiper-button-prev { display: none; } /* Hide nav buttons */
    .testimonial-swiper-container { padding-bottom: 30px; } /* Reduce padding */
    .testimonial-swiper .swiper-pagination { margin-top: 20px; } /* Adjust pagination spacing */

    /* Membership Incentive */
    .membership-incentive { flex-direction: column; text-align: center; padding: 15px;bottom: -240px;}
    .membership-incentive p { padding-right: 0; margin-bottom: 15px; font-size: 1rem;}
    .membership-incentive div { display: flex; align-items: center; justify-content: center; width: 100%; gap: 10px;} /* Ensure buttons/close take space */
    .membership-incentive .btn-upgrade { width: auto; flex-grow: 1; max-width: 200px;}
    .membership-incentive .close-incentive { position: absolute; top: 10px; right: 15px; }

    /* Final CTA */
    .final-cta-section h2 { font-size: 2rem; }
    .final-cta-section p { font-size: 1.1rem; }
    .final-cta-section .cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 15px;}
    .final-cta-section .btn { width: 80%; max-width: 300px; margin: 0;}

    /* Sidebar */
    #sidebar { right: 15px; bottom: 20px; gap: 10px;}
    #sidebar a { width: 45px; height: 45px; font-size: 1.1rem;}
    #sidebar a::before, #sidebar a .qr-tooltip { display: none; } /* Hide tooltips on small screens */

    /* Footer */
    .footer-links a { margin: 0 10px 10px 10px; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; } h2 { font-size: 1.7rem; } p { font-size: 0.95rem;}
    .section-padding { padding: 50px 0; }

    /* Hero */
     .hero-text h1 { line-height: 1.3; }
     .hero-text .cta-buttons .btn { display: block; width: 95%; margin: 12px auto; padding: 0.8rem 1rem;}
     .hero-images { min-height: 350px; }
     .hero-images .phone-mockup { width: 180px; }
     .supported-platforms img { height: 24px; }

    /* Features */
    .feature-text ul li { padding-left: 20px; }
    .feature-text ul li::before { left: -2px; } /* Adjust icon pos */

    /* Channels */
    .channel-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } /* 2 columns */

     /* Activation Query */
     .query-box { padding: 25px 20px; }
     .query-result { font-size: 0.95rem; padding: 12px 15px; }
     .query-form input[type="text"] { font-size: 0.95rem; padding: 10px 12px;}
     .query-form button[type="submit"] { font-size: 0.95rem; padding: 10px 15px;}

    /* Pricing */
    .pricing-card { padding: 30px 20px; }
    .pricing-card h3 { font-size: 1.5rem; }
    .pricing-card ul.features-list li { font-size: 0.9rem; }
    .pricing-card .btn { width: 95%; padding: 0.7rem 1.5rem; }

     /* Testimonials */
     .testimonial-card-redesigned { padding: 25px 20px; }
     .testimonial-card-redesigned blockquote { font-size: 0.95rem; }
     .logo-wall img { height: 35px; margin: 8px 15px; }

     /* Social Proof */
     #social-proof-banner { height: 45px; }
     #social-proof-list li { height: 45px; line-height: 45px; font-size: 0.85rem;}

     /* Footer */
     .footer-links a { margin: 0 8px 10px 8px; display: inline-block; font-size: 0.9rem;}
     .social-media a { font-size: 1.4rem; margin: 0 10px; }
     .footer-section p { font-size: 0.85rem; }
}