:root {
    --bg-gradient: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.4);
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --text-main: #111827;
    --text-muted: #6B7280;
    --orange-highlight: #EA580C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    color-scheme: light;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Blobs */
.background-globes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    overflow: hidden;
    z-index: -1;
}

.globe-1, .globe-2, .globe-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 15s infinite alternate ease-in-out;
}

.globe-1 {
    width: 400px; height: 400px;
    background: #818CF8;
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.globe-2 {
    width: 500px; height: 500px;
    background: #F472B6;
    bottom: -150px; right: -50px;
    animation-delay: 3s;
}

.globe-3 {
    width: 300px; height: 300px;
    background: #FDE047;
    top: 50%; left: 60%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    100% { transform: translateY(30px) translateX(30px); }
}

/* Glass Container */
.glass-container {
    width: 100%;
    max-width: 450px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 28px; height: 28px;
    color: var(--primary);
}

.badge-pro {
    background: linear-gradient(90deg, #F59E0B, #EA580C);
    color: white;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.3);
}

/* Sections State */
.hidden-state {
    display: none !important;
}

.active-state {
    display: block;
}

/* Typography */
.main-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Price Box */
.price-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 2px solid #FBCFE8;
    position: relative;
}

.promo-tag {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #DB2777;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.old-price {
    display: block;
    font-size: 14px;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.new-price {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #DB2777;
}

/* Forms & Buttons */
.instructions {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 20px;
}

.google-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--text-main);
    border: 1px solid #D1D5DB;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.google-btn:hover {
    background: #F9FAFB;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.google-logo {
    width: 24px; height: 24px;
}

.primary-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    width: 100%;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: var(--primary);
    color: white;
}

/* Inputs */
.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-icon {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px; height: 20px;
}

input {
    width: 100%;
    padding: 16px 16px 16px 44px;
    border-radius: 12px;
    border: 1px solid #D1D5DB;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.validation-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    margin-bottom: 24px;
}

.user-profile img {
    width: 44px; height: 44px;
    border-radius: 50%;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 15px;
    font-weight: 700;
}

.user-email {
    font-size: 12px;
    color: var(--text-muted);
}

/* QR Code Section */
.qr-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.qr-box {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    text-align: center;
}

.wave-box {
    border-color: #2D9CDB;
}

.wave-header {
    background: #2D9CDB;
    color: white;
    font-weight: 800;
    font-size: 12px;
    padding: 8px 0;
    letter-spacing: 1px;
}

.qr-image {
    width: 150px;
    height: 150px;
    padding: 10px;
}

/* Helpers */
.divider {
    height: 1px;
    background: #E5E7EB;
    margin: 24px 0;
}

.secure-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.small-icon {
    width: 14px; height: 14px;
}

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Success Box */
.success-icon-box {
    text-align: center;
    margin-bottom: 16px;
}

.success-icon {
    width: 64px; height: 64px;
    color: #10B981;
}

.success-box {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 16px;
    border-radius: 12px;
    color: #065F46;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

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

.pulse-animation {
    animation: pulse 2s infinite;
}

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

.bounce {
    animation: bounce 1s cubic-bezier(0.280, 0.840, 0.420, 1) forwards;
}

@keyframes bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
