/* ══ TENM Landing Page — Bumble-inspired ══ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #0066FF;
  --primary-dark: #0050CC;
  --accent: #7C3AED;
  --pink: #EC4899;
  --mint: #00CDA0;
  --g1: #0066FF;
  --g2: #7C3AED;
  --g3: #EC4899;
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --bg-dark: #0A0E1A;
  --text: #0F172A;
  --text-sub: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --card: #fff;
  --radius: 24px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}

nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: var(--nav-h);
}

.nav-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  transition: color .2s;
  cursor: pointer;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  position: relative;
}

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  transition: all .2s;
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-drop {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  min-width: 150px;
  overflow: hidden;
  z-index: 200;
}

.lang-drop.show {
  display: block;
}

.lang-drop a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
}

.lang-drop a:hover {
  background: var(--bg-alt);
}

.lang-drop a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-cta {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  transition: all .25s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.25);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 32px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0066FF 0%, #5B21B6 35%, #EC4899 70%, #F97316 100%);
  opacity: .07;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(124, 58, 237, 0.15), transparent 70%);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(124, 58, 237, 0.1));
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
  border: 1px solid rgba(0, 102, 255, 0.15);
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.3)
  }
}

.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 .grad {
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  transition: all .3s;
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.25);
}

.btn-main:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--border);
  transition: all .3s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, var(--g1), var(--g2));
  border-radius: 40px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  z-index: 10;
}

.phone-inner {
  width: 85%;
  height: 90%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
}

.phone-inner .ping-icon {
  font-size: 48px;
  animation: float 3s ease-in-out infinite;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ping-icon .wave {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: ripple 2.5s ease-out infinite;
}

.ping-icon .w2 {
  animation-delay: 0.6s;
}

.ping-icon .w3 {
  animation-delay: 1.2s;
}

@keyframes ripple {
  0% {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    border-width: 2px;
  }

  100% {
    width: 160px;
    height: 160px;
    opacity: 0;
    border-width: 1px;
  }
}

.phone-inner .app-name {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
}

.phone-inner .app-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-align: center;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

/* Floating cards */
.fcard {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  z-index: 2;
  animation: floaty 5s ease-in-out infinite;
}

.fcard.fc1 {
  top: 5%;
  right: -10%;
  animation-delay: 0s;
}

.fcard.fc2 {
  bottom: 15%;
  left: -15%;
  animation-delay: -2s;
}

.fcard.fc3 {
  top: 50%;
  right: -20%;
  animation-delay: -3.5s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg)
  }

  50% {
    transform: translateY(-14px) rotate(1deg)
  }
}

.fcard-emoji {
  font-size: 24px;
  margin-bottom: 4px;
}

.fcard-name {
  font-size: 13px;
  font-weight: 700;
}

.fcard-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── SECTIONS ── */
section {
  padding: 120px 32px;
}

.sec-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.sec-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.sec-desc {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.sec-center {
  text-align: center;
}

.sec-center .sec-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ── MISSION ── */
.mission {
  background: var(--bg-dark);
  color: #fff;
  padding: 140px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 102, 255, 0.2), transparent 70%);
}

.mission h2 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  position: relative;
  max-width: 700px;
  margin: 0 auto 24px;
}

.mission p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FEATURE CARDS ── */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feat-card {
  background: #EEF2FF;
  border-radius: var(--radius);
  padding: 44px 40px;
  border: 1px solid transparent;
  transition: all .4s cubic-bezier(.25, .8, .25, 1);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--g1), var(--g2), var(--g3));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s cubic-bezier(.25, .8, .25, 1);
}

.feat-card:nth-child(1)::before {
  background: linear-gradient(180deg, #0066FF, #3B82F6);
}

.feat-card:nth-child(2)::before {
  background: linear-gradient(180deg, #7C3AED, #A855F7);
}

.feat-card:nth-child(3)::before {
  background: linear-gradient(180deg, #EC4899, #F472B6);
}

.feat-card:nth-child(4)::before {
  background: linear-gradient(180deg, #00CDA0, #34D399);
}

.feat-card:hover {
  background: #fff;
  border-color: var(--border);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.feat-card:hover::before {
  transform: scaleY(1);
}

.feat-card:hover .feat-icon {
  transform: scale(1.15);
}

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: transform .4s;
}

.feat-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0F172A;
}

.feat-card p {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
}

/* ── STEPS ── */
#how {
  background: var(--bg-alt);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all .3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.step-num {
  font-size: 56px;
  font-weight: 900;
  color: rgba(0, 102, 255, 0.06);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── SAFETY ── */
.safe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: safe;
}

.safe-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 28px;
  border: 1px solid var(--border);
  transition: all .35s;
  position: relative;
  overflow: hidden;
}

.safe-card::before {
  counter-increment: safe;
  content: counter(safe, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(0, 205, 160, 0.08);
  line-height: 1;
}

.safe-card:hover {
  background: #F0FDF9;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 205, 160, 0.3);
}

.safe-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(0, 205, 160, 0.12), rgba(0, 102, 255, 0.08));
  margin-bottom: 20px;
  transition: transform .3s;
}

.safe-card:hover .safe-icon {
  transform: scale(1.1);
}

.safe-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0F172A;
}

.safe-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
}

/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent 60%);
}

.cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  position: relative;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  transition: all .3s;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

/* ── FOOTER ── */
footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 32px 40px;
}

.foot-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.foot-brand .logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.foot-brand p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  max-width: 260px;
}

.foot-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: #94A3B8;
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: #CBD5E1;
  margin-bottom: 10px;
  transition: color .2s;
}

.foot-col a:hover {
  color: #fff;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-bottom p {
  font-size: 13px;
  color: #64748B;
}

.foot-links {
  display: flex;
  gap: 24px;
}

.foot-links a {
  font-size: 13px;
  color: #64748B;
  transition: color .2s;
}

.foot-links a:hover {
  color: #fff;
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .fcard {
    display: none;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:768px) {
  nav .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  nav .nav-menu.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* 로고 SVG 모바일 축소 */
  .nav-logo {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .nav-logo svg {
    width: 24px;
    height: 24px;
  }

  /* 네비 버튼 사이즈 축소 */
  .lang-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 11px;
  }

  .nav-right {
    gap: 6px;
  }

  /* 히어로: 텍스트 중심 + 폰 목업 제목 아래 배치 */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 40px) 20px 40px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    display: contents;
  }

  .hero-tag {
    order: 1;
  }

  .hero-text h1 {
    order: 2;
    text-align: center;
  }

  .hero-visual {
    order: 3;
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }

  .hero-visual .fcard {
    display: none;
  }

  .hero-visual .phone-mockup {
    width: 180px;
    height: 360px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  }

  .hero-visual .phone-mockup::before {
    width: 60px;
    height: 18px;
    top: 8px;
    border-radius: 12px;
  }

  .hero-visual .phone-inner {
    border-radius: 20px;
    padding: 24px 12px;
    gap: 10px;
  }

  .hero-visual .phone-inner .ping-icon {
    font-size: 32px;
  }

  .hero-visual .phone-inner .app-name {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .hero-visual .phone-inner .app-sub {
    font-size: 10px;
  }

  .hero-desc {
    order: 4;
    text-align: center;
    font-size: 14px;
  }

  .hero-btns {
    order: 5;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-btns .btn-main,
  .hero-btns .btn-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-tag {
    font-size: 12px;
    padding: 6px 16px;
  }

  .steps-row,
  .safe-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 80px 20px;
  }

  .mission {
    padding: 100px 20px;
  }

  .sec-title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .sec-desc {
    font-size: 15px;
    margin-bottom: 36px;
  }

  .feat-card {
    padding: 32px 28px;
  }

  .step-card {
    padding: 32px 24px;
  }
}

@media (max-width:480px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .nav-inner {
    padding: 0 12px;
  }

  .nav-logo {
    font-size: 18px;
    letter-spacing: 1px;
    gap: 4px !important;
  }

  .nav-logo svg {
    width: 20px;
    height: 20px;
  }

  .nav-cta {
    padding: 5px 10px;
    font-size: 10px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 10px;
  }

  .nav-right {
    gap: 4px;
  }
}