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

html {
    overflow-x: hidden;
}

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

        :root {
            --roxo-escuro: #6A0DAD;
            --roxo-pastel: #C8A2C8;
            --branco: #FFFFFF;
            --sombra-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
            --sombra-md: 0 8px 24px rgba(0, 0, 0, 0.15);
            --sombra-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
        }

        body {
            font-family: 'Roboto', sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            background: var(--roxo-pastel);
            padding: 2rem 0;
        }

        .background-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
        }

        .background-animation::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(106, 13, 173, 0.1) 0%, transparent 70%);
            animation: rotate 30s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        #qrcode {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.container {
            max-width: 560px;
            width: 100%;
            position: relative;
            z-index: 1;
        }

        .card {
            background: var(--branco);
            border-radius: 24px;
            padding: 2.5rem;
            border: 1px solid var(--roxo-escuro);
            box-shadow: var(--sombra-md);
            animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .whatsapp-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, var(--roxo-pastel) 0%, var(--roxo-escuro) 100%);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 32px rgba(106, 13, 173, 0.3);
            animation: pulse 2s ease-in-out infinite;
        }

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

        .whatsapp-icon svg {
            width: 48px;
            height: 48px;
            fill: var(--branco);
        }

        h1 {
            color: #333;
            font-size: 1.75rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 0.5rem;
            letter-spacing: -0.02em;
        }

        .subtitle {
            color: #666;
            text-align: center;
            font-size: 1rem;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .section {
            margin-bottom: 2rem;
        }

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

        .section-title {
            color: #888;
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
            text-align: center;
        }

        .button-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            padding: 1.25rem 1rem;
            border-radius: 16px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.875rem;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

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

        .btn-android {
            background: var(--roxo-escuro);
            color: var(--branco);
            box-shadow: 0 4px 16px rgba(106, 13, 173, 0.3);
        }

        .btn-android:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(106, 13, 173, 0.4);
        }

        .btn-ios {
            background: var(--roxo-escuro);
            color: var(--branco);
            box-shadow: 0 4px 16px rgba(106, 13, 173, 0.3);
        }

        .btn-ios:hover {
            transform: translateY(-4px);
            background: var(--roxo-escuro);
            box-shadow: 0 8px 24px rgba(106, 13, 173, 0.4);
        }

        .btn-copy {
            background: var(--roxo-pastel);
            color: var(--branco);
            box-shadow: 0 4px 16px rgba(200, 162, 200, 0.3);
            width: 100%;
            padding: 1.25rem;
            flex-direction: row;
            justify-content: center;
        }

        .btn-copy:hover {
            transform: translateY(-4px);
            background: #B28CB2;
            box-shadow: 0 8px 24px rgba(200, 162, 200, 0.4);
        }

        .btn-copy.copied {
            background: #2ecc71;
            box-shadow: 0 8px 24px rgba(46, 204, 113, 0.4);
            transform: translateY(-4px);
        }

        .btn-icon {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            flex-shrink: 0;
        }

        .btn-icon svg {
            width: 20px;
            height: 20px;
            fill: var(--branco);
        }

        .helper-text {
            color: #888;
            font-size: 0.8125rem;
            text-align: center;
            line-height: 1.5;
            margin-top: 1rem;
        }

        .divider {
            height: 1px;
            background: #e0e0e0;
            margin: 2rem 0;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
        }

        .fade-in:nth-child(1) { animation-delay: 0.1s; }
        .fade-in:nth-child(2) { animation-delay: 0.2s; }
        .fade-in:nth-child(3) { animation-delay: 0.3s; }

        @media (max-width: 640px) {
            .card {
                padding: 2rem 1.5rem;
            }

            h1 {
                font-size: 1.5rem;
            }

            .button-grid {
                grid-template-columns: 1fr;
            }

            .btn {
                padding: 1.25rem;
            }
        }

        @media (max-width: 480px) {
            .card {
                padding: 1.5rem 1rem;
            }

            h1 {
                font-size: 1.3rem;
            }
        }

        @media (hover: none) {
            .btn:hover {
                transform: none;
            }

            .btn:active {
                transform: scale(0.98);
            }
        }