/* =====================================================
   meetella.app — Landing Page Styles
   Dark theme · Mobile-first · Pretendard
   ===================================================== */

/* ── Custom Properties ── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-card: #1a1a24;
  --accent-primary: #a855f7;
  --accent-secondary: #ec4899;
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(168,85,247,.15) 0%, rgba(236,72,153,.15) 100%);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --glow: 0 0 40px rgba(168, 85, 247, 0.3);
  --glow-strong: 0 0 60px rgba(168, 85, 247, 0.5);
  --border: rgba(168, 85, 247, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-display: swap;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Shimmer gradient text ── */
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.shimmer-text {
  background: linear-gradient(to right, #c084fc, #f9a8d4, #ffffff, #f9a8d4, #c084fc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Gradient Text ── */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Base ── */
.section {
  padding: 80px 0;
}
.section-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--glow);
  animation: glow-pulse 3s ease-in-out infinite;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
}
.btn--ghost:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
.btn--sm { padding: 8px 20px; font-size: 0.875rem; }
.btn--lg { padding: 16px 40px; font-size: 1.0625rem; }

/* ── Animations ── */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(168,85,247,.3); }
  50% { box-shadow: 0 0 50px rgba(168,85,247,.6), 0 0 80px rgba(236,72,153,.3); }
}
@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.08); }
}
@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, 15px) scale(0.95); }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo-text {
  font-size: 1.375rem;
  font-weight: 700;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Orbs */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero__orb--1 {
  width: 400px; height: 400px;
  background: rgba(168, 85, 247, 0.25);
  top: -100px; right: -80px;
  animation: orb-float-1 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 300px; height: 300px;
  background: rgba(236, 72, 153, 0.2);
  bottom: 80px; left: -60px;
  animation: orb-float-2 10s ease-in-out infinite;
}
.hero__orb--3 {
  width: 200px; height: 200px;
  background: rgba(139, 92, 246, 0.15);
  top: 50%; left: 40%;
  animation: orb-float-3 7s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(168,85,247,.08);
}
.hero__title {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.hero__actions {
  margin-bottom: 24px;
}
.hero__badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge-link { transition: var(--transition); opacity: 0.8; }
.badge-link:hover { opacity: 1; transform: translateY(-2px); }
.badge-link img { height: 40px; width: auto; }

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  animation: float 1.6s ease-in-out infinite;
}

/* =====================================================
   VALUES
   ===================================================== */
.values { background: var(--bg-secondary); }
.values .section-title { margin-bottom: 48px; }

.values__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.value-card:hover {
  border-color: rgba(168,85,247,.4);
  box-shadow: 0 0 30px rgba(168,85,247,.1);
  transform: translateY(-4px);
}
.value-card__icon {
  width: 56px; height: 56px;
  background: var(--accent-gradient-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 20px;
}
.value-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.value-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* =====================================================
   TIMELINE COMPARISON
   ===================================================== */
.timeline { }
.timeline .section-title { margin-bottom: 12px; }

.timeline__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.timeline__col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.timeline__col--old {
  border-color: rgba(255, 255, 255, 0.06);
}
.timeline__col--new {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, rgba(236, 72, 153, 0.04) 100%);
}

.timeline__col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline__icon--old {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}
.timeline__icon--new {
  background: var(--accent-gradient-soft);
  color: var(--accent-primary);
}

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

.timeline__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.timeline__day {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 2px;
  white-space: nowrap;
}

.timeline__col--new .timeline__day {
  color: var(--accent-primary);
  background: rgba(168, 85, 247, 0.1);
}

.timeline__text {
  flex: 1;
}
.timeline__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.timeline__item--fade {
  opacity: 0.45;
}

.timeline__item--glow .timeline__text {
  color: var(--text-primary);
}
.timeline__item--glow .timeline__day {
  background: var(--accent-gradient);
  color: #fff;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features { }
.features .section-title { margin-bottom: 64px; }

.features__list { display: flex; flex-direction: column; gap: 80px; }

.feature {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.feature__text { text-align: center; }
.feature__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}
.feature__title {
  font-size: clamp(1.375rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}
.feature__desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto;
}
.feature__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-gradient);
  color: #fff;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Phone frame */
.phone-frame {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 36px;
  padding: 16px;
  box-shadow: var(--glow), 0 40px 80px rgba(0,0,0,.5);
  position: relative;
  animation: float 5s ease-in-out infinite;
}
.phone-frame img {
  border-radius: 24px;
  width: 387px;
  height: auto;
  display: block;
  background: var(--bg-secondary);
}
.phone-frame--sm img {
  width: 200px;
  height: 400px;
  border-radius: 20px;
}
.phone-frame--sm {
  border-radius: 28px;
  animation: none;
}

/* =====================================================
   SCREENSHOTS
   ===================================================== */
.screenshots { background: var(--bg-secondary); overflow: hidden; }
.screenshots .section-title { margin-bottom: 40px; }

.screenshots__carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px 40px;
  scrollbar-width: none;
}
.screenshots__carousel::-webkit-scrollbar { display: none; }

.screenshot-item {
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.screenshot-item__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews { }
.reviews .section-title { margin-bottom: 4px; }

.reviews__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 3rem;
  color: var(--accent-primary);
  opacity: 0.4;
  line-height: 1;
  font-family: Georgia, serif;
}
.review-card__text {
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 16px;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.review-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(168,85,247,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__inner { position: relative; z-index: 1; }
.cta-section__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-section__sub {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1rem;
}
.cta-section__badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer__tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 4px;
}
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer__links a:hover { color: var(--accent-primary); }
.footer__copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* =====================================================
   RESPONSIVE — Tablet & Desktop (768px+)
   ===================================================== */
@media (min-width: 768px) {
  .section { padding: 120px 0; }

  .values__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature {
    flex-direction: row;
    text-align: left;
    gap: 64px;
  }
  .feature--reverse { flex-direction: row-reverse; }
  .feature__text { flex: 1; }
  .feature__mockup { flex-shrink: 0; }
  .feature__desc { margin: 0; }

  .timeline__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero__orb--1 { width: 600px; height: 600px; }
  .hero__orb--2 { width: 450px; height: 450px; }
}
