:root {
  --primary: #0bc15c;
  --primary-dark: #099e4b;
  --primary-soft: rgba(11, 193, 92, 0.1);
  --bg: #e8f5e9;
  --bg-card: #ffffff;
  --input-bg: #f5f9f6;
  --text: #1a2b22;
  --text-muted: #687870;
  --border: #d4e8d8;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --header-h: 70px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body, html { width: 100%; max-width: 100%; overflow-x: hidden; position: relative; }
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #e8f5e9 0%, #d4edda 50%, #c8e6c9 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-wrap, .steps-section, footer { width: 100%; max-width: 100%; box-sizing: border-box; }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary-dark); }
.d-none { display: none !important; }
.modal-overlay.active { display: flex !important; }

header {
  background: transparent;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

.floating-icons-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden;
}
.float-icon {
  position: absolute; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 8px 25px rgba(0,0,0,0.15); animation: floatUp 15s linear infinite; opacity: 0.9;
}
.float-icon::after {
  content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; background: inherit; filter: blur(8px); opacity: 0.3; border-radius: 50%;
}
.float-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.float-tk { background: #000; color: white; }
.float-yt { background: #ff0000; color: white; }
.float-fb { background: #1877f2; color: white; }
.float-wa { background: #25d366; color: white; }
.float-tg { background: #0088cc; color: white; }
.float-tw { background: #1da1f2; color: white; }
.float-like { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); color: white; }
.float-view { background: linear-gradient(135deg, #4ecdc4, #44a08d); color: white; }
.float-follow { background: linear-gradient(135deg, #a8e6cf, #7bc8a4); color: white; }

.float-icon:nth-child(1) { left: 5%; animation-duration: 18s; animation-delay: 0s; top: 100%; }
.float-icon:nth-child(2) { left: 15%; animation-duration: 22s; animation-delay: 2s; top: 100%; }
.float-icon:nth-child(3) { left: 25%; animation-duration: 16s; animation-delay: 4s; top: 100%; }
.float-icon:nth-child(4) { left: 35%; animation-duration: 20s; animation-delay: 1s; top: 100%; }
.float-icon:nth-child(5) { left: 50%; animation-duration: 19s; animation-delay: 3s; top: 100%; }
.float-icon:nth-child(6) { left: 65%; animation-duration: 21s; animation-delay: 5s; top: 100%; }
.float-icon:nth-child(7) { left: 75%; animation-duration: 17s; animation-delay: 2.5s; top: 100%; }
.float-icon:nth-child(8) { left: 85%; animation-duration: 23s; animation-delay: 1.5s; top: 100%; }
.float-icon:nth-child(9) { left: 10%; animation-duration: 20s; animation-delay: 7s; top: 100%; }
.float-icon:nth-child(10) { left: 45%; animation-duration: 18s; animation-delay: 6s; top: 100%; }
.float-icon:nth-child(11) { left: 60%; animation-duration: 24s; animation-delay: 8s; top: 100%; }
.float-icon:nth-child(12) { left: 90%; animation-duration: 19s; animation-delay: 4.5s; top: 100%; }
.float-icon:nth-child(13) { left: 20%; animation-duration: 21s; animation-delay: 9s; top: 100%; }
.float-icon:nth-child(14) { left: 55%; animation-duration: 17s; animation-delay: 11s; top: 100%; }
.float-icon:nth-child(15) { left: 80%; animation-duration: 25s; animation-delay: 13s; top: 100%; }
.float-icon:nth-child(16) { left: 30%; animation-duration: 19s; animation-delay: 10s; top: 100%; }
.float-icon:nth-child(17) { left: 70%; animation-duration: 22s; animation-delay: 12s; top: 100%; }
.float-icon:nth-child(18) { left: 40%; animation-duration: 20s; animation-delay: 14s; top: 100%; }

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  5% { opacity: 0.9; }
  95% { opacity: 0.9; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

.auth-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 0.5rem 1.25rem 1rem; position: relative; z-index: 1; gap: 0.5rem; }
.hero-title-section { text-align: center; margin-bottom: 0.75rem; position: relative; z-index: 2; }
.hero-logo-wrap { display: flex; align-items: center; justify-content: center; margin-bottom: 0.25rem; }
.hero-logo-img { max-height: 95px; width: auto; object-fit: contain; filter: drop-shadow(0 4px 15px rgba(11, 193, 92, 0.3)); }
.hero-subtitle { font-family: 'Clash Display', 'Inter', sans-serif; font-weight: 700; margin-top: 0.4rem; letter-spacing: -0.01em; color: #1a3c2a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; }
.hero-sub-line1 { font-size: clamp(1.8rem, 6.5vw, 3rem); font-weight: 800; line-height: 1.15; background: linear-gradient(135deg, #103b22 0%, #0bc15c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.02em; }
.hero-sub-line2 { font-size: clamp(1.35rem, 5vw, 2.2rem); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 0.45rem; line-height: 1.2; }
.flip-word-container { display: inline-block; height: 1.35em; overflow: hidden; vertical-align: middle; position: relative; }
.flip-word-track { display: flex; flex-direction: column; animation: flipRotateWords 8s cubic-bezier(0.77, 0, 0.175, 1) infinite; }
.flip-item { height: 1.35em; line-height: 1.35em; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-weight: 800; }
.flip-item.color-social { color: #0bc15c; text-shadow: 0 2px 10px rgba(11, 193, 92, 0.3); }
.flip-item.color-nadra { color: #ff4757; text-shadow: 0 2px 10px rgba(255, 71, 87, 0.3); }
.flip-item.color-online { color: #0088cc; text-shadow: 0 2px 10px rgba(0, 136, 204, 0.3); }
.flip-item.color-digital { color: #e6683c; text-shadow: 0 2px 10px rgba(230, 104, 60, 0.3); }

@keyframes flipRotateWords {
  0%, 18% { transform: translateY(0%); }
  25%, 43% { transform: translateY(-20%); }
  50%, 68% { transform: translateY(-40%); }
  75%, 93% { transform: translateY(-60%); }
  100% { transform: translateY(-80%); }
}

.auth-card { width: 100%; max-width: 420px; background: var(--bg-card); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255,255,255,0.5) inset; border: 1px solid rgba(255,255,255,0.8); position: relative; overflow: hidden; z-index: 2; margin-top: 0.5rem; }
.how-to-use-top { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%); color: #fff; padding: 0.5rem 1rem; border-radius: 50px; font-weight: 700; font-size: 0.8rem; text-decoration: none; margin-bottom: 1rem; box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3); transition: all 0.3s ease; border: none; cursor: pointer; font-family: inherit; }
.how-to-use-top:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4); color: #fff; }
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; background: var(--input-bg); padding: 0.35rem; border-radius: 50px; border: 1.5px solid var(--border); }
.auth-tab-btn { flex: 1; padding: 0.6rem 1rem; border-radius: 50px; border: none; background: transparent; color: var(--text-muted); font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: all 0.3s ease; font-family: inherit; }
.auth-tab-btn.active { background: linear-gradient(135deg, var(--primary) 0%, #0dbfa1 100%); color: #fff; box-shadow: 0 4px 15px rgba(11, 193, 92, 0.3); }
.auth-tab-btn:not(.active):hover { color: var(--primary); }

.form-group { margin-bottom: 0.85rem; }
label { display: block; font-size: 0.72rem; font-weight: 700; margin-bottom: 0.35rem; color: #1a3c2a; text-transform: uppercase; letter-spacing: 0.05em; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #0bc15c; font-size: 1rem; z-index: 2; }
.form-control { width: 100%; padding: 0.75rem 1rem 0.75rem 2.6rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: inherit; color: var(--text); background: var(--input-bg); transition: all 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 4px var(--primary-soft); }
.form-control::placeholder { color: #a0b8a8; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s; width: 100%; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #0dbfa1 100%); color: #ffffff; box-shadow: 0 8px 25px rgba(11, 193, 92, 0.3); font-size: 1rem; letter-spacing: 0.02em; }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 193, 92, 0.4); }
.btn-outline { background: #ffffff; color: var(--primary-dark); border: 2px solid var(--primary); font-size: 1rem; }
.btn-outline:hover:not(:disabled) { background: var(--primary-soft); }
.btn-new-user { background: linear-gradient(135deg, #1a3c2a 0%, #2d5a3d 100%); color: #ffffff; box-shadow: 0 8px 25px rgba(26, 60, 42, 0.3); font-size: 1rem; letter-spacing: 0.02em; margin-top: 0.5rem; }
.btn-new-user:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26, 60, 42, 0.4); }

.channel-section { width: 100%; max-width: 420px; margin-top: 0.75rem; text-align: center; display: flex; flex-direction: column; gap: 0.6rem; position: relative; z-index: 2; }
.channel-btn { display: flex; align-items: center; justify-content: center; gap: 0.6rem; color: #fff; padding: 0.75rem; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: 0.2s; font-size: 0.85rem; }
.channel-btn:hover { transform: translateY(-2px); color: #fff; }

.steps-section { width: 100%; max-width: 820px; margin: 0.5rem auto 0; padding: 0 1.25rem; position: relative; z-index: 1; }
.section-title { text-align: center; margin-bottom: 1.5rem; margin-top: 0.5rem; }
.section-title h2 { font-family: 'Clash Display', sans-serif; font-weight: 800; font-size: clamp(2rem, 6vw, 2.6rem); color: #1a3c2a; letter-spacing: -0.02em; line-height: 1.2; }
.section-title p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.35rem; }
.steps-article-container { display: flex; flex-direction: column; gap: 2rem; width: 100%; }
.step-card { width: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 2.25rem 2rem; text-align: center; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.step-card .step-img-wrap { width: 100%; max-width: 550px; min-height: 220px; max-height: 380px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #f0f7f3 0%, #e8f5e9 100%); position: relative; }
.step-card .step-img-wrap img { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.easypaisa-badge { position: absolute; bottom: 12px; right: 12px; background: #fff; border-radius: 8px; padding: 5px 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.12); display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; color: #1a3c2a; }
.easypaisa-badge img { width: 20px !important; height: 20px !important; object-fit: contain !important; }
.step-card h3 { font-size: 1.35rem; font-weight: 800; color: #1a3c2a; margin-bottom: 0.75rem; font-family: 'Clash Display', sans-serif; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; max-width: 680px; margin: 0 auto; }
.step-num { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--primary); letter-spacing: 0.12em; margin-bottom: 1rem; display: inline-block; background: var(--primary-soft); padding: 0.35rem 0.9rem; border-radius: 20px; }
.order-store-cta-wrap { width: 100%; display: flex; justify-content: center; margin-top: 2rem; }
.btn-order-store { display: inline-flex; align-items: center; justify-content: center; gap: 0.85rem; background: linear-gradient(135deg, #103b22 0%, #0bc15c 50%, #0dbfa1 100%); background-size: 200% auto; color: #ffffff; padding: 1.1rem 2.2rem; border-radius: 50px; font-family: 'Clash Display', 'Inter', sans-serif; font-weight: 700; font-size: clamp(1rem, 4vw, 1.25rem); border: none; cursor: pointer; box-shadow: 0 10px 30px rgba(11, 193, 92, 0.4), 0 2px 8px rgba(0,0,0,0.1); transition: all 0.35s ease; width: 100%; max-width: 480px; text-decoration: none; }
.btn-order-store:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 38px rgba(11, 193, 92, 0.5); background-position: right center; }
.whatsapp-fab { position: fixed; bottom: 2rem; right: 1.5rem; z-index: 999; display: flex; align-items: center; gap: 0.75rem; }
.whatsapp-fab-btn { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); transition: all 0.3s ease; text-decoration: none; position: relative; border: none; cursor: pointer; }
.whatsapp-fab-btn:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-fab-btn::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.3); animation: pulse-ring 2s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.whatsapp-chat-popup { position: fixed; bottom: 90px; right: 1.5rem; width: 330px; max-width: calc(100vw - 3rem); background: #fff; border-radius: 18px; box-shadow: 0 12px 45px rgba(0,0,0,0.22); z-index: 1000; overflow: hidden; display: none; flex-direction: column; animation: popupSlide 0.3s ease; }
.whatsapp-chat-popup.active { display: flex; }
@keyframes popupSlide { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.wa-chat-header { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); color: #fff; padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.75rem; }
.wa-chat-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.85); box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.wa-chat-header-info { display: flex; flex-direction: column; }
.wa-chat-header-info h4 { font-size: 0.95rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 4px; }
.wa-verified-badge { color: #1da1f2; font-size: 0.85rem; background: #ffffff; border-radius: 50%; }
.wa-chat-header-info span { font-size: 0.72rem; opacity: 0.9; }
.wa-chat-close { margin-left: auto; background: none; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; padding: 0.25rem; }
.wa-chat-body { padding: 1rem; background: #e5ddd5; min-height: 120px; max-height: 220px; overflow-y: auto; }
.wa-chat-bubble { background: #fff; padding: 0.65rem 0.85rem; border-radius: 8px 8px 8px 2px; font-size: 0.85rem; color: #1a2b22; max-width: 88%; box-shadow: 0 1px 2px rgba(0,0,0,0.08); margin-bottom: 0.5rem; line-height: 1.4; word-break: break-word; }
.wa-chat-bubble.sent { background: #dcf8c6; border-radius: 8px 8px 2px 8px; margin-left: auto; }
.typing-cursor { display: inline-block; width: 2px; height: 1em; background-color: #0bc15c; margin-left: 2px; vertical-align: middle; animation: blinkCursor 0.7s infinite; }
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.wa-chat-footer { padding: 0.6rem 0.75rem; background: #f0f0f0; display: flex; gap: 0.5rem; align-items: center; }
.wa-chat-input { flex: 1; border: none; border-radius: 20px; padding: 0.6rem 1rem; font-size: 0.9rem; font-family: inherit; outline: none; background: #fff; }
.wa-chat-send { width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: 0.2s; }
.wa-chat-send:hover { background: #128c7e; }
.whatsapp-tooltip { background: #1a3c2a; color: #fff; padding: 0.6rem 1rem; border-radius: 12px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 15px rgba(0,0,0,0.15); position: relative; opacity: 0; transform: translateX(10px); transition: all 0.4s ease; pointer-events: none; }
.whatsapp-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #1a3c2a; }
.whatsapp-tooltip.show { opacity: 1; transform: translateX(0); }
footer { width: 100%; background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding: 2.5rem 1.5rem; margin-top: 3.5rem; text-align: center; position: relative; z-index: 1; }
.footer-logo { margin-bottom: 1.5rem; }
.footer-logo img { max-height: 80px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.toast-container { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); text-align: center; z-index: 400; display: flex; flex-direction: column; gap: 0.5rem; width: min(92vw, 380px); }
.toast { font-family: 'Inter', sans-serif; padding: 1rem 1.25rem; border-radius: 12px; background: #1a2b22; color: #fff; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-12px); transition: all 0.3s; }
.toast.show { opacity: 1; transform: none; }
.toast-success { background: var(--primary-dark); }
.toast-error { background: #d93838; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .auth-card { padding: 1.25rem 1rem; } .hero-logo-img { max-height: 75px; } .float-icon { width: 36px; height: 36px; font-size: 1.1rem; } .whatsapp-fab { bottom: 1.5rem; right: 1rem; } .whatsapp-fab-btn { width: 50px; height: 50px; font-size: 1.4rem; } .step-card { padding: 1.5rem 1rem; } .step-card .step-img-wrap { min-height: 180px; } .whatsapp-chat-popup { width: calc(100vw - 2rem); right: 1rem; } }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: white; padding: 2.5rem; border-radius: 20px; width: 90%; max-width: 400px; text-align: center; box-shadow: var(--shadow-lg); animation: pop 0.3s ease; }
.modal-btns { display: grid; gap: 1rem; margin-top: 1.5rem; }
.modal-btn { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem; border-radius: 12px; font-weight: 700; text-decoration: none; transition: 0.2s; }
.modal-btn-wa { background: #25d366; color: white; }
.modal-btn:hover { transform: translateY(-2px); filter: brightness(1.1); color: white; }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
