/* assets/css/style.css */
:root {
    --bg-dark: #09090b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --success-color: #10b981;
    --danger-color: #ef4444;
}

* {
    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;
    position: relative;
    overflow: hidden;
}

h1, h2, h3 { font-family: 'Outfit', sans-serif; }
.text-center { text-align: center; }
.text-success { color: var(--success-color); }
.text-muted { color: var(--text-muted); }

/* Animated Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: drift 15s infinite alternate ease-in-out;
}
.blob-1 {
    top: -10%; left: -10%;
    width: 400px; height: 400px;
    background: rgba(99, 102, 241, 0.4);
}
.blob-2 {
    bottom: -10%; right: -10%;
    width: 350px; height: 350px;
    background: rgba(16, 185, 129, 0.3);
    animation-delay: -5s;
}
.blob-3 {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 250px; height: 250px;
    background: rgba(236, 72, 153, 0.3);
    animation-duration: 20s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    z-index: 10;
}

.app-header {
    margin-bottom: 30px;
}

.glow-text {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(129, 140, 248, 0.5);
    margin-bottom: 5px;
}
.glow-text-success {
    background: linear-gradient(to right, #34d399, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Glassmorphism Box */
.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}
.step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}
.step p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Icons */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    font-size: 30px;
    color: var(--primary-color);
}
.success-icon-wrapper {
    width: 80px; height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 20px auto; font-size: 40px; color: var(--success-color);
}

/* Forms */
.input-group {
    margin-bottom: 20px;
    position: relative;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}
input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }

.btn-glow:not(:disabled) {
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}
.btn-glow:not(:disabled):hover {
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.6);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex; align-items: center; gap: 5px;
    position: absolute;
    top: 20px; left: 20px;
    transition: color 0.3s;
}
.btn-back:hover { color: #fff; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    margin-top: 20px;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }

/* Product Preview & Delivery */
.product-preview {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #e2e8f0;
    text-align: center;
    display: none;
}

.delivery-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.data-row {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.data-row .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.data-row .val {
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    word-break: break-all;
}

.copy-btn {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    width: 36px; height: 36px;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.copy-btn:hover { background: var(--primary-color); color: #fff; }
