* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --whatsapp-color: #25D366;
    --max-color: #4A4A4A;
    --text-white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.9);
    --panel-bg: rgba(30, 40, 60, 0.85);
    --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #50C878 0%, #4facfe 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Aurora Background */
.aurora-background {
    min-height: 100vh;
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-top: 30px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 250px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-sakha {
    color: var(--text-white);
}

.brand-vpn {
    color: #00d4ff;
}

/* Slogan Section */
.slogan-section {
    text-align: center;
    margin: 30px 0;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slogan-primary {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    line-height: 1.2;
}

.slogan-secondary {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

/* CTA Buttons */
.cta-button {
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-white);
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.6);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* CTA Text (не кнопка) */
.cta-text {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    color: var(--text-white);
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Share Panel */
.share-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px 30px;
    margin: 30px 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.share-instruction {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Circular Progress */
.circular-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 8px;
}

.progress-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a3441;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.progress-circle.active {
    background: var(--gradient-success);
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.5);
    transform: scale(1.1);
}

.progress-circle.final {
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    position: relative;
}

.progress-circle.final .checkmark {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-success);
    border-radius: 50px 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.5);
}

.progress-circle.final .number {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #2a3441;
    border-radius: 0 50px 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
}

.progress-circle.final.completed .checkmark {
    width: 100%;
    border-radius: 50px;
}

.progress-circle.final.completed .number {
    display: none;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    width: 100%;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-white);
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.share-btn:active {
    transform: translateY(0);
}

.share-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.share-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.max-btn {
    background: linear-gradient(180deg, #0C243D 0%, #081620 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.max-btn:hover {
    background: linear-gradient(180deg, #0F2A4A 0%, #0C243D 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.whatsapp-btn {
    background: linear-gradient(90deg, #25D366 0%, #1FA855 100%);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.whatsapp-btn:hover {
    background: linear-gradient(90deg, #2FE576 0%, #25D366 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Download Section */
.download-section {
    margin: 30px 20px;
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-btn {
    padding: 20px 60px;
    font-size: 1.3rem;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.5);
}

.download-btn:hover {
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.7);
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .aurora-background {
        padding: 15px 10px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
    }

    .logo-section {
        margin-top: 20px;
    }


    .brand-name {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }

    .slogan-section {
        margin: 0 0 20px 0;
        padding: 0 15px;
    }

    .slogan-primary {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .slogan-secondary {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 16px 35px;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .share-panel {
        padding: 25px 20px;
        margin: 25px 10px;
        border-radius: 20px;
        max-width: 100%;
    }

    .share-instruction {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .circular-progress {
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .progress-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .progress-circle.final {
        width: 36px;
        height: 36px;
    }

    .progress-circle.final .checkmark {
        font-size: 0.95rem;
    }
    
    .progress-circle.final .number {
        font-size: 0.85rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .share-btn {
        width: 100%;
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .share-icon {
        width: 28px;
        height: 28px;
    }

    .download-section {
        margin: 25px 10px;
        width: calc(100% - 20px);
    }

    .download-btn {
        width: 100%;
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .aurora-background {
        padding: 12px 8px;
    }


    .brand-name {
        font-size: 1.2rem;
    }

    .slogan-primary {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .slogan-secondary {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .share-panel {
        padding: 20px 15px;
        margin: 20px 8px;
    }

    .share-instruction {
        font-size: 0.9rem;
    }

    .progress-circle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .progress-circle.final {
        width: 30px;
        height: 30px;
    }

    .progress-circle.final .checkmark {
        font-size: 0.85rem;
    }

    .circular-progress {
        gap: 2px;
        padding: 0 3px;
    }

    .share-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .share-icon {
        width: 26px;
        height: 26px;
    }

    .download-btn {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

/* Celebration Animation */
@keyframes celebrate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.celebrate {
    animation: celebrate 0.5s ease-in-out;
}

/* Footer */
.footer {
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .footer {
        margin-top: 30px;
        margin-bottom: 15px;
        padding: 15px;
    }

    .footer-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        margin-top: 25px;
        margin-bottom: 12px;
        padding: 12px;
    }

    .footer-text {
        font-size: 0.75rem;
    }
}
