/* ============================================
   WAGMIx - Institutional Tokenization Platform
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0a1628;
  --navy-light: #111d33;
  --navy-mid: #162140;
  --blue-start: #2563eb;
  --blue-end: #1d4ed8;
  --blue-bright: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --slate: #94a3b8;
  --slate-light: #cbd5e1;
  --white: #ffffff;
  --off-white: #f8fafc;
  --border: rgba(148, 163, 184, 0.12);
  --border-light: rgba(148, 163, 184, 0.08);
  --gradient: linear-gradient(135deg, var(--blue-start), var(--blue-end));
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.7;
  transition: var(--transition);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

/* --- Hero --- */
.hero {
  position: relative;
  /*min-height: 100vh;*/
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;

  max-height: 945px;
}

.hero-bg {
  position: absolute;
  inset: 0;
   background:
    radial-gradient(ellipse at 20% 50%, var(--blue-glow) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);

}
.hero-bg:after{
  content:'';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("assets/01.png");
  background-repeat: no-repeat;
  background-position: right -100px top;
  background-size: auto 100%;
}
#positioning{
  background-image: url("assets/02.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}
#team{
  background-image: url("assets/03.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-start);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Network Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-graphic {
  position: relative;
  width: 400px;
  height: 400px;
}

.connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.conn {
  stroke: var(--blue-bright);
  stroke-width: 1;
  opacity: 0.2;
  stroke-dasharray: 4 4;
}

.node {
  position: absolute;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.node-center {
  top: 50%;
  left: 50%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  z-index: 2;
}

.node-1 { top: 10%; left: 50%; }
.node-2 { top: 26%; left: 85%; }
.node-3 { top: 74%; left: 85%; }
.node-4 { top: 90%; left: 50%; }
.node-5 { top: 74%; left: 15%; }
.node-6 { top: 26%; left: 15%; }

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-header {
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 700px;
}

/* --- Overview --- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.overview-main p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
}

.overview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--blue-start);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
}

/* --- Strategic Positioning --- */
.positioning-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.positioning-text .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--slate-light);
  margin-bottom: 16px;
}

.positioning-text p {
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 32px;
}

.mission-box {
  /*background: rgba(37, 99, 235, 0.08);*/
  background:rgb(120 158 243 / 18%);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius);
  padding: 28px;
}

.mission-box h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.mission-box p {
  color: var(--slate-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.principles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.principle {
  position: relative;
  padding-left: 56px;
}

.principle::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue-bright);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: rgba(59, 130, 246, 0.1);*/
   background:rgb(120 158 243 / 18%);
  border-radius: 10px;
}

.principle h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.principle p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* --- Operating Model / Flow --- */
.flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
}

.flow-step-center {
  position: relative;
}

.flow-step-center::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.flow-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-start);
  position: relative;
  z-index: 1;
}

.flow-step-center .flow-icon {
  background: var(--gradient);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.flow-icon svg {
  width: 26px;
  height: 26px;
}

.flow-step h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.flow-step p {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.flow-arrow {
  width: 32px;
  height: 32px;
  color: var(--blue-bright);
  opacity: 0.4;
  flex-shrink: 0;
  margin-top: 12px;
}

.flow-arrow svg {
  width: 100%;
  height: 100%;
}

.governance-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.governance-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.governance-item span {
  font-size: 0.82rem;
  color: var(--slate);
}

/* --- Team --- */
.team-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
}

.team-stat {
  text-align: center;
  padding: 40px;
  background: var(--navy-light);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
}

.team-stat-number {
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.team-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-light);
  line-height: 1.4;
}

.team-domains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.team-domain h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.team-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-domain-tags span {
  background: rgba(59, 130, 246, 0.18);
  color: var(--slate-light);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.team-summary {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
}

/* --- Ecosystem --- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eco-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.eco-card-primary {
}

.eco-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.eco-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.eco-subtitle {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 24px;
}

.eco-card-primary .eco-subtitle {
}

.eco-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eco-card li {
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
  color: #475569;
}

.eco-card-primary li {
}

.eco-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
}

/* --- Contact --- */
#contact {
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 36px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--slate);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-brand p {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--blue-bright);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1200px) {
  .hero-bg{
    /*position: absolute;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: 400px;
    max-height: 400px;
    transform: translate(-50%,0);
    top:initial;
    bottom: 20px;
    left: 50%;
    background: none;*/
    background: none;
  }
  .hero-bg:after{
    /*background-size: 100% auto;
    background-position: center center;
    top: initial;*/
    background: none;

  }
  .hero-visual {
    /*display: none;*/
    background-image: url("assets/01.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #positioning{
    position: relative;
    /*background:linear-gradient(90deg, #08021a, #09123a);*/
    background: #03051C;
  }
  #positioning .container{
    position: relative;
    z-index: 1;
  }
  #positioning:before{
    position: absolute;
    content:'';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("assets/02c.jpg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom right;
  }
   #team{
    position: relative;
    /*background: linear-gradient(90deg, #03051c, #070125);*/
    background: #03051C;
  }
  #team .container{
    position: relative;
    z-index: 1;
  }
  #team:before{
    position: absolute;
    content:'';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("assets/03b.jpg");
    background-repeat: no-repeat;
    background-size: 200% auto;
    background-position: top right;
  }
}
/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /*.hero-bg:after{
    background-size: 100% auto;
    background-position: center center;
    top: initial;
    bottom: -50%;
  }*/

  .hero-graphic{
    width: 100%;
    height: auto;
    max-width: 400px;
    aspect-ratio:1.3 / 1;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .positioning-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .overview-cards {
    grid-template-columns: 1fr;
  }

  .flow {
    flex-direction: column;
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin-top: 0;
  }

  .flow-step {
    max-width: 280px;
  }

  .governance-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eco-grid {
    grid-template-columns: 1fr;
  }

  .team-domains {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
