/* ========================================================================
   TINGO — Coming Soon Landing Page
   Design System & Styles
   ======================================================================== */

/* ── Google Fonts ───────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties (Design Tokens) ──────────────────────────── */
:root {
  /* Brand Colors */
  --color-primary: #0052FF;
  --color-accent: #00E5FF;
  --color-bg: #0B0F19;
  --color-bg-alt: #0E1424;
  --color-surface: rgba(14, 20, 40, 0.55);
  --color-surface-border: rgba(0, 229, 255, 0.12);
  --color-text: #FFFFFF;
  --color-text-secondary: #E2E8F0;
  --color-text-muted: #94A3B8;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0052FF 0%, #00E5FF 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 50%, rgba(0, 82, 255, 0.15) 0%, transparent 70%);
  --gradient-instagram: linear-gradient(135deg, #833AB4 0%, #E1306C 40%, #F77737 100%);
  --gradient-facebook: linear-gradient(135deg, #1877F2 0%, #0052FF 100%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Glassmorphism */
  --glass-blur: 24px;
  --glass-bg: rgba(14, 20, 40, 0.45);
  --glass-border: 1px solid rgba(0, 229, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* ── Animated Background Canvas ──────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

/* Radial glow behind hero */
.bg-glow {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: var(--gradient-glow);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.bg-glow-secondary {
  position: fixed;
  bottom: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
}

/* ── Layout Wrapper ──────────────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── Header ──────────────────────────────────────────────────────────── */
.header {
  padding: var(--space-lg) 0;
  position: relative;
  z-index: 10;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo img {
  height: 48px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
  filter: brightness(1.05);
  transition: var(--transition-base);
}

.header__logo img:hover {
  filter: brightness(1.15) drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
}

/* Coming Soon Badge */
.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.badge-coming-soon__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--color-accent);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--color-accent); }
  50% { opacity: 0.3; box-shadow: 0 0 2px var(--color-accent); }
}

/* ── Hero Section ────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0 var(--space-3xl);
  text-align: center;
}

.hero__content {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

/* Top Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: rgba(0, 82, 255, 0.1);
  border: 1px solid rgba(0, 82, 255, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: badge-shimmer 4s ease-in-out infinite;
}

.hero__badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
  animation: shimmer-sweep 4s ease-in-out infinite;
}

@keyframes shimmer-sweep {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes badge-shimmer {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 82, 255, 0.2), inset 0 0 15px rgba(0, 82, 255, 0.05); }
  50% { box-shadow: 0 0 30px rgba(0, 82, 255, 0.35), inset 0 0 20px rgba(0, 82, 255, 0.08); }
}

/* Title */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -1px;
}

.hero__title .highlight {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 620px;
}

/* ── Glass Card (Status Box) ─────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-2xl);
  box-shadow: var(--glass-shadow), 0 0 40px rgba(0, 82, 255, 0.06);
  width: 100%;
  max-width: 600px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(0, 229, 255, 0.22);
  box-shadow: var(--glass-shadow), 0 0 60px rgba(0, 82, 255, 0.1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
}

.glass-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.glass-card__title .icon-device {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.glass-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Info / About Section (PDF Content) ──────────────────────────────── */
.info-section {
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 2;
}

.info-section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.info-section__tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  display: block;
}

.info-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.info-section__intro {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 82, 255, 0.15);
}

.feature-card__icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 82, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.feature-card__icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.feature-card__highlight {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-accent);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-sm);
  margin-top: var(--space-xs);
}

.feature-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--space-xs);
}

.feature-card__list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.feature-card__list-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

/* Slogan Banner */
.slogan-banner {
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.2) 0%, rgba(0, 229, 255, 0.1) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  box-shadow: 0 0 50px rgba(0, 82, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.slogan-banner__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-text);
  line-height: 1.3;
}

.slogan-banner__text span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Social CTA Section ──────────────────────────────────────────────── */
.social-cta {
  padding: var(--space-xl) 0 var(--space-3xl);
  text-align: center;
}

.social-cta__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.social-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* Social Buttons */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-social::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: var(--transition-base);
  border-radius: inherit;
}

.btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

/* Instagram */
.btn-social--instagram {
  background: var(--gradient-instagram);
}

.btn-social--instagram:hover {
  box-shadow: 0 8px 35px rgba(225, 48, 108, 0.4), 0 0 60px rgba(225, 48, 108, 0.15);
}

/* Facebook */
.btn-social--facebook {
  background: var(--gradient-facebook);
}

.btn-social--facebook:hover {
  box-shadow: 0 8px 35px rgba(24, 119, 242, 0.45), 0 0 60px rgba(24, 119, 242, 0.15);
}

.btn-social__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-social__arrow {
  margin-left: 4px;
  transition: var(--transition-fast);
  opacity: 0.8;
  flex-shrink: 0;
}

.btn-social:hover .btn-social__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  padding: var(--space-xl) 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.footer__text .brand {
  color: var(--color-accent);
  font-weight: 600;
}

/* ── Entrance Animations ─────────────────────────────────────────────── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.25s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.4s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.55s; }
.animate-fade-up:nth-child(5) { animation-delay: 0.7s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-header {
  opacity: 0;
  animation: headerFade 0.6s ease-out 0.05s forwards;
}

@keyframes headerFade {
  to { opacity: 1; }
}

/* ── Responsive Design ───────────────────────────────────────────────── */

/* Tablets (≤ 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .header__logo img {
    height: 40px;
  }

  .badge-coming-soon {
    font-size: 0.7rem;
    padding: 6px 14px;
    letter-spacing: 1px;
  }

  .hero {
    padding: var(--space-xl) 0 var(--space-2xl);
  }

  .hero__content {
    gap: var(--space-lg);
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 8px 18px;
    letter-spacing: 2px;
  }

  .hero__title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  .glass-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .glass-card__title {
    font-size: 1.15rem;
  }

  .social-cta__buttons {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn-social {
    justify-content: center;
    padding: 16px 24px;
  }

  .bg-glow {
    width: 500px;
    height: 500px;
  }
}

/* Mobile (≤ 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .header .container {
    flex-direction: column;
    gap: var(--space-md);
  }

  .header__logo img {
    height: 36px;
  }

  .hero__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    letter-spacing: -0.5px;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .hero__badge {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }

  .glass-card {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
  }

  .glass-card__title {
    font-size: 1.05rem;
    flex-direction: column;
    gap: 6px;
  }

  .glass-card__text {
    font-size: 0.88rem;
  }

  .btn-social {
    font-size: 0.9rem;
    padding: 14px 20px;
  }

  .social-cta__label {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .bg-glow {
    width: 350px;
    height: 350px;
    top: 25%;
  }
}

/* Large Desktop (≥ 1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }

  .hero__title {
    font-size: 4.5rem;
  }

  .bg-glow {
    width: 1200px;
    height: 1200px;
  }
}

/* ── Accessibility: Prefers Reduced Motion ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #bg-canvas {
    display: none;
  }
}

/* ── Selection Color ──────────────────────────────────────────────────── */
::selection {
  background: rgba(0, 82, 255, 0.4);
  color: var(--color-text);
}

::-moz-selection {
  background: rgba(0, 82, 255, 0.4);
  color: var(--color-text);
}
