

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

section[id] {
  scroll-margin-top: 100px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

body {
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
}

.wrapper {
  margin-top: 0;
  padding: 120px 20px 40px;
  min-height: auto;
  justify-content: flex-start;
  overflow: visible;
}

.logo-area {
  justify-content: center;
}

.hidden {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, .3);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, .4);
}

.btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 24px;
  padding-top: max(12px, env(safe-area-inset-top, 12px));
  background: rgba(6, 6, 14, .6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(6, 6, 14, .92);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 48px;
}

.nav-logo,
.nav-actions {
  flex: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  padding: 4px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.nav-links a.active {
  color: #fff;
  background: rgba(99, 102, 241, .2);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.btn-nav {
  padding: 8px 18px;
  font-size: 13px;
  width: auto;
  border-radius: 10px;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 12px;
  right: 12px;
  background: rgba(10, 10, 20, .95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 12px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all .2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #fff;
  background: rgba(99, 102, 241, .1);
}

.mobile-menu .btn {
  margin-top: 8px;
  text-align: center;
}

.homepage-wrapper {
  padding: 100px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: visible;
  height: auto;
  min-height: auto;
  justify-content: flex-start;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
  margin-bottom: 140px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--accent-light);
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.hero-headline {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light) 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-dim);
}

.trust-divider {
  color: rgba(255, 255, 255, .15);
  font-size: 18px;
}

.hero-chains {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-chains img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  opacity: .6;
  filter: grayscale(30%);
  transition: all .2s;
}

.hero-chains img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
}

.hero-chains-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-left: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, .3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.phone-mockup-wrapper {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.phone-screenshot {
  width: 300px;
  height: auto;
  border-radius: 40px;
  box-shadow: 
    0 60px 120px rgba(0,0,0,.6),
    0 0 0 8px rgba(30, 30, 40, .8),
    0 0 0 10px rgba(255,255,255,.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.chains-section {
  text-align: center;
  margin-bottom: 100px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.chains-label {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.chains-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.chains-logos img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  opacity: .7;
  transition: all .2s;
  filter: grayscale(30%);
}

.chains-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.features-section {
  margin-bottom: 140px;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 100px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 48px;
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(10, 10, 20, .6);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all .3s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-6px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .2) 0%, rgba(168, 85, 247, .2) 100%);
  border: 1px solid rgba(99, 102, 241, .3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-light);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* How It Works */
.how-it-works-section {
  margin-bottom: 140px;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 100px;
}

.steps-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 240px;
  position: relative;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .15) 0%, rgba(168, 85, 247, .15) 100%);
  border: 1px solid rgba(99, 102, 241, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 20px;
  transition: all .3s;
  position: relative;
  z-index: 2;
}

.step:hover .step-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, .3) 0%, rgba(168, 85, 247, .3) 100%);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-4px) scale(1.05);
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 22px;
  flex-shrink: 0;
  opacity: .5;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-light);
  font-weight: 600;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.step p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

.cta-section {
  width: 100%;
  max-width: 600px;
}

.cta-card {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 60px var(--accent-glow);
}

.cta-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.cta-card p {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.dashboard-wrapper {
  min-height: calc(100vh - 60px);
  justify-content: center;
}

.dashboard-login-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.dashboard-login-page .wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 0;
  min-height: 0;
  overflow: hidden;
}

.dashboard-login-page .auth-card {
  margin: 0;
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
}

.dashboard-login-page .status-bar {
  flex-shrink: 0;
}

.dashboard-logged-in {
  height: auto;
  overflow-y: auto;
}

.dashboard-logged-in .wrapper {
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: visible;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(10, 10, 20, .9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 100px var(--accent-glow);
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.auth-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-dim);
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1.5px;
  text-align: center;
  outline: none;
  transition: border-color .2s;
  text-transform: uppercase;
}

.form-input::placeholder {
  color: rgba(255,255,255,.2);
  letter-spacing: 1px;
  text-transform: none;
}

.form-input:focus {
  border-color: rgba(99, 102, 241, .5);
}

.form-input.error {
  border-color: #ef4444;
  animation: shake .4s ease;
}

.form-input.success {
  border-color: #22c55e;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.form-message {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  min-height: 20px;
}

.form-message.error {
  color: #ef4444;
}

.form-message.success {
  color: #22c55e;
}

.form-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

.form-footer a {
  color: var(--accent-light);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

.auth-card .btn {
  width: 100%;
}

.dashboard-content {
  width: 100%;
  max-width: 800px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-header h2 {
  font-size: 24px;
  font-weight: 700;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(99, 102, 241, .12);
  color: var(--accent-light);
  border: 1px solid rgba(99, 102, 241, .2);
}

.plan-badge.pro {
  background: rgba(168, 85, 247, .12);
  color: #c084fc;
  border-color: rgba(168, 85, 247, .2);
}

.plan-badge.business {
  background: rgba(234, 179, 8, .12);
  color: #fbbf24;
  border-color: rgba(234, 179, 8, .2);
}

/* Stat Cards Grid */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.dash-card {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(20px);
}

.dash-card-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, .08);
  border: 1px solid rgba(99, 102, 241, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}

.dash-card-icon.status-icon {
  background: rgba(34, 197, 94, .08);
  border-color: rgba(34, 197, 94, .15);
}

.dash-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dash-card-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
}

.dash-card-value {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pulse Dot */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  display: block;
  position: relative;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .3);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.pulse-dot.inactive {
  background: var(--text-dim);
}

.pulse-dot.inactive::before {
  display: none;
}

.status-active {
  color: #22c55e;
}

.status-expired {
  color: #ef4444;
}

.status-unused {
  color: var(--text-dim);
}

/* Time Card with Progress Bar */
.time-card {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(20px);
}

.time-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.time-card-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.time-card-countdown {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
}

.time-card-countdown.warning {
  color: #f59e0b;
}

.time-card-countdown.critical {
  color: #ef4444;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, .04);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width .6s ease;
  min-width: 2%;
}

.progress-bar-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.progress-bar-fill.critical {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Key Card */
.key-card {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(20px);
}

.key-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.key-card-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.key-toggle {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--text-dim);
  transition: all .2s;
  display: flex;
  align-items: center;
}

.key-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.key-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--accent-light);
  letter-spacing: 1px;
  display: block;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.action-card {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  color: var(--text);
}

.action-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-3px);
}

.action-card svg {
  color: var(--accent-light);
  margin-bottom: 10px;
}

.action-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 600;
}

.action-card p {
  font-size: 11px;
  color: var(--text-dim);
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-subtitle {
  color: var(--text-dim);
  font-size: 15px;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color .2s;
}

.toggle-label.active {
  color: #fff;
  font-weight: 600;
}

.toggle-switch {
  width: 56px;
  height: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: all .3s;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform .3s;
  box-shadow: 0 2px 8px rgba(99, 102, 241, .4);
}

.toggle-switch.yearly::after {
  transform: translateX(28px);
}

.save-badge {
  background: rgba(34, 197, 94, .15);
  color: #22c55e;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-section {
  margin-bottom: 140px;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all .3s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 60px var(--accent-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.price-currency {
  font-size: 20px;
  color: var(--text-dim);
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
}

.price-period {
  font-size: 14px;
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  width: 100%;
  text-align: left;
}

.pricing-card .btn {
  width: 100%;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li svg {
  color: #22c55e;
  flex-shrink: 0;
}

.instruction-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.instruction-page .wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 0;
  min-height: 0;
  overflow: hidden;
}

.instruction-page .terminal {
  max-height: calc(100vh - 280px);
  max-height: calc(100dvh - 280px);
  overflow-y: auto;
}

.instruction-page .status-bar {
  flex-shrink: 0;
}

.preview-section {
  margin-bottom: 80px;
  width: 100%;
  max-width: 900px;
}

.phone-mockup {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 50px 100px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.1),
    inset 0 1px 0 rgba(255,255,255,.1);
  position: relative;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform .3s;
}

.phone-frame:hover {
  transform: rotateY(0) rotateX(0);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #111 0%, #1a1a2e 100%);
  border-radius: 32px;
  overflow: hidden;
  padding: 48px 16px 16px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.app-header .app-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.app-header span {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.app-balance {
  background: linear-gradient(135deg, rgba(99, 102, 241, .2) 0%, rgba(139, 92, 246, .2) 100%);
  border: 1px solid rgba(99, 102, 241, .3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.balance-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.balance-amount {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.balance-change {
  font-size: 12px;
  font-weight: 600;
}

.balance-change.positive {
  color: #22c55e;
}

.app-tokens {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.token-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 12px;
}

.token-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.token-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.token-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.token-amount {
  font-size: 11px;
  color: var(--text-dim);
}

.token-value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.stats-section {
  margin-bottom: 80px;
  width: 100%;
  max-width: 900px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(20px);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
}

.faq-section {
  margin-bottom: 120px;
  width: 100%;
  max-width: 700px;
  scroll-margin-top: 100px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(10, 10, 20, .8);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: border-color .2s;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, .3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
}

.faq-question svg {
  color: var(--text-dim);
  transition: transform .2s;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.reviews-section {
  margin-bottom: 100px;
  width: 100%;
  max-width: 1100px;
  scroll-margin-top: 100px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.review-card {
  background: rgba(10, 10, 20, .6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: border-color .3s, transform .3s;
}

.review-card:hover {
  border-color: rgba(99, 102, 241, .3);
  transform: translateY(-4px);
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.review-role {
  font-size: 12px;
  color: var(--text-dim);
}

.footer {
  width: 100%;
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* Modern Site Footer */
.site-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(6, 6, 14, .6);
  backdrop-filter: blur(20px);
  margin-top: 40px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 280px;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  color: var(--text-dim);
  transition: all .2s;
}

.footer-socials a:hover {
  background: rgba(99, 102, 241, .15);
  border-color: rgba(99, 102, 241, .3);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-status .status-dot {
  position: relative;
  display: inline-block;
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-logo { flex: unset; }
  .mobile-menu { top: 60px; }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    max-width: 600px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-chains {
    justify-content: center;
  }
  
  .hero-headline {
    font-size: 44px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .phone-frame {
    width: 260px;
    height: 540px;
  }
}

@media (max-width: 768px) {
  .nav { padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top, 8px)); }
  .nav-container { min-height: 36px; padding: 0 8px; }
  .nav-logo { font-size: 15px; gap: 6px; }
  .nav-logo img { width: 26px; height: 26px; }
  .mobile-menu { top: 52px; }
  
  .wrapper { padding: 80px 16px 40px; }
  
  .dashboard-login-page .wrapper { padding-top: 60px; padding-bottom: 0; }
  
  .instruction-page .wrapper { padding-top: 50px; padding-bottom: 0; }
  .instruction-page .logo-area { margin-bottom: 8px; }
  .instruction-page .logo-area img { width: 40px; height: 40px; }
  .instruction-page .logo-area h1 { font-size: 20px; }
  .instruction-page .tagline { font-size: 12px; margin-bottom: 12px; }
  .instruction-page .terminal { max-height: calc(100dvh - 200px); }
  .instruction-page .terminal-body { padding: 12px; }
  .instruction-page .step-item { padding: 10px 0; }
  .instruction-page .step-marker { width: 28px; height: 28px; font-size: 10px; }
  .instruction-page .step-name { font-size: 13px; }
  .instruction-page .step-detail { font-size: 11px; }
  .instruction-page .note { font-size: 11px; padding: 10px; margin-top: 12px; }
  .instruction-page .switcher { margin-bottom: 12px; }
  .instruction-page .switch-btn { padding: 8px 16px; font-size: 12px; }
  
  .dashboard-logged-in .wrapper { padding-top: 80px; padding-bottom: 60px; }
  .homepage-wrapper { padding: 100px 20px 40px; }
  .logo-area { margin-bottom: 16px; }
  
  .hero-split { 
    min-height: auto;
    margin-bottom: 60px;
  }
  .hero-headline { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hero-trust-badges { justify-content: center; text-align: center; }
  .trust-divider { display: none; }
  .hero-chains { justify-content: center; }
  .hero-chains-label { width: 100%; text-align: center; margin-left: 0; }
  
  .phone-frame {
    width: 220px;
    height: 460px;
    animation: none;
  }
  .balance-amount { font-size: 24px; }
  .token-item { padding: 10px; }
  .token-item img { width: 32px; height: 32px; }
  
  .chains-section { margin-bottom: 60px; }
  .chains-logos { gap: 24px; }
  .chains-logos img { width: 36px; height: 36px; }
  
  .features-section { margin-bottom: 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }

  .how-it-works-section { margin-bottom: 60px; }
  .steps-timeline { 
    flex-direction: column; 
    align-items: center;
    gap: 8px;
  }
  .step { max-width: 100%; flex-direction: row; text-align: left; gap: 20px; }
  .step-info { align-items: flex-start; }
  .step p { margin: 0; }
  .step-connector { 
    transform: rotate(90deg); 
    padding-top: 0;
  }
  
  .faq-section { margin-bottom: 60px; }
  .faq-question { font-size: 14px; padding: 14px 16px; }
  
  .reviews-section { margin-bottom: 60px; }
  .reviews-grid { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .review-card { padding: 20px; }
  .review-text { font-size: 13px; margin-bottom: 16px; }
  .review-avatar { width: 34px; height: 34px; font-size: 14px; }
  .review-name { font-size: 13px; }
  .review-role { font-size: 11px; }
  
  .cta-card { padding: 32px 24px; }
  .cta-card h2 { font-size: 24px; }
  
  .auth-card { padding: 32px 24px; }
  .dashboard-header { flex-direction: column; align-items: flex-start; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  
  .pricing-section { margin-bottom: 60px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 28px; }
  .price-amount { font-size: 36px; }

  /* Footer responsive */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-container {
    padding: 40px 20px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .mobile-menu { top: 60px; }
}

@media (max-width: 480px) {
  .dash-grid { grid-template-columns: 1fr; }
  .key-display { font-size: 14px; }
}
