/* ============================================
   WEBBOSS WEB APP STYLES
   Landing + production-oriented dashboard theme
   ============================================ */

:root {
  --bg-dark: #0b1220;
  --bg-canvas: #0f172a;
  --bg-card: #111827;
  --bg-card-hover: #172132;
  --bg-input: #0f1a2b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-light: rgba(255, 255, 255, 0.14);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-green: #00d084;
  --accent-blue: #2bb3ff;
  --accent-purple: #8b5cf6;
  --accent-orange: #ff7a45;
  --gradient-main: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  --font-main: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-panel: 0 12px 36px rgba(0,0,0,0.24);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-main); background: var(--bg-dark); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input { font-family: var(--font-main); }

/* Landing page visuals */
#particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.noise-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); }
.bg-grid { position: fixed; inset: 0; background-image: linear-gradient(rgba(0, 208, 132, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 179, 255, 0.02) 1px, transparent 1px); background-size: 80px 80px; pointer-events: none; z-index: 1; }
.bg-glow { position: fixed; border-radius: 50%; filter: blur(150px); pointer-events: none; z-index: 1; animation: float 25s ease-in-out infinite; }
.glow-1 { width: 700px; height: 700px; top: -250px; left: -150px; background: radial-gradient(circle, rgba(0, 208, 132, 0.08) 0%, transparent 70%); }
.glow-2 { width: 600px; height: 600px; top: 40%; right: -200px; background: radial-gradient(circle, rgba(43, 179, 255, 0.08) 0%, transparent 70%); animation-delay: -8s; }
.glow-3 { width: 500px; height: 500px; bottom: -150px; left: 35%; background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%); animation-delay: -15s; }
.glow-4 { width: 400px; height: 400px; top: 20%; right: 20%; background: radial-gradient(circle, rgba(0, 208, 132, 0.05) 0%, transparent 70%); animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 25% { transform: translate(40px, -40px) scale(1.08); } 50% { transform: translate(-30px, 30px) scale(0.95); } 75% { transform: translate(30px, 40px) scale(1.05); } }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 24px; background: rgba(8, 12, 20, 0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); transition: var(--transition-base); }
.navbar.scrolled { background: rgba(8, 12, 20, 0.98); box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4); }
.nav-container { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.scroll-progress { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; background: transparent; z-index: 10; }
.scroll-progress-bar { height: 100%; background: var(--gradient-main); transform-origin: left; transform: scaleX(0); transition: transform 0.1s linear; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-secondary); position: relative; padding: 8px 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient-main); transition: var(--transition-base); }
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; background: transparent; border: none; cursor: pointer; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition-fast); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; font-size: 14px; font-weight: 600; border-radius: var(--radius-md); border: none; cursor: pointer; transition: var(--transition-base); position: relative; overflow: hidden; }
.btn-primary-gradient { background: var(--gradient-main); color: #03110c; font-weight: 700; box-shadow: 0 4px 24px rgba(0, 208, 132, 0.22); }
.btn-primary-gradient:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0, 208, 132, 0.3); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color-light); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.22); color: var(--accent-green); }
.btn-large { padding: 15px 28px; font-size: 15px; }

.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 140px 24px 80px; max-width: 1280px; margin: 0 auto; z-index: 10; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(0, 208, 132, 0.08); border: 1px solid rgba(0, 208, 132, 0.2); border-radius: 100px; margin-bottom: 28px; font-size: 12px; font-weight: 600; color: var(--accent-green); font-family: var(--font-mono); letter-spacing: 0.05em; }
.live-dot { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.hero-title { font-family: var(--font-display); font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; }
.gradient-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-secondary); line-height: 1.8; max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.trust-text { font-size: 14px; color: var(--text-muted); }
.trust-text strong { color: var(--text-primary); }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-mockup { position: relative; width: 320px; height: 600px; background: linear-gradient(145deg, #1e2833, #0d1220); border-radius: 44px; padding: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 100px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.05); animation: floatPhone 8s ease-in-out infinite; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 140px; height: 32px; background: #0d1220; border-radius: 0 0 20px 20px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #0d1220, #111827); border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; }
.tg-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #111827; border-bottom: 1px solid var(--border-color); }
.tg-avatar { width: 44px; height: 44px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tg-info { display: flex; flex-direction: column; }
.tg-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.tg-status { font-size: 12px; color: var(--accent-green); }
.screen-content { flex: 1; padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.tg-message { display: flex; max-width: 88%; }
.tg-message.incoming { align-self: flex-start; }
.tg-message.outgoing { align-self: flex-end; flex-direction: row-reverse; }
.tg-message .message-bubble { padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.tg-message.incoming .message-bubble { background: #1a1f2e; color: var(--text-primary); border-bottom-left-radius: 4px; }
.tg-message.outgoing .message-bubble { background: var(--gradient-main); color: #000; border-bottom-right-radius: 4px; display: flex; align-items: center; gap: 8px; }
.message-text { margin-bottom: 4px; }
.otp-display { display: flex; gap: 8px; margin-top: 10px; }
.otp-digit { width: 36px; height: 44px; background: rgba(0, 208, 132, 0.1); border: 1px solid rgba(0, 208, 132, 0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--accent-green); }
.tg-action-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: rgba(0, 208, 132, 0.08); border: 1px solid rgba(0, 208, 132, 0.2); border-radius: 14px; margin-top: auto; }
.action-icon { width: 44px; height: 44px; background: rgba(0, 208, 132, 0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent-green); }
.tg-action-card span { font-size: 14px; font-weight: 600; color: var(--accent-green); }
.tg-input-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #1a1f2e; border-top: 1px solid var(--border-color); }
.tg-input { flex: 1; background: #0d1220; border: none; border-radius: 20px; padding: 12px 18px; font-size: 14px; color: var(--text-primary); }
.tg-send-btn { width: 44px; height: 44px; background: var(--gradient-main); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #000; }
@keyframes floatPhone { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-25px) rotate(1.5deg); } }
.floating-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: rgba(13, 18, 32, 0.95); backdrop-filter: blur(12px); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; color: var(--text-primary); z-index: 5; }
.badge-1 { top: 15%; left: -30px; }
.badge-1 svg { color: var(--accent-green); }
.badge-2 { bottom: 20%; right: -30px; }
.badge-2 svg { color: var(--accent-blue); }

.stats-section, .features-section, .steps-section, .pricing-section, .faq-section, .footer { position: relative; z-index: 10; }
.stats-section { padding: 80px 24px; background: rgba(255, 255, 255, 0.01); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.stats-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-mono); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; margin-bottom: 10px; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; background: linear-gradient(180deg, transparent, var(--border-color-light), transparent); }

.section-container { max-width: 1200px; margin: 0 auto; padding: 100px 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--accent-green); margin-bottom: 16px; padding: 8px 18px; background: rgba(0, 208, 132, 0.08); border: 1px solid rgba(0, 208, 132, 0.15); border-radius: 100px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-description { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.75; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { display: flex; gap: 24px; padding: 36px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); transition: var(--transition-base); position: relative; overflow: hidden; }
.feature-card-large { grid-column: span 2; background: linear-gradient(135deg, var(--bg-card), rgba(0, 208, 132, 0.02)); }
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-color-light); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.feature-icon { width: 60px; height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 208, 132, 0.08); border: 1px solid rgba(0, 208, 132, 0.15); border-radius: var(--radius-lg); color: var(--accent-green); }
.feature-title { font-size: 20px; font-weight: 600; }
.feature-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; padding: 4px 10px; background: rgba(0, 208, 132, 0.1); color: var(--accent-green); border-radius: 100px; }
.feature-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.feature-description { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.feature-stats { display: flex; gap: 40px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.feature-stat { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--accent-green); }
.stat-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.feature-decoration { position: absolute; right: -60px; bottom: -60px; pointer-events: none; }
.decoration-ring { position: absolute; border: 1px solid rgba(0, 208, 132, 0.06); border-radius: 50%; }
.ring-1 { width: 220px; height: 220px; animation: spin 40s linear infinite; }
.ring-2 { width: 160px; height: 160px; top: 30px; left: 30px; animation: spin 25s linear infinite reverse; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.steps-section { background: rgba(255, 255, 255, 0.01); }
.steps-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps-line { position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-blue) 33%, var(--accent-purple) 66%, var(--accent-orange) 100%); opacity: 0.25; }
.step-card { text-align: center; position: relative; }
.step-number { width: 56px; height: 56px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background: rgba(0, 208, 132, 0.08); border: 1px solid rgba(0, 208, 132, 0.2); border-radius: 50%; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent-green); }
.step-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step-description { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.step-icon { width: 48px; height: 48px; margin: 16px auto 0; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--accent-blue); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 32px 24px; position: relative; transition: var(--transition-base); overflow: hidden; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-gradient); opacity: 0.5; transition: var(--transition-base); }
.pricing-card.featured { background: linear-gradient(160deg, #130c22 0%, #0d1220 60%); border-color: var(--card-color); box-shadow: 0 0 40px var(--card-glow), 0 16px 48px rgba(0, 0, 0, 0.3); transform: scale(1.03); }
.pricing-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 8px 24px; background: var(--card-gradient); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: white; border-radius: 0 0 var(--radius-md) var(--radius-md); }
.pricing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-top: 24px; }
.pricing-name { font-size: 24px; font-weight: 700; }
.pricing-proxy-count { font-family: var(--font-mono); font-size: 13px; color: var(--card-color); margin-bottom: 14px; }
.pricing-price { display: flex; align-items: baseline; margin-bottom: 6px; }
.currency { font-size: 22px; font-weight: 600; color: var(--text-primary); }
.amount { font-family: var(--font-mono); font-size: 40px; font-weight: 700; color: var(--text-primary); }
.pricing-per { font-size: 12px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-secondary); padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { color: var(--card-color); flex-shrink: 0; }
.btn-pricing { width: 100%; padding: 14px 24px; background: var(--card-secondary); border: 1px solid var(--card-color); color: var(--card-color); font-weight: 600; border-radius: var(--radius-md); transition: var(--transition-base); cursor: pointer; }
.pricing-card[data-tier="homeboy"] { --card-color: #2bb3ff; --card-gradient: linear-gradient(135deg, #2bb3ff, #0f8dd1); --card-secondary: rgba(43, 179, 255, 0.1); --card-glow: rgba(43, 179, 255, 0.15); }
.pricing-card[data-tier="oga"] { --card-color: #00d084; --card-gradient: linear-gradient(135deg, #00d084, #2bb3ff); --card-secondary: rgba(0, 208, 132, 0.1); --card-glow: rgba(0, 208, 132, 0.15); }
.pricing-card[data-tier="chairman"] { --card-color: #8b5cf6; --card-gradient: linear-gradient(135deg, #8b5cf6, #7c3aed); --card-secondary: rgba(139, 92, 246, 0.12); --card-glow: rgba(139, 92, 246, 0.2); }
.pricing-card[data-tier="don"] { --card-color: #ff7a45; --card-gradient: linear-gradient(135deg, #ff7a45, #ff935f); --card-secondary: rgba(255, 122, 69, 0.1); --card-glow: rgba(255, 122, 69, 0.15); }

.faq-section { background: rgba(255, 255, 255, 0.01); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition-base); }
.faq-item.active { border-color: rgba(0, 208, 132, 0.3); box-shadow: 0 0 20px rgba(0, 208, 132, 0.08); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text-primary); }
.faq-icon { transition: var(--transition-base); color: var(--text-muted); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--accent-green); }
.faq-answer { max-height: 0; overflow: hidden; transition: var(--transition-base); }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 28px 24px; font-size: 14px; color: var(--text-secondary); line-height: 1.75; }

.footer { padding: 56px 24px 40px; border-top: 1px solid var(--border-color); background: rgba(8, 12, 20, 0.86); }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 56px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid var(--border-color); }
.copyright { font-size: 13px; color: var(--text-muted); }
.footer-secure { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.footer-secure svg { color: var(--accent-green); }

[data-animate] { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }

/* Production web-app dashboard overrides */
.dashboard-app-body {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
}

.app-shell-webapp {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.app-shell-webapp .topbar,
.app-shell-webapp .tabs,
.app-shell-webapp .card,
.app-shell-webapp .subpanel {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.app-shell-webapp .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  margin-bottom: 16px;
}

.app-shell-webapp .topbar h1 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 6px 0 4px;
}

.app-shell-webapp .topbar p,
.app-shell-webapp .card p,
.app-shell-webapp .muted-note,
.app-shell-webapp .list-item p {
  color: var(--text-muted);
}

.app-shell-webapp .eyebrow {
  color: var(--accent-green);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.app-shell-webapp .pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(0, 208, 132, 0.18);
  color: var(--accent-green);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.app-shell-webapp .tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  margin-bottom: 16px;
}

.app-shell-webapp .tab {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.app-shell-webapp .tab:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.app-shell-webapp .tab.active {
  background: rgba(0, 208, 132, 0.12);
  color: var(--accent-green);
  border-color: rgba(0, 208, 132, 0.16);
}

.app-shell-webapp .stats-grid,
.app-shell-webapp .grid,
.app-shell-webapp .two-up {
  display: grid;
  gap: 16px;
}

.app-shell-webapp .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.app-shell-webapp .two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-shell-webapp .stat-card {
  padding: 18px;
}

.app-shell-webapp .stat-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.app-shell-webapp .stat-card strong {
  font-size: 1.55rem;
  line-height: 1.15;
}

.app-shell-webapp .card {
  padding: 20px;
}

.app-shell-webapp .card h2,
.app-shell-webapp .subpanel h3 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.app-shell-webapp .list-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.app-shell-webapp .list-item:first-of-type {
  border-top: 0;
}

.app-shell-webapp .amount {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.app-shell-webapp .amount.green {
  color: var(--accent-green);
}

.app-shell-webapp .hero-card.compact h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.app-shell-webapp .fund-box,
.app-shell-webapp .search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.app-shell-webapp .fund-box input,
.app-shell-webapp .search-form input {
  flex: 1;
  min-width: 200px;
  background: #0f1a2b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.app-shell-webapp .fund-box input:focus,
.app-shell-webapp .search-form input:focus {
  border-color: rgba(0, 208, 132, 0.28);
  box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.08);
}

.app-shell-webapp .buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 16px;
  background: var(--gradient-main);
  color: #04110a;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.app-shell-webapp .buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 208, 132, 0.16);
}

.app-shell-webapp .buy-btn.danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.app-shell-webapp .feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.app-shell-webapp .feedback.success {
  background: rgba(0, 208, 132, 0.08);
  color: #bbf7d0;
  border-color: rgba(0, 208, 132, 0.18);
}

.app-shell-webapp .feedback.error {
  background: rgba(239, 68, 68, 0.08);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.18);
}

.app-shell-webapp .proxy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.app-shell-webapp .subpanel {
  padding: 18px;
  margin: 16px 0;
}

.app-shell-webapp .subpanel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.app-shell-webapp .active-otp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-shell-webapp code {
  color: var(--accent-green);
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 60px; text-align: center; padding-top: 180px; }
  .hero-content { align-items: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 280px; height: 540px; }
  .floating-badge { display: none; }
  .stats-container, .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: span 1; }
  .steps-container { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .steps-line { display: none; }
  .app-shell-webapp .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell-webapp .two-up { grid-template-columns: 1fr; }
}

.app-shell-webapp .mini-hero-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px;
  background: linear-gradient(135deg, rgba(53,35,122,0.95), rgba(16,22,46,0.98));
}

.app-shell-webapp .mini-hero-copy h2 {
  font-size: 1.7rem;
  margin: 6px 0 8px;
}

.app-shell-webapp .mini-hero-copy p {
  max-width: 480px;
}

.app-shell-webapp .mini-hero-badge {
  min-width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #dbeafe;
  font-weight: 700;
}

.app-shell-webapp .mini-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.app-shell-webapp .mini-stat-card {
  padding: 18px;
}

.app-shell-webapp .mini-stat-card span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.app-shell-webapp .mini-stat-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.15;
  margin-bottom: 4px;
}

.app-shell-webapp .mini-stat-card small {
  color: var(--text-muted);
  font-size: 12px;
}

.app-shell-webapp .quick-actions-card {
  margin-bottom: 16px;
}

.app-shell-webapp .quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.app-shell-webapp .quick-action-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 110px;
  padding: 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  justify-content: flex-end;
}

.app-shell-webapp .quick-action-tile strong {
  font-size: 15px;
}

.app-shell-webapp .quick-action-tile span {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}

.app-shell-webapp .quick-otp { background: linear-gradient(180deg, rgba(36,79,51,0.95), rgba(20,41,32,0.98)); }
.app-shell-webapp .quick-proxy { background: linear-gradient(180deg, rgba(64,42,107,0.95), rgba(28,23,49,0.98)); }
.app-shell-webapp .quick-wallet { background: linear-gradient(180deg, rgba(28,66,116,0.95), rgba(18,32,54,0.98)); }
.app-shell-webapp .quick-ref { background: linear-gradient(180deg, rgba(94,57,23,0.95), rgba(46,29,15,0.98)); }

.app-shell-webapp .mini-dashboard-panels {
  margin-top: 0;
}

.app-shell-webapp .section-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.app-shell-webapp .section-link {
  color: var(--accent-blue);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero { padding: 120px 20px 80px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 20px 24px; background: rgba(8, 12, 20, 0.98); border-bottom: 1px solid var(--border-color); gap: 16px; }
  .nav-links.active { display: flex; }
  .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-large { width: 100%; }
  .phone-mockup { width: 240px; height: 480px; }
  .otp-digit { width: 32px; height: 40px; font-size: 18px; }
  .section-container { padding: 80px 20px; }
  .stats-container, .pricing-grid, .steps-container { grid-template-columns: 1fr; }
  .feature-card { flex-direction: column; padding: 28px; }
  .feature-stats { flex-direction: column; gap: 20px; }
  .footer { padding: 48px 20px 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

  .app-shell-webapp { padding: 14px; }
  .app-shell-webapp .topbar { flex-direction: column; align-items: flex-start; padding: 16px; }
  .app-shell-webapp .pill { width: 100%; justify-content: flex-start; }
  .app-shell-webapp .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell-webapp .tab { text-align: center; }
  .app-shell-webapp .stats-grid,
  .app-shell-webapp .two-up,
  .app-shell-webapp .mini-stats-grid,
  .app-shell-webapp .quick-actions-grid { grid-template-columns: 1fr; }
  .app-shell-webapp .card { padding: 16px; }
  .app-shell-webapp .mini-hero-card,
  .app-shell-webapp .list-item,
  .app-shell-webapp .list-item.tall,
  .app-shell-webapp .proxy-row,
  .app-shell-webapp .otp-row,
  .app-shell-webapp .otp-live-row { flex-direction: column; align-items: flex-start; }
  .app-shell-webapp .proxy-actions { width: 100%; align-items: stretch; }
  .app-shell-webapp .buy-btn,
  .app-shell-webapp .fund-box input,
  .app-shell-webapp .search-form input { width: 100%; }
  .app-shell-webapp .fund-box,
  .app-shell-webapp .search-form { flex-direction: column; }
}
