/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--light-text);
}

/* App Section */
.app-section {
    padding: 60px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.app-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-15px);
}

.app-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.app-header img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-header h3 {
    margin-bottom: 10px;
}

.app-content {
    padding: 30px;
}

.app-content ul {
    list-style-type: none;
    margin-bottom: 25px;
    padding-left: 0px;
}

.app-content ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    text-align: left;
}

.app-content ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.app-footer {
    padding: 20px 30px;
    background-color: var(--light-bg);
    text-align: center;
}

/* Pricing Section */
.pricing {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-box {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.price-box:hover {
    transform: translateY(-15px);
}

.price-box-white {
    background-color: white;
}

.price-box-blue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.price-box-grey {
    background-color: #f5f5f5;
}

.pricing-list {
    list-style-type: none;
    padding: 30px;
    margin: 0;
}

.pricing-list li {
    margin-bottom: 15px;
    text-align: center;
}

.price-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-list span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin: 20px 0;
}

.price-text {
    color: var(--light-text);
    margin-bottom: 10px;
}

.white-text {
    color: white !important;
}

.btn-buy {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.text-center {
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
}

.testimonial-slider {
    margin-top: 50px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        text-align: center;
    }

    .hero-image img {
        max-width: 80%;
    }
}


.new-xiaomi-special {
    padding: 28px 0;
    background: linear-gradient(180deg, #0b1220 0%, #0e1426 100%);
    color: #e8ecf7;
}

.new-xiaomi-special .section-header {
    background-color: inherit;
    text-align: center;
    margin-bottom: 18px;
    position: inherit;
}

.new-xiaomi-special .section-header h2 {
    font-size: 1.45rem;
    line-height: 1.25;
    margin: 0 0 6px 0;
    position: static;
}

.new-xiaomi-special .section-header .section-subtitle {
    opacity: .9;
    margin: 0;
    font-size: .95rem;
}

.new-xiaomi-special .section-header .section-summary {
    max-width: 760px;
    margin: 10px auto 0;
    color: #cfd6ea;
    font-size: .98rem;
}

.apps-grid.three {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}

.app-panel {
    background: #0f1730;
    border: 1px solid #1d2a52;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-visual {
    display: block;
    position: relative;
    background: #0a0f1f;
    overflow: hidden;
}

.app-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    /* cap image size on mobile to avoid huge paint */
    max-height: 360px;
}

.app-body {
    padding: 12px 14px;
}

.app-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    line-height: 1.2;
}

.app-title a {
    color: #e8ecf7;
    text-decoration: none;
}

.app-blurb {
    margin: 0 0 8px;
    color: #c9d2ea;
    font-size: .96rem;
}

.app-bullets {
    margin: 0 0 10px;
    padding-left: 18px;
    color: #b9c5e5;
    font-size: .95rem;
    list-style: disc;
}

.app-bullets li {
    margin: 4px 0;
}

.new-xiaomi-special .btn-primary {
    background: #3b82f6;
    color: #fff;
    padding: 9px 14px;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    font-size: .95rem;
}

.device-compat {
    margin-top: 10px;
    background: #0f1730;
    border: 1px solid #1d2a52;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.device-compat .compat-label {
    font-weight: 600;
    color: #dfe5f6;
    font-size: .95rem;
}

.device-compat .compat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #c4cdea;
    font-size: .95rem;
}

.device-compat .compat-list li {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #1d2a52;
    border-radius: 8px;
    color: #c4cdea;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
}

/* Tablet */
@media (min-width: 680px) {
    .new-xiaomi-special {
        padding: 36px 0;
    }

    .new-xiaomi-special .section-header h2 {
        font-size: 1.7rem;
    }

    .apps-grid.three {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .app-visual img {
        max-height: 420px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .new-xiaomi-special {
        padding: 44px 0;
    }

    .new-xiaomi-special .section-header h2 {
        font-size: 1.9rem;
    }

    .apps-grid.three {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .app-body {
        padding: 14px 16px;
    }
}