/* ===============================
   Timevest landing page styles
   =============================== */

:root {
  --tv-bg: #000000;
  --tv-text: #ffffff;
  --tv-muted: rgba(255,255,255,0.7);
  --tv-accent: #b6f2c6;
}

/* Base */
body {
  font-family: 'Satoshi',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--tv-bg);
  color: var(--tv-text);
}

/* ===============================
   Navigation
   =============================== */

.tv-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
}

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

.tv-logo {
  height: 28px;
}

.tv-nav-links a {
  margin-left: 32px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
}

.tv-nav-links a:hover {
  color: #ffffff;
}

/* ===============================
   Registration Banner
   =============================== */


/* ===============================
   Hero section
   =============================== */

   
.tv-hero {
  min-height: 100vh;
  padding-top: 140px;
  text-align: center;
  background: radial-gradient(
    120% 80% at 50% 0%,
    #1c1c1c 0%,
    #000 75%
  );
  padding-bottom: 48px;
  position: relative;
}

.tv-hero-logo {
  width: 164px;
  margin-bottom: 32px;
}

.tv-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
}

.tv-hero-gradient {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    var(--tv-accent) 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
}

.tv-highlight {
  color: var(--tv-accent);
}

.tv-hero h2 {
  margin-top: 24px;
  font-size: 1.8rem;
  font-weight: 500;
}

.tv-hero-desc {
  max-width: 640px;
  margin: 40px auto 48px;
  font-size: 1.4rem;
  color: var(--tv-muted);
}

.tv-accent {
  color: var(--tv-accent);
}

/* ===============================
   Primary button
   =============================== */

.tv-btn-primary {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  background: var(--tv-accent);
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.tv-btn-primary:hover {
  opacity: 0.9;
}

/* ===============================
   Animated screenshot grid
   =============================== */

.tv-screens {
  height: 720px; 
  margin-top: -150px;
  overflow: hidden;
  position: relative;
  border-radius: 32px;
}

.tv-screens::before,
.tv-screens::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 3;
}

.tv-screens::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.6) 45%,
    rgba(0,0,0,0) 100%
  );
}

.tv-screens::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.6) 45%,
    rgba(0,0,0,0) 100%
  );
}

.tv-screens-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Column base */
.tv-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: scrollColumn linear infinite;
}

@keyframes scrollColumn {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

.tv-column img {
  width: 100%;
}

/* Different speeds per column */
.col-1 { animation-duration: 18s; }
.col-2 { animation-duration: 26s; }
.col-3 { animation-duration: 24s; }
.col-4 { animation-duration: 20s; }
.col-5 { animation-duration: 12s; }

/* ===============================
   Features section
   =============================== */

.tv-features {
  padding: 160px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.tv-section-title {
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--tv-accent);
  margin-bottom: 64px;
  max-width: 720px;
}

/* Base card */
.tv-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );
  border-radius: 28px;
  padding: 40px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Grid layout */
.tv-feature-grid {
  display: grid;
  grid-template-columns: auto 1fr; /* column 1 = content-sized, column 2 fills remaining space */
  grid-auto-rows: auto;            /* rows height based on content */
  gap: 24px;
}
/* First row */
.tv-card-intro {
  grid-column: 1;
}

.tv-card-intro h3 {
  font-size: 2.7rem;
  line-height: 1.1;
}

.tv-card-balance {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;             /* fills remaining space */
  min-width: 0;            /* prevents overflow from flex children */
}

.tv-card-balance .tv-card-phone {
  margin-left: auto;
  width: auto;        
  max-width: 240px;
}

/* Second row: activities full width */
.tv-card-activities {
  grid-column: 1 / -1;  /* span the full grid width */
  width: 100%;
  display: flex;
  gap: 32px;
  align-items: flex-start; /* prevent image stretch */
}

.tv-card-activities .tv-card-phone {
  flex: 0 0 auto;       /* do not grow or shrink */
  width: auto;          /* natural width */
  height: auto;         /* natural height */
  max-width: 240px;     /* optional */
  align-self: flex-start; /* prevent vertical stretch */
}

/* Third row: quote + insight */
.tv-card-quote {
  grid-column: 1;          /* first column */
  grid-row: 3;             /* explicitly third row */
  width: fit-content;      /* only as wide as content */
  display: flex;
  align-items: center;
  font-size: 1.6rem;    /* was 1.4rem */
  line-height: 1.5;
}

.tv-card-insight {
  grid-column: 2;          /* second column */
  grid-row: 3;             /* explicitly third row */
  width: 100%;             /* fills remaining space */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Mascot, phone, and text styling (unchanged) */
.tv-card-mascot {
  margin-top: 32px;
  width: 120px;
}

.tv-card-phone {
  width: 240px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.tv-card-label {
  display: block;
  font-size: 1.0rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tv-accent);
  margin-bottom: 12px;
}

.tv-card-text p {
  font-size: 1.8rem;
  line-height: 1.6;
}

.tv-card-text ul {
  margin: 16px 0;
  padding-left: 20px;
}

.tv-card-text li {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.tv-card-activities .tv-card-text {
  flex: 1;              /* fills the remaining horizontal space */
  min-width: 0;         /* prevents text from overflowing */
}

.tv-card-muted {
  opacity: 0.7;
}

/* Phone row */
.tv-phone-row {
  display: flex;
  gap: 24px;
}

.tv-phone-row img {
  width: 180px;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.6);
}

/* ===============================
   App Features Section
   =============================== */

/* App Features Section (outer) */
.tv-features {
  padding-bottom: 120px;
}

.tv-app-features {
  padding-top: 28px;
}

/* Inner constrained container */
.tv-app-features-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.tv-app-features .tv-section-title {
  margin-bottom: 48px;
  max-width: 720px;
}

/* Layout */
.tv-app-features-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

/* Phone preview */
.tv-app-preview {
  background: radial-gradient(
    120% 120% at 30% 20%,
    rgba(255,255,255,0.08),
    rgba(0,0,0,0)
  );
  border-radius: 24px;
  padding: 48px;
  box-sizing: border-box;
}

.tv-app-preview img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}

/* Feature cards grid */
.tv-app-feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Individual card */
.tv-feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tv-feature-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* Icon */
.tv-feature-icon {
  font-size: 20px;
  margin-bottom: 12px;
  opacity: 0.9;
}

/* Text */
.tv-feature-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.tv-feature-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}

/* Responsive */
@media (max-width: 900px) {
  .tv-app-features-grid {
    grid-template-columns: 1fr;
  }

  .tv-app-preview {
    padding: 32px;
  }
}

/* ===============================
   FAQ Section
   =============================== */

.tv-faq {
  padding: 120px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.tv-faq-list {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.tv-faq-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
  opacity: 0.8;
}

.tv-faq-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(182, 242, 198, 0.9); /* timevest accent */
}

.tv-faq-item {
  border-bottom: 1px solid rgba(182,242,198,0.25);
}

.tv-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 1.6rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.tv-faq-icon {
  transition: transform 0.3s ease;
  color: var(--tv-accent);
}

.tv-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  align-items: center;
  opacity: 0;
}

.tv-faq-answer p {
  padding-bottom: 24px;
  opacity: 0.85;
}

.tv-faq-item.active .tv-faq-answer {
  max-height: 300px;
  opacity: 1;
}

.tv-faq-item.active .tv-faq-icon {
  transform: rotate(180deg);
}

/* Secondary button */
.tv-btn-secondary {
  display: inline-block;
  margin-top: 48px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--tv-accent);
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* ===============================
   Download Section
   =============================== */

/* Corner banner styling */
.tv-download-banner {
  position: absolute;
  top: 16px;
  left: 16px; /* top-left corner */
  background: var(--tv-accent); /* green */
  color: #000;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  max-width: 300px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Banner text styles */
.tv-download-banner .tv-banner-label {
  font-size: 0.65rem;
  opacity: 0.9;
  text-transform: uppercase;
}

.tv-download-banner .tv-banner-headline {
  font-size: 1rem;
  font-weight: 700;
}

.tv-download-banner .tv-banner-subtext {
  font-size: 0.8rem;
  line-height: 1.2;
  opacity: 0.9;
}

/* Unavailable state */
.tv-download-banner.state-unavailable {
  background: #e74c3c; /* red */
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .tv-download-banner {
    top: 12px;
    left: 12px;
    font-size: 0.75rem;
    padding: 8px 12px;
    max-width: 90%;
  }

  .tv-download-banner .tv-banner-headline {
    font-size: 0.95rem;
  }

  .tv-download-banner .tv-banner-subtext {
    font-size: 0.75rem;
  }
}

.tv-download {
  padding: 120px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.tv-download-card {
  background: radial-gradient(
    120% 120% at 30% 20%,
    rgba(255,255,255,0.08),
    rgba(0,0,0,0)
  );
  border-radius: 32px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
}

.tv-download-text h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 16px 0 32px;
}

.tv-store-buttons {
  display: flex;
  gap: 16px;
}

.tv-store-buttons img {
  height: 44px;
}

.tv-download-phone {
  width: 280px;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .tv-download-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tv-store-buttons {
    justify-content: center;
  }
}

.tv-store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tv-store-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 80px;
  border-radius: 30px;
  text-decoration: none;
  color: #000;               /* black text on green background */
  min-width: 160px;
  text-align: left;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Inter', sans-serif;
  background: var(--tv-accent); /* use the site green */
}

.tv-store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Small text (Download / Get it on) */
.tv-store-small {
  font-size: 0.7rem;
  opacity: 0.9;
  line-height: 1;
}

/* Big text (App Store / Google Play) */
.tv-store-big {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
}

.tv-footer {
  background: #0a0a0a; /* dark background */
  color: #fff;
  padding: 48px 32px;
  font-family: 'Inter', sans-serif;
}

.tv-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.tv-footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
}

.tv-footer-logo {
  width: 48px;
}

.tv-footer-tagline {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 280px;
}

.tv-footer-right {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.tv-footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--tv-accent);
}

.tv-footer-col a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.tv-footer-col a:hover {
  opacity: 1;
}

/* Responsive for small screens */
@media (max-width: 700px) {
  .tv-footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .tv-footer-right {
    gap: 32px;
  }
}