:root {
    --primary: hsl(211, 100%, 50%);
    --primary-dark: hsl(211, 100%, 38%);
    --primary-light: hsl(217, 91%, 60%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    background: var(--color-background, hsl(0, 0%, 99%));
}

.how-to-page {
    position: relative;
}

.hero-section {
    padding: 72px 0 40px;
    position: relative;
}

.decorative-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    top: 10%;
    left: -60px;
    width: 300px;
    height: 300px;
    background: var(--primary);
}

.blob-2 {
    bottom: 5%;
    right: -60px;
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.05);
    }
}

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

.badge-primary {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

.step-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 36px;
    position: relative;
    /*overflow: hidden;*/
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
    border-bottom-left-radius: 100%;
    opacity: 0.5;
}

.step-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease;
}

.step-card:hover .step-badge {
    transform: scale(1.1);
}

.icon-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(79, 70, 229, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.1);
    position: relative;
}

.step-card:hover .icon-container {
    transform: scale(1.1) rotate(3deg);
}

.icon-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: rgba(79, 70, 229, 0.2);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover .icon-container::before {
    opacity: 0.5;
}


.btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-doc:hover {
    transform: scale(1.05);
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--primary-dark);
}

.link-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-primary:hover {
    background: rgba(79, 70, 229, 0.2);
    color: var(--primary-dark);
}

.link-primary i {
    transition: transform 0.3s ease;
}

.link-primary:hover i {
    transform: translateX(4px);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-back:hover {
    border-color: rgba(79, 70, 229, 0.4);
    color: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-back:hover i {
    transform: translateX(-3px);
}

.btn-back i {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 56px 0 32px;
    }

    .step-card {
        padding: 24px 20px;
    }
}