/* Base Container Styles */
.container,
.buy-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.buy-page-container {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.buy-page-container h2 {
    color: #2c3e50;
    margin-top: 0;
}

.buy-page-container p {
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    padding: 40px;
}

.hero-image {
    flex: 1;
    max-width: 300px;
    margin-right: 40px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-image svg {
    width: 100%;
    height: 100%;
}

.hero-text {
    flex: 2;
}

/* Title Styles */
.title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title span {
    background: linear-gradient(120deg, #f6e05e 0%, #ecc94b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Number and Price Styles */
.number-text {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.category-description {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: black;
    margin-bottom: 20px;
    text-align: center;
}

.number-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 220px;
    height: 136px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 290px;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #3182ce;
}

.feature-icon {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-description {
    font-size: 14px;
    color: #7f8c8d;
}

/* Steps Section */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #f6e05e, #ecc94b);
}

.step-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    background: linear-gradient(135deg, #f6e05e 0%, #ecc94b 100%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 2px 4px rgba(236, 201, 75, 0.3);
    flex-shrink: 0;
}

.step-text {
    flex-grow: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #718096;
    line-height: 1.6;
}

/* Social Buttons */
.social-container {
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn,
.wechat-btn {
    background: linear-gradient(135deg, #f6e05e 0%, #ecc94b 100%);
    color: #744210;
}

.cuniq-btn {
    background: linear-gradient(135deg, #f6e05e 0%, #ecc94b 100%);
    color: #744210;
    position: relative;
    width: 262px;
    padding-left: 8px;
    padding-right: 8px;
}

.social-btn img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.social-btn span {
    font-weight: 600;
}

/* Additional Info Section */
.additional-info {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.info-text {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Platform Links */
.platform-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.platform-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
}

.platform-name {
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.social-btn:hover img {
    animation: pulse 1s infinite;
}

/* Media Queries */
@media (max-width: 1480px) {
    .number-container {
        justify-content: space-between;
    }

    .number-box {
        width: 22vw;
    }
}

@media (max-width: 1290px) {
    .number-box {
        width: 24vw;
    }
}

@media (max-width: 950px) {
    #number-filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .form-group {
        flex-wrap: wrap;
    }

    .search-bar,
    .input {
        flex: 1 1 100%;
    }

    select,
    .submit-btn {
        flex: 1 1 auto;
    }

    .number-text {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        width: 14px;
        height: 24px;
        margin-right: 8px;
    }

    header h1 {
        font-size: 1.2em;
    }

    .hero-content {
        flex-direction: column;
        padding: 20px;
    }

    .hero-image {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .category-description {
        font-size: 16px;
    }

    .price {
        font-size: 24px;
    }

    .additional-info {
        padding: 20px;
    }

    .info-title {
        font-size: 20px;
    }

    .info-text {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    .title {
        font-size: 2rem;
    }

    .step-card {
        padding: 1rem;
    }

    .step-content {
        gap: 1rem;
    }

    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 580px) {
    .number-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .platform-links {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .social-btn {
        justify-content: center;
    }
}