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

:root {
  --blue-900: #021c31;
  --blue-700: #0838c7;
  --blue-500: #1d81d3;
  --blue-400: #3c7cf3;
  --blue-100: #eef3f9;
  --text: #03214f;
  --text-muted: rgba(3, 33, 79, 0.65);
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #1d81d3 0%, #0838c7 100%);
  --shadow: 0 20px 60px rgba(8, 56, 199, 0.18);
  --radius: 16px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 70, 179, 0.08);
}

.site-header.scrolled .nav a { color: var(--blue-900); }
.site-header.scrolled .nav a:hover { color: var(--blue-500); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  width: 150px;
  height: 36px;
  background: url('../images/logo1.png') no-repeat center / contain;
  transition: background-image var(--transition);
}

.site-header.scrolled .logo-img {
  background-image: url('../images/logo2.png');
}

.logo-suffix {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.site-header.scrolled .logo-suffix {
  color: var(--blue-900);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover { color: var(--white); }

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}

.site-header.scrolled .menu-toggle span { background: var(--blue-900); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 99;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
}

.mobile-nav[hidden] { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }

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

.site-header .btn-sm.btn-primary {
  background: var(--blue-400);
  color: var(--white);
}

.site-header.scrolled .btn-sm.btn-primary {
  background: var(--gradient);
}

/* Scroll dots */
.scroll-dots {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scroll-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--blue-500);
  opacity: 0.2;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  padding: 0;
}

.scroll-dots button.active {
  opacity: 1;
  transform: scale(1.2);
}

.scroll-dots button:hover { opacity: 0.6; }

/* Sections */
.section {
  position: relative;
}

.section.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.steps-section,
.cta-section,
.faq-section {
  padding: 80px 0;
}

.hero {
  background: var(--gradient);
  color: var(--white);
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: #4da3ff;
  top: -100px;
  right: -50px;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #0a2a8a;
  bottom: 20%;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: #fff;
  top: 40%;
  left: 30%;
  opacity: 0.08;
  animation: float 6s ease-in-out infinite 1s;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  min-width: 0;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 100%;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  background: linear-gradient(90deg, #fff 0%, #b8d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  opacity: 0.88;
  margin: 0 0 24px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.hero-features li {
  display: inline;
}

.hero-features li:not(:last-child)::after {
  content: '·';
  margin: 0 0.65em;
  opacity: 0.45;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
}

/* Hero — crypto card scene */
.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  overflow: hidden;
}

.hero-showcase {
  position: relative;
  width: min(100%, 420px);
  height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.45s ease-out;
}

.card-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-hero {
  position: absolute;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}

.card-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.card-hero--main {
  top: 40px;
  left: 50%;
  width: min(100%, 340px);
  z-index: 2;
  transform: translateX(-50%) rotate(-4deg);
  box-shadow:
    0 40px 80px rgba(2, 28, 49, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: cardEnter 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card-hero--ghost {
  top: 56px;
  left: 50%;
  width: min(100%, 340px);
  z-index: 1;
  opacity: 0.3;
  transform: translateX(-50%) rotate(-8deg) scale(0.97);
  filter: blur(1px);
  animation: cardEnterGhost 1s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.showcase-orb {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.showcase-orb-sm {
  width: 72px;
  height: 72px;
  top: 20px;
  right: 40px;
  background-image: url('../images/page0-ball3.svg');
  z-index: 0;
  animation: orbFloat 4s ease-in-out infinite 1.5s;
}

.showcase-orb-lg {
  width: 200px;
  height: 200px;
  bottom: -30px;
  left: -40px;
  background-image: url('../images/page0-ball5.svg');
  z-index: 0;
  opacity: 0.85;
  animation: orbFloat 5s ease-in-out infinite;
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateX(-50%) rotate(-4deg) translateY(40px); }
  to { opacity: 1; transform: translateX(-50%) rotate(-4deg) translateY(0); }
}

@keyframes cardEnterGhost {
  from { opacity: 0; transform: translateX(-50%) rotate(-8deg) scale(0.97) translateY(40px); }
  to { opacity: 0.3; transform: translateX(-50%) rotate(-8deg) scale(0.97) translateY(0); }
}

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

/* Stats bar — TronLink Web3 */
.stats-bar {
  margin-top: auto;
  background: linear-gradient(180deg, rgba(2, 28, 49, 0.72) 0%, rgba(1, 15, 26, 0.88) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 124, 243, 0.55), transparent);
  pointer-events: none;
}

.stats-grid {
  display: flex;
  align-items: stretch;
  min-height: 132px;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  color: rgba(255, 255, 255, 0.68);
  position: relative;
  text-align: center;
}

.stat:first-child {
  align-items: flex-start;
  text-align: left;
  padding-left: 0;
}

.stat:last-child {
  align-items: flex-end;
  text-align: right;
  padding-right: 0;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.stat-value {
  display: block;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #a8cfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Steps — TronLink Web3 */
.steps-section {
  background: linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
  padding: 88px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 12px;
}

.section-head h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(19, 93, 205, 0.15) 20%, rgba(19, 93, 205, 0.15) 80%, transparent);
  pointer-events: none;
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid rgba(19, 93, 205, 0.1);
  border-radius: 20px;
  padding: 32px 28px 36px;
  box-shadow: 0 14px 60px rgba(5, 77, 136, 0.08);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 93, 205, 0.25);
  box-shadow: 0 20px 50px rgba(8, 56, 199, 0.14);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(8, 56, 199, 0.25);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue-900);
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-text h2,
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-list li strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}

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

.icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icon-shield::before,
.icon-lock::before,
.icon-verify::before,
.icon-globe::before,
.icon-link::before,
.icon-wallet::before {
  content: '';
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d81d3' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.icon-lock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d81d3' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E"); }
.icon-verify::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d81d3' stroke-width='2'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E"); }
.icon-globe::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d81d3' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 010 20M12 2a15 15 0 000 20'/%3E%3C/svg%3E"); }
.icon-link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d81d3' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }
.icon-wallet::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d81d3' stroke-width='2'%3E%3Cpath d='M19 7V4a1 1 0 00-1-1H5a2 2 0 000 4h15a1 1 0 011 1v4h-3a2 2 0 000 4h3a1 1 0 001-1v-2a1 1 0 00-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 002 2h15a1 1 0 001-1v-4'/%3E%3C/svg%3E"); }

/* Shield graphic */
.shield-graphic {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(29, 129, 211, 0.15);
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}

.ring-2 {
  width: 75%;
  height: 75%;
  animation: spin 15s linear infinite reverse;
}

.shield-core {
  width: 120px;
  height: 120px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow);
}

.shield-core svg { width: 56px; height: 56px; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Chain orbit */
.chain-orbit {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  position: relative;
}

.chain-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
  z-index: 2;
}

.chain-node {
  position: absolute;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-700);
  box-shadow: 0 8px 24px rgba(8, 56, 199, 0.12);
  animation: orbitPulse 3s ease-in-out infinite;
}

.node-1 { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.5s; }
.node-3 { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes orbitPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}

.node-2 { animation-name: orbitPulse2; }
.node-4 { animation-name: orbitPulse2; }

@keyframes orbitPulse2 {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.05); }
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: var(--gradient);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content > p {
  opacity: 0.9;
  margin-bottom: 28px;
}

.order-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.order-form input {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.order-form .btn-primary {
  background: var(--blue-900);
  color: var(--white);
}

.form-note {
  font-size: 0.8rem;
  opacity: 0.7;
}

.cta-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mini-card {
  width: 220px;
  height: auto;
  border-radius: 14px;
  transform: rotate(-12deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* FAQ */
.faq-section {
  padding: 80px 0 100px;
  background: var(--blue-100);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue-900);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue-500);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer — TronLink Web3 */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #021c31 0%, #010a12 100%);
  color: rgba(255, 255, 255, 0.65);
  padding: 44px 0 36px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 129, 211, 0.45), transparent);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 93, 205, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}

.footer-brand:hover {
  opacity: 0.88;
}

.footer-logo {
  width: 132px;
  height: 32px;
  background: url('../images/logo1.png') no-repeat center / contain;
  filter: brightness(1.05);
}

.footer-logo-suffix {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--blue-900);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  z-index: 200;
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .feature-row,
  .cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-desc {
    max-width: 560px;
  }

  .feature-row.reverse .feature-text,
  .feature-row.reverse .feature-visual { order: unset; }

  .hero-visual {
    min-height: 420px;
    justify-content: center;
  }

  .hero-showcase {
    width: 100%;
    max-width: 340px;
    height: 440px;
    margin: 0 auto;
  }

  .card-hero--main,
  .card-hero--ghost {
    width: 280px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
  }

  .card-hero--ghost {
    transform: translateX(-50%) rotate(-8deg) scale(0.97);
  }

  .showcase-orb-lg {
    width: 120px;
    height: 120px;
    left: -20px;
  }

  .scroll-dots { display: none; }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-actions .btn-sm { display: none; }
  .menu-toggle { display: none; }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
  }

  .stat,
  .stat:first-child,
  .stat:last-child {
    align-items: center;
    text-align: center;
    padding: 24px 16px;
  }

  .stat:not(:last-child)::after { display: none; }

  .stat:nth-child(odd):not(:last-child)::after {
    display: block;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-copy {
    width: 100%;
    text-align: center;
  }

  .section.hero {
    min-height: auto;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    padding: 28px 0 20px;
  }

  .hero-visual {
    order: -1;
    min-height: auto;
    width: 100%;
    max-width: 300px;
  }

  .hero-showcase {
    width: 100%;
    max-width: 280px;
    height: 220px;
    margin: 0 auto;
  }

  .card-hero--main,
  .card-hero--ghost {
    width: 240px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
  }

  .hero-visual .card-hero--main {
    box-shadow: none;
  }

  .hero-visual .card-hero--ghost {
    display: none;
  }

  .card-hero--ghost {
    transform: translateX(-50%) rotate(-8deg) scale(0.97);
  }

  .showcase-orb-lg {
    width: 90px;
    height: 90px;
    left: -8px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-title {
    margin-bottom: 16px;
  }

  .hero-desc {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
  }

  .hero-features li {
    display: block;
  }

  .hero-features li:not(:last-child)::after {
    content: none;
    margin: 0;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .scroll-dots { display: none; }

  .cta-card { padding: 36px 24px; }

  .order-form { flex-direction: column; }

  .order-form input,
  .order-form button { width: 100%; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }

  .hero-grid {
    gap: 24px;
    padding: 24px 0 16px;
  }

  .hero-showcase {
    max-width: 260px;
    height: 200px;
  }

  .card-hero--main,
  .card-hero--ghost {
    width: 210px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-features {
    font-size: 0.875rem;
    gap: 8px;
  }

  .site-footer {
    padding: 36px 0 28px;
  }

  .footer-links {
    gap: 8px 20px;
  }
}
