/* ==========================================================================
   Landing Page Styles — Offmind POC
   Full marketing website: hero, features, partners, testimonials, footer.
   ========================================================================== */

/* ── Animation Keyframes ───────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Animation ──────────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════════ */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition-base);
}

.landing-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════════════════
   LANDING CONTAINER
   ══════════════════════════════════════════════════════════════════════════ */
.landing-page {
  overflow-x: hidden;
}

.landing-section {
  padding: 80px var(--space-xl);
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  background-color: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: 36px;
  font-weight: var(--fw-bold);
  color: var(--text);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-base);
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 600px;
  line-height: var(--lh-relaxed);
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 140px var(--space-xl) 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 48px;
  font-weight: var(--fw-extrabold);
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: var(--fs-h3);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-base);
  flex-wrap: wrap;
}

.hero-btn-primary {
  padding: 16px 32px;
  background-color: var(--accent);
  color: #FFFFFF;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.hero-btn-primary:hover {
  background-color: #FF5252;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
}

.hero-btn-secondary {
  padding: 16px 32px;
  background-color: transparent;
  color: #FFFFFF;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-base);
  cursor: pointer;
}

.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Phone Mockup */
.hero-phone {
  flex-shrink: 0;
  width: 300px;
  animation: float 4s ease-in-out infinite;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen-header {
  background: var(--primary);
  padding: 40px 16px 16px;
  color: #FFFFFF;
  text-align: center;
}

.phone-screen-header .phone-time {
  font-size: 32px;
  font-weight: var(--fw-extrabold);
  margin-bottom: 4px;
}

.phone-screen-header .phone-label {
  font-size: 11px;
  opacity: 0.8;
}

.phone-screen-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-tier {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--surface);
  border-radius: 10px;
  font-size: 11px;
}

.phone-tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-tier-label {
  flex: 1;
  color: var(--text);
  font-weight: var(--fw-medium);
}

.phone-tier-tokens {
  font-weight: var(--fw-bold);
  color: var(--primary);
}

.phone-screen-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
}

.phone-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-light);
}

.phone-nav-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════════════════════ */
.how-it-works {
  background-color: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.step-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
}

.step-icon {
  font-size: 48px;
  margin-bottom: var(--space-lg);
  display: block;
}

.step-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* Connector line between steps */
.steps-grid .step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -32px;
  width: 32px;
  height: 2px;
  background: var(--border);
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════════════════ */
.features {
  background-color: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: var(--space-base);
  display: block;
}

.feature-title {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ══════════════════════════════════════════════════════════════════════════
   PARTNERS
   ══════════════════════════════════════════════════════════════════════════ */
.partners {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
}

.partners .section-title {
  color: #FFFFFF;
}

.partners .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.partner-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.partner-stat {
  text-align: center;
}

.partner-stat-value {
  font-size: 36px;
  font-weight: var(--fw-extrabold);
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
}

.partner-stat-label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

.partner-cta-btn {
  padding: 16px 32px;
  background-color: #FFFFFF;
  color: var(--primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.partner-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════════ */
.testimonials {
  background-color: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote-icon {
  font-size: 32px;
  color: var(--primary-light);
  margin-bottom: var(--space-base);
  opacity: 0.5;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--warning);
  font-size: 16px;
}

.testimonial-text {
  font-size: var(--fs-body);
  color: var(--text);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FFFFFF;
  font-weight: var(--fw-bold);
}

.testimonial-name {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text);
}

.testimonial-meta {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   DOWNLOAD CTA
   ══════════════════════════════════════════════════════════════════════════ */
.download-cta {
  background: var(--surface);
  text-align: center;
}

.download-cta .section-title {
  font-size: 42px;
}

.download-cta .section-subtitle {
  margin: 0 auto var(--space-2xl);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-base);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 28px;
  background: #1a1a2e;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.store-btn:hover {
  background: #2d2b3d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-btn-icon {
  font-size: 28px;
}

.store-btn-text {
  text-align: left;
}

.store-btn-label {
  font-size: 10px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-btn-name {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
}

.poc-cta-btn {
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-harvest);
}

.poc-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(108, 92, 231, 0.4);
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.landing-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px var(--space-xl) 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .footer-logo {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.footer-brand .footer-logo span {
  color: var(--accent);
}

.footer-brand .footer-tagline {
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  max-width: 280px;
}

.footer-heading {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-link {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-base);
}

.footer-copyright {
  font-size: var(--fs-small);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

.footer-legal a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: #FFFFFF;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-container {
    gap: 40px;
  }

  .hero-phone {
    width: 240px;
  }

  .phone-frame {
    width: 230px;
    height: 460px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-frame::before {
    width: 100px;
    height: 24px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .phone-screen-header .phone-time {
    font-size: 24px;
  }

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

  .steps-grid .step-card:not(:last-child)::after {
    display: none;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 110px var(--space-base) 60px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: var(--fs-body);
    margin: 0 auto var(--space-2xl);
  }

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

  .hero-phone {
    width: 220px;
  }

  .phone-frame {
    width: 200px;
    height: 400px;
    border-radius: 28px;
    padding: 8px;
  }

  .phone-frame::before {
    width: 80px;
    height: 20px;
    border-radius: 0 0 12px 12px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .phone-screen-header {
    padding: 32px 12px 12px;
  }

  .phone-screen-header .phone-time {
    font-size: 20px;
  }

  .phone-screen-header .phone-label {
    font-size: 9px;
  }

  .phone-screen-body {
    padding: 8px;
    gap: 6px;
  }

  .phone-tier {
    padding: 6px 8px;
    font-size: 9px;
    border-radius: 8px;
  }

  .phone-tier-dot {
    width: 6px;
    height: 6px;
  }

  .landing-section {
    padding: 50px var(--space-base);
  }

  .section-title {
    font-size: 28px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .steps-grid .step-card:not(:last-child)::after {
    display: none;
  }

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

  .partner-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  .download-cta .section-title {
    font-size: 28px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 14px 24px;
    font-size: var(--fs-small);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    text-align: center;
  }

  .section-title {
    font-size: 24px;
  }
}
