/*
Theme Name: Beauty Namutim
Template: twentytwentyone
Description: Премиум лендинги для beau бьюти-мастера
Version: 1.3
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(160, 96, 238, 0.2), transparent 50%);
    pointer-events: none;
    will-change: transform;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(160, 96, 238, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.tag:hover {
    border-color: rgba(160, 96, 238, 0.5);
    background: rgba(160, 96, 238, 0.1);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.gradient {
    background: linear-gradient(135deg, #a960ee 0%, #ff3366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.subtitle {
    font-size: 18px;
    color: #999;
    margin-bottom: 32px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #a960ee, #ff3366);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(160, 96, 238, 0.4);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(160, 96, 238, 0.6);
}

.btn:active {
    transform: translateY(-1px);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Pain Points */
.pain {
    padding: 100px 20px;
    position: relative;
}

.pain h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 60px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(160, 96, 238, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(160, 96, 238, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s;
}

.card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    position: relative;
}

.card p {
    color: #999;
    font-size: 15px;
    position: relative;
}

/* Solution */
.solution {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(160, 96, 238, 0.5), transparent);
}

.solution h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
}

.lead {
    font-size: 18px;
    color: #999;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.benefit {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.benefit:nth-child(1) {
    animation-delay: 0.2s;
}

.benefit:nth-child(2) {
    animation-delay: 0.4s;
}

.benefit:nth-child(3) {
    animation-delay: 0.6s;
}

.benefit:last-child {
    margin-bottom: 0;
}

.check {
    color: #4cd964;
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1.4;
    filter: drop-shadow(0 0 10px rgba(76, 217, 100, 0.5));
}

.benefit strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit p {
    color: #999;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* Final CTA */
.cta {
    padding: 100px 20px 140px;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(160, 96, 238, 0.08), transparent 50%);
}

.cta-box h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 20px;
    position: relative;
}

.cta-box p {
    color: #999;
    font-size: 16px;
    margin-bottom: 30px;
    position: relative;
}

.small {
    font-size: 13px;
    margin-top: 20px !important;
    opacity: 0.6;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        padding: 40px 20px;
    }

    .cards {
        gap: 20px;
    }

    .card {
        padding: 30px 24px;
    }

    .benefits {
        padding: 40px 24px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .btn {
        width: 100%;
        max-width: 400px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.hero-bg,
.card::before,
.hero::before,
.hero::after {
    will-change: transform;
}

/* Footer Styles */
.custom-footer {
    background: transparent !important;
    /* Transparent to match site background */
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #999;
    font-size: 15px;
    font-family: inherit;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.footer-menu li a {
    color: #ffffff !important;
    /* Force white color */
    text-decoration: none;
    font-size: 15px;
    font-family: inherit;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-menu li a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .custom-footer {
        padding: 40px 0;
    }

    .footer-container {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-menu {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding-left: 0;
    }
}