/* HERO */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.12), transparent 50%);
    animation: bgShift 15s ease-in-out infinite alternate;
}

@keyframes bgShift {
    to {
        transform: scale(1.1) rotate(3deg);
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 24px;
    font-weight: 800;
}

.stat span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Preview card */
.hero__visual {
    display: flex;
    justify-content: center;
}

.preview-card {
    width: 100%;
    max-width: 480px;
    background: #a6b4c5;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.preview-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

@keyframes float {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -15px;
    }
}

.preview-card__header {
    display: flex;
    background-color: #71849f;
    gap: 6px;
    padding: 14px;
    border-bottom: 1px solid var(--border);
}

.preview-card__header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--surface-2);
}

.preview-card__header span:nth-child(1) {
    background: #ff5f57;
}

.preview-card__header span:nth-child(2) {
    background: #febc2e;
}

.preview-card__header span:nth-child(3) {
    background: #28c840;
}

.preview-card__body {
    padding: 20px;
}

.preview-card__body video {
    width: 100%;
    border-radius: 15px;
}

.preview-img {
    aspect-ratio: 16/10;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.preview-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.3), transparent 50%);
}

.preview-sliders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-slider {
    height: 6px;
    border-radius: 3px;
    background: var(--surface-2);
    overflow: hidden;
}

.mini-slider__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    animation: sliderPulse 3s ease-in-out infinite alternate;
}

@keyframes sliderPulse {
    to {
        filter: brightness(1.3);
    }
}

/* SECTIONS */
.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 16px;
}

/* FEATURES */
.features {
    padding: 80px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    position: relative;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--trans);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.feature-card__icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.feature-card--soon {
    opacity: 0.8;
}

.soon-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* CTA */
.cta {
    padding: 60px 0;
}

.cta__box {
    position: relative;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
}

.cta__box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.3), transparent 50%);
}

.cta__box>* {
    position: relative;
}

.cta__box h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 14px;
}

.cta__box p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* PRICING */
.pricing {
    padding: 80px 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    padding: 36px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--trans);
}

.price-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.price {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price span {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
}

.price-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.price-card li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
}

.price-card li.muted {
    color: var(--text-dim);
}

.price-card .btn {
    width: 100%;
}

.price-card--featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px var(--primary-glow);
    transform: scale(1.03);
}

.pop-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        order: -1;
    }

    .price-card--featured {
        transform: none;
    }
}