:root {
    --bg-dark: #0f111a;
    --panel-bg: rgba(25, 28, 41, 0.6);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8f9fa;
    --text-muted: #9ba1a6;
    --accent: #5e6ad2;
    --accent-glow: rgba(94, 106, 210, 0.4);
    --success: #34d399;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Animated Background Blobs */
.background-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(94, 106, 210, 0.15);
    top: -10%; left: -10%;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(52, 211, 153, 0.1);
    bottom: -10%; right: -5%;
    animation-delay: -10s;
}

@keyframes drift {
    100% {
        transform: translate(50px, 100px) scale(1.1);
    }
}

.container {
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
}

.badge {
    background: rgba(52, 211, 153, 0.15);
    color: var(--success);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, #a7b5ff, #5e6ad2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    transition: all 0.2s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(94, 106, 210, 0.3);
}

.icon-wrapper {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Checkout Area */
.checkout-section {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.03);
}

.price-tag {
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--text-muted);
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: white;
}

.cents {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--text-muted);
}

.delivery-note {
    font-size: 0.9rem;
    color: var(--success);
    margin-bottom: 30px;
    font-weight: 500;
}

.paypal-wrapper {
    width: 100%;
    max-width: 400px;
    min-height: 50px; /* reserving space for SDK load */
}

/* Success Page Specific */
.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #5e6ad2, #434eb0);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(94, 106, 210, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(94, 106, 210, 0.5);
    background: linear-gradient(135deg, #6c78ec, #525ec7);
}

footer {
    margin-top: 40px;
    color: rgba(255,255,255,0.2);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .glass-panel { padding: 40px 20px; }
}
