html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
    overflow-x: hidden;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
    text-decoration: none;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Bootstrap Grid Support */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-12,
.col-md-4,
.col-md-3,
.col-sm-6 {
    position: relative;
    min-height: 1px;
    padding: 0 15px;
}

.col-md-12 {
    width: 100%;
}

.col-md-4 {
    width: 33.33333333%;
}

.col-md-3 {
    width: 25%;
}

.col-sm-6 {
    width: 50%;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-primary {
    color: #fff;
    background-color: #667eea;
    border-color: #667eea;
}

.btn-primary:hover {
    background-color: #5568d3;
    border-color: #5568d3;
}

@media (min-width: 992px) {
    .col-md-12 {
        width: 100%;
    }
    
    .col-md-4 {
        width: 33.33333333%;
    }
    
    .col-md-3 {
        width: 25%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-sm-6 {
        width: 50%;
    }
    
    .col-md-4 {
        width: 50%;
    }
    
    .col-md-3 {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .col-sm-6,
    .col-md-4,
    .col-md-3 {
        width: 100%;
    }
}


#mainbody {
    position: relative;
    width: 100%;
    overflow-y: auto;
    background: #f1f6fd;
    color: #474157;
}

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

.home-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-brand {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.home-brand:hover,
.home-brand:focus {
    color: #fff;
    text-decoration: none;
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.home-nav-link,
.home-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 4px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.home-nav-link:hover,
.home-nav-link:focus {
    color: #fff;
    text-decoration: none;
}

.home-nav-link-muted {
    color: rgba(255,255,255,0.68);
}

.home-nav-button {
    color: #2d2855;
    background: #fdcc52;
    font-weight: 700;
}

.home-nav-button:hover,
.home-nav-button:focus {
    color: #2d2855;
    background: #fdc539;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-section .btn-primary {
    background: #fdcc52;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.hero-section .btn-primary:hover {
    background: #fdc539;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #171347;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #171347;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: #888;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.steps-container {
    margin-top: 50px;
}

.steps-container h3 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #171347;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #171347;
}

.step-item p {
    font-size: 14px;
    color: #666;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-item {
    margin-bottom: 30px;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pricing-card--normal,
.pricing-card--premium,
.pricing-card--ultimate {
    color: #fff;
    border: none;
    box-shadow: 0 18px 36px rgba(23, 19, 71, 0.16);
}

.pricing-card--normal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pricing-card--premium {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}

.pricing-card--ultimate {
    background: linear-gradient(135deg, #ef4444 0%, #7c2d92 100%);
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #171347;
}

.pricing-card.featured h3,
.pricing-card--normal h3,
.pricing-card--premium h3,
.pricing-card--ultimate h3 {
    color: white;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 15px;
    line-height: 1.6;
}

.pricing-card .benefit-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.35);
    position: relative;
}

.pricing-card .benefit-check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pricing-card .benefit-text {
    flex: 1;
}

.pricing-card.featured ul li,
.pricing-card--normal ul li,
.pricing-card--premium ul li,
.pricing-card--ultimate ul li {
    border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: #fdcc52;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.cta-section .btn-primary:hover {
    background: #fdc539;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-height: 500px) {
    .hero-section {
        padding: 60px 0 40px;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section .lead {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-item,
    .step-item {
        margin-bottom: 30px;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item,
.step-item,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }

.pricing-item:nth-child(1) .pricing-card { animation-delay: 0.1s; }
.pricing-item:nth-child(2) .pricing-card { animation-delay: 0.2s; }
.pricing-item:nth-child(3) .pricing-card { animation-delay: 0.3s; }

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

/* Landing page refresh */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-copy {
    flex: 1;
    text-align: left;
}

.hero-badge,
.section-kicker,
.pricing-label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-section h1 {
    margin-top: 0;
    line-height: 1.12;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.btn-outline-dark {
    color: #171347;
    border-color: #cbd3e6;
    background: #fff;
}

.btn-outline-dark:hover {
    color: #3157d5;
    border-color: #9fb4ef;
    background: #f5f8ff;
}

.hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats div {
    min-width: 110px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-size: 22px;
    line-height: 1.2;
}

.hero-stats span {
    font-size: 13px;
    opacity: 0.82;
}

.hero-preview {
    flex: 0 0 430px;
}

.preview-window {
    color: #171347;
    background: #fff;
    border-radius: 24px;
    padding: 22px;
    text-align: left;
    box-shadow: 0 26px 70px rgba(23, 19, 71, 0.25);
}

.preview-topbar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.preview-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8def8;
}

.preview-search {
    padding: 14px 18px;
    border-radius: 14px;
    background: #f1f6fd;
    color: #767d91;
    margin-bottom: 16px;
}

.preview-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f7;
}

.preview-list span {
    color: #667eea;
    font-size: 13px;
}

.preview-window pre {
    margin: 18px 0 0;
    padding: 18px;
    border-radius: 14px;
    background: #171347;
    color: #dfe6ff;
    line-height: 1.7;
    overflow: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.feature-grid .feature-item {
    border: 1px solid #eef1f7;
    border-radius: 18px;
    background: #fff;
    text-align: left;
}

.feature-grid .feature-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #667eea;
    background: #eef2ff;
    font-size: 15px;
    font-weight: 700;
}

.feature-grid .feature-highlight {
    background: #171347;
    color: #fff;
}

.feature-grid .feature-highlight h3,
.feature-grid .feature-highlight p {
    color: #fff;
}

.experience-section {
    padding: 44px 0;
    background: #f8f9fa;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.experience-card {
    min-height: 132px;
    padding: 18px;
    border: 1px solid #e8eef8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 45, 61, 0.05);
}

.experience-card strong,
.experience-card span {
    display: block;
}

.experience-card strong {
    margin-bottom: 10px;
    color: #171347;
    font-size: 17px;
}

.experience-card span {
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

.experience-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 22px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #171347 0%, #384684 100%);
}

.experience-cta strong,
.experience-cta span {
    display: block;
}

.experience-cta strong {
    margin-bottom: 6px;
    font-size: 20px;
}

.experience-cta span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
}

.experience-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-support-wechat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.4;
}

.home-support-wechat img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #fff;
}

.fixed-support-wechat {
    position: fixed;
    right: 22px;
    top: 50%;
    z-index: 1000;
    width: 132px;
    padding: 12px;
    border: 1px solid #e4eaf5;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 38px rgba(31, 45, 61, 0.16);
    text-align: center;
    transform: translateY(-50%);
}

.fixed-support-title {
    margin-bottom: 8px;
    color: #171347;
    font-size: 14px;
    font-weight: 700;
}

.fixed-support-wechat img {
    display: block;
    width: 106px;
    height: 106px;
    margin: 0 auto;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.fixed-support-text {
    margin-top: 8px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.advantage-section {
    padding: 30px 0 80px;
    background: #fff;
}

.advantage-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 42px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(135deg, #171347 0%, #384684 100%);
}

.advantage-card h2 {
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 700;
}

.advantage-card p {
    max-width: 660px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.advantage-points {
    display: grid;
    gap: 12px;
    min-width: 180px;
}

.advantage-points span {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    text-align: center;
    white-space: nowrap;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.steps-grid .step-item {
    border-radius: 20px;
    background: #fff;
}

.pricing-label {
    color: #667eea;
    background: #eef2ff;
    margin-bottom: 8px;
}

.pricing-card.featured .pricing-label,
.pricing-card--normal .pricing-label,
.pricing-card--premium .pricing-label,
.pricing-card--ultimate .pricing-label {
    color: #171347;
    background: rgba(255, 255, 255, 0.85);
}

.pricing-card--premium .pricing-label {
    color: #78350f;
}

.pricing-card--ultimate .pricing-label {
    color: #7f1d1d;
}

.btn-card {
    width: 100%;
    margin-top: 28px;
    color: #fff;
    background: #667eea;
    border-color: #667eea;
    border-radius: 999px;
}

.btn-card:hover {
    color: #fff;
    background: #5568d3;
}

.btn-card-light {
    color: #171347;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 10px 24px rgba(23, 19, 71, 0.16);
}

.btn-card-light:hover {
    color: #171347;
    background: #eef2ff;
}

@media (max-width: 991px) {
    .hero-layout,
    .advantage-card {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-preview {
        flex: none;
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experience-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .experience-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 70px 0 54px;
    }

    .hero-copy {
        text-align: center;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .preview-window {
        padding: 16px;
        border-radius: 18px;
    }

    .feature-grid,
    .experience-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        padding: 28px 22px;
    }

    .advantage-card h2 {
        font-size: 26px;
    }
}

/* Compact landing layout */
.hero-section {
    padding: 64px 0 52px;
}

.features-section,
.experience-section,
.how-it-works-section,
.pricing-section {
    padding: 44px 0;
}

.cta-section {
    padding: 48px 0;
}

.section-title {
    margin-bottom: 12px;
}

.section-description {
    margin-bottom: 26px;
}

.hero-layout {
    gap: 38px;
}

.hero-section h1 {
    font-size: 42px;
}

.hero-section .lead {
    margin-bottom: 22px;
}

.hero-actions {
    margin-bottom: 22px;
}

.hero-stats div {
    padding: 10px 14px;
}

.hero-preview {
    flex-basis: 390px;
}

.preview-window {
    padding: 18px;
}

.preview-search,
.preview-window pre {
    padding: 12px 14px;
}

.preview-list div {
    padding: 9px 0;
}

.feature-grid {
    gap: 12px;
}

.feature-grid .feature-item {
    padding: 18px 16px;
}

.feature-grid .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.feature-grid .feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-grid .feature-item p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 0;
}

.steps-container {
    margin-top: 18px;
}

.steps-grid .step-item {
    padding: 18px 14px;
}

.step-number {
    width: 42px;
    height: 42px;
    font-size: 18px;
    margin-bottom: 12px;
}

.step-item h4 {
    font-size: 17px;
}

.step-item p {
    margin-bottom: 0;
}

.pricing-card {
    padding: 26px 22px;
}

.pricing-card h3 {
    margin-bottom: 18px;
}

.pricing-card ul li {
    padding: 8px 0;
}

.btn-card {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .home-header {
        padding: 14px 0;
    }

    .home-header-inner {
        align-items: flex-start;
        gap: 12px;
    }

    .home-brand {
        max-width: 42%;
        font-size: 16px;
        word-break: break-all;
    }

    .home-nav {
        max-width: 58%;
        gap: 8px;
    }

    .home-nav-link,
    .home-nav-button {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 13px;
    }

    .hero-section,
    .features-section,
    .how-it-works-section,
    .pricing-section,
    .cta-section {
        padding: 34px 0;
    }

    .hero-section {
        padding-top: 116px;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .fixed-support-wechat {
        display: none;
    }
}
