/* ============================================================
   TUCLUB LANDING PAGE — style.css
   ============================================================ */

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

:root {
  --primary: #2ba1d7;
  --primary-dark: #1b79b7;
  --secondary: #5ecb8c;
  --accent: #00674a;
  --text: #1a202c;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-icon-sm {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(43,161,215,.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,161,215,.4);
}

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

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #2ba1d7, transparent 70%);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #5ecb8c, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: 40%;
  left: 40%;
  animation: float 7s ease-in-out infinite 2s;
}

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

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(43,161,215,.1);
  border: 1px solid rgba(43,161,215,.25);
  border-radius: 50px;
  color: var(--primary-dark);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 8px 28px rgba(43,161,215,.4);
}

.btn-primary svg { width: 18px; height: 18px; }

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(43,161,215,.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 28px;
  color: var(--text);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(0,0,0,.1);
  transition: border-color .2s, background .2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(43,161,215,.05);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,.12);
}

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

.phone-mockup {
  width: 280px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}

.phone-screen {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  padding: 14px 12px 12px;
  min-height: 520px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: .65rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  padding: 0 4px;
}

.phone-app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: .85rem;
  font-weight: 700;
  color: #1a1a2e;
}

.app-logo-small {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 900;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .75rem;
  color: #999;
  margin-bottom: 14px;
}

.phone-search svg { width: 14px; height: 14px; flex-shrink: 0; }

.phone-cards {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.phone-card {
  flex: 1;
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-blue  { background: linear-gradient(135deg, #2ba1d7, #1b79b7); }
.card-green { background: linear-gradient(135deg, #5ecb8c, #3daf6f); }
.card-teal  { background: linear-gradient(135deg, #00b09b, #00674a); }

.phone-card-discount {
  font-size: .95rem;
  font-weight: 900;
  color: #fff;
}

.phone-card-name {
  font-size: .6rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

.phone-list-title {
  font-size: .75rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 10px;
}

.phone-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 0;
}

.phone-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.phone-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-item-name {
  height: 9px;
  background: #e2e8f0;
  border-radius: 4px;
  width: 80%;
}

.phone-item-sub {
  height: 7px;
  background: #f1f5f9;
  border-radius: 4px;
  width: 55%;
}

.phone-item-badge {
  padding: 3px 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.phone-nav-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 0;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}

.nav-dot.active { background: #fff; }

/* Floating cards */
.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.05);
  white-space: nowrap;
  z-index: 2;
}

.fc-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.fc-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
}

.fc-sub {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.fc-1 {
  top: 14%;
  left: -20%;
  animation: float 6s ease-in-out infinite;
}

.fc-2 {
  bottom: 14%;
  right: -16%;
  animation: float 8s ease-in-out infinite 1s;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(43,161,215,.1);
  border-radius: 50px;
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  width: 100%;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,161,215,.15);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--icon-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--icon-accent);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--bg);
}

.how-it-works .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 60px;
  width: 100%;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 0 16px;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  opacity: .5;
}

.step-connector svg {
  width: 100%;
  height: 24px;
  overflow: visible;
}

.step-number {
  font-size: .75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(43,161,215,.35);
}

.step-icon svg { width: 28px; height: 28px; }

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

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

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories {
  padding: 100px 0;
  background: var(--white);
}

.categories .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  width: 100%;
}

.cat-card {
  background: var(--cat-bg);
  border-radius: var(--radius);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: default;
  border: 2px solid transparent;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat-color);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.cat-emoji {
  font-size: 2rem;
  line-height: 1;
}

.cat-card span {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .4;
  pointer-events: none;
}

.cta-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2ba1d7, transparent 70%);
  top: -200px;
  left: -100px;
}

.cta-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #5ecb8c, transparent 70%);
  bottom: -150px;
  right: -80px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.8px;
  margin-bottom: 12px;
}

.cta-text p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  max-width: 440px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 8px 28px rgba(43,161,215,.5);
  flex-shrink: 0;
}

.btn-cta svg { width: 18px; height: 18px; }

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(43,161,215,.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f172a;
  padding: 60px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-tagline {
  color: rgba(255,255,255,.45);
  font-size: .9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 48px;
}

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

.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  color: rgba(255,255,255,.25);
  font-size: .82rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .fc-1 { left: -8%; }
  .fc-2 { right: -6%; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .phone-mockup { width: 240px; }

  .phone-screen { min-height: 420px; }

  .fc-1, .fc-2 {
    display: none;
  }

  .hero-stats { justify-content: center; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector {
    transform: rotate(90deg);
    width: 60px;
  }

  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-text p { max-width: 100%; }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 1.7rem;
  }
}
