@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06d6a0;
    --warning: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #563088;
    min-height: 100vh;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    z-index: 10;
}

.header {
    text-align: center;
    background: linear-gradient(220deg, rgb(91 1 213), rgb(59 59 59 / 9%), rgb(189 0 235 / 67%));
    background-size: 200% 200%;
    animation: gradientShift 7s ease-in-out infinite;
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 60px 30px 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(255 255 255 / 14%);
    position: relative;
    overflow: hidden;
}

.alice-icon {
    width: 275px;
    height: 275px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    animation: pulse 12s ease-out infinite;
}

.alice-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(
        from 0deg,
        #FF00D4,
        #f59e0b,
        #8b5cf6,
        #FF00D4,
        #f59e0b,
        #8b5cf6,
        #ef4444
    );
    border-radius: 50%;
    animation: spin 5s linear infinite;
    z-index: -1;
    filter: blur(2vh);
}

.alice-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: rgba(86, 47, 135, 0.7);
    border-radius: 100%;
    filter: blur(1vw);
    z-index: 0;
}

.alice-icon > * {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 2.8rem;
    font-weight: 600;
    background: linear-gradient(30deg, #e898ff, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: gradientFlow 5s ease-in-out infinite;
}

.header p {
    font-size: 1.1rem;
    background: linear-gradient(30deg, #e898ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.2;
}

.card {
    background: rgb(255 255 255 / 12%);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 30px 20px;
    margin-bottom: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.card h2 {
    color: #fff;
}

.card:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.content-item {
    background: linear-gradient(135deg, var(--gray-50), white);
    border-left: 4px solid #cd02dd;
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
/*     transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); */
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateZ(0); /* Включаем аппаратное ускорение */
}

.content-details p{
	padding: 10px;
}

.content-details ul{
	padding-left: 20px;
}



.content-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: white;
/*     transform: translateX(5px); */
}


.content-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.content-item h4 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    min-width: 200px;
}


.content-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.content-badge.trending {
    background: var(--danger);
    animation: pulse 2s infinite;
}


.content-main {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.content-image-container {
    flex-shrink: 0;
        padding-top: 10px;

}


.content-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.content-details {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly */
}

.content-description {
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.4;
}


.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.content-category {
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.content-price {
    color: var(--success);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.content-provider {
    margin-bottom: 10px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 5px;
}

.content-contact {
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}


.content-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.content-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


.content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.content-stats {
    color: var(--gray-500);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}


.welcome-info {
    background: linear-gradient(135deg, var(--gray-50), white);
/*     border: 2px solid var(--primary); */
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.welcome-info h3 {
/*     color: var(--primary); */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.welcome-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.welcome-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.welcome-features li::before {
    content: '✨';
    margin-right: 10px;
    font-size: 1.1em;
}

.btn {
    background: #bd008b;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}


/* Добавьте эти стили к существующему styles.css */

.subscription-banner {
    background: linear-gradient(135deg, #960093, #9900a6, #ff00c8);
    background-size: 200% 200%;
    animation: gradientShift 7s ease-in-out infinite;
    color: white;
    padding: 25px 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscription-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.subscription-banner h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.subscription-banner p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    opacity: 0.95;
}

.subscription-status {
    background: linear-gradient(135deg, var(--success), var(--accent));
    color: white;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.subscription-status::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.subscription-status h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.subscription-status p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    opacity: 0.95;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 45px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: none;
    z-index: 5;
}

.pricing-card.popular::after {
    content: "💎 ПОПУЛЯРНЫЙ";
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
    background: linear-gradient(135deg, var(--accent), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.popular .price {
    color: white;
    -webkit-text-fill-color: white;
}

.features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.features li:last-child {
    border-bottom: none;
}

.features li::before {
    content: '✨';
    margin-right: 8px;
    font-size: 1.1em;
    flex-shrink: 0;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0 0 0;
}

.trust-item {
    text-align: center;
    padding: 15px 10px;
/*     background: linear-gradient(135deg, #c637bb 0%, #b94fb4 50%, #89007f 100%); */

    background: linear-gradient(135deg, #960093, #9900a6, #ff00c8);
    background-size: 200% 200%;
    animation: gradientShift 7s ease-in-out infinite;
    color: white;

    border-radius: 20px;
/*     backdrop-filter: blur(10px); */
}





.trust-item-skill {
    text-align: center;
    padding: 15px 10px;
	background: linear-gradient(135deg, #ab23fe, #7000c2, #7f00ff);
    background-size: 200% 200%;
    animation: gradientShift 7s ease-in-out infinite;
    color: white;

    border-radius: 20px;
/*     backdrop-filter: blur(10px); */
}


.trust-item-skill i {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.trust-item-skill a {
    font-size: 1.0rem;
    color: #fff;
/*     margin-bottom: 8px; */
text-decoration: none;
}

.trust-item-skill p {
    font-size: 1.1rem;
    background: linear-gradient(30deg, #eaeaea 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.2;
}


.trust-item-promo {
    text-align: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, #f88709 0%, #ff0606 50%, #ffbe00 100%);
    background-size: 200% 200%;
    animation: gradientShift 7s ease-in-out infinite;
    color: white;

    border-radius: 20px;
/*     backdrop-filter: blur(10px); */
}




.trust-item-promo i {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.trust-item-promo a {
    font-size: 1.0rem;
    color: #fff;
/*     margin-bottom: 8px; */
text-decoration: none;
}

.trust-item-promo p {
    font-size: 1.1rem;
    background: linear-gradient(30deg, #eaeaea 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.2;
}


.trust-item i {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.trust-item a {
    font-size: 1.0rem;
    color: #fff;
/*     margin-bottom: 8px; */
text-decoration: none;
}

.stats-counter {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.trust-item p {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .content-main {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-image-container {
        align-self: center;
            padding-top: 0px;

    }
    
    .content-image {
        width: 100%;
        max-width: 200px;
        height: 120px;
    }
    
    .content-item h4 {
        font-size: 1rem;
        min-width: auto;
    }
    
    .content-item-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .content-badge {
        align-self: flex-start;
    }
    
    .content-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .content-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .content-item {
        padding: 15px;
        margin: 10px 0;
    }
    
    .content-image {
        height: 100px;
    }
    
    .content-item h4 {
        font-size: 0.95rem;
    }
    
    .content-description {
        font-size: 0.9rem;
    }
}



/* Tablet styles */
@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin: 40px 0;
    }
    
    .pricing-card {
        padding: 45px 30px;
    }
    
    .pricing-card.popular {
        transform: scale(1.03);
    }
    
    .price {
        font-size: 2.8rem;
        margin: 20px 0;
    }
    
    .features li {
        padding: 12px 0;
        font-size: 1rem;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin: 40px 0 0 0;
    }
    
    .trust-item {
        padding: 20px;
    }
    
    .trust-item i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .stats-counter {
        font-size: 2rem;
    }
    
    .trust-item p {
        font-size: 0.9rem;
    }
    
    .subscription-banner {
        padding: 30px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    
    .subscription-status {
        padding: 25px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .pricing-card.popular {
        transform: scale(1.05);
    }
    
    .pricing-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .pricing-card.popular:hover {
        transform: scale(1.07) translateY(-5px);
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .pricing-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Code input styles (восстанавливаем отсутствующие) */
.code-input {
    text-align: center;
    padding: 20px 15px;
}

.code-input h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1.2;
}

.code-input p {
    font-size: 1rem;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
}

.code-input input {
    font-size: 2rem;
    font-weight: 700;
    padding: 15px;
    border: 3px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    letter-spacing: 0.3em;
    width: 100%;
    max-width: 200px;
    margin: 15px auto;
    display: block;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.code-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
    transform: scale(1.02);
}

.loading {
    text-align: center;
    padding: 30px;
    display: none;
}

.loading::after {
    content: '';
    width: 35px;
    height: 35px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-top: 15px;
}

.error {
    color: var(--danger);
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.91);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    margin: 15px 0;
    display: none;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive updates для code-input */
@media (min-width: 768px) {
    .code-input {
        padding: 30px 20px;
    }
    
    .code-input h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .code-input p {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .code-input input {
        font-size: 2.2rem;
        padding: 18px;
        max-width: 220px;
        margin: 20px auto;
    }
}

@media (min-width: 1024px) {
    .code-input h2 {
        font-size: 2rem;
    }
    
    .code-input input {
        font-size: 2.5rem;
        max-width: 250px;
    }
    
    .code-input {
        padding: 40px 20px;
    }
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Media queries */
@media (min-width: 768px) {
    .container { padding: 20px; }
    .header { padding: 50px 30px 40px 30px; }
    .alice-icon { width: 275px; height: 275px; }
    .header h1 { font-size: 3.2rem; }
    .card { padding: 35px 30px; }
    .content-item { padding: 25px; }
}

@media (min-width: 1024px) {
    .header h1 { font-size: 3.5rem; }
    .card { padding: 40px; }
}