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

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

:root {
  --bg:        #0A0F1E;
  --bg2:       #0F172A;
  --card:      #111827;
  --card2:     #1a2235;
  --border:    rgba(255,255,255,0.08);
  --teal:      #FF5C3A;
  --teal-dark: #FF2D78;
  --teal-dim:  rgba(255,92,58,0.12);
  --teal-glow: rgba(255,92,58,0.25);
  --white:     #FFFFFF;
  --text:      #E2E8F0;
  --muted:     #64748B;
  --subtle:    #94A3B8;
  --radius:    16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Typography ─── */
.display {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

.display span {
  background: linear-gradient(135deg, var(--teal), #5eead4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: var(--white); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--white); }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--white); }
p  { color: var(--subtle); font-size: 1rem; line-height: 1.7; }

/* ─── Layout ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ─── Nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(10,15,30,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

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

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}

.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; color: white; letter-spacing: -1px;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 800; font-size: 1.2rem; color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text .t-trail span:nth-child(1) { opacity: 0.35; }
.logo-text .t-trail span:nth-child(2) { opacity: 0.65; }
.logo-text .t-trail span:nth-child(3) { opacity: 1; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--subtle); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--teal);
  color: var(--bg) !important;
  font-weight: 600 !important;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: white !important; }

/* ─── Hero ─── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(20,184,166,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(20,184,166,0.3);
  color: var(--teal);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em; text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title { margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; max-width: 480px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal);
  color: var(--bg);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: var(--radius-sm);
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--teal-dark); color: white; transform: translateY(-1px); box-shadow: 0 8px 30px var(--teal-glow); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 600; font-size: 0.95rem;
  padding: 14px 28px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.2s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

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

.phone-mockup {
  width: 240px; height: 480px;
  background: var(--card);
  border-radius: 36px;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}

.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #0a0f1e 100%);
  display: flex; flex-direction: column;
  padding: 40px 16px 20px;
  gap: 10px;
}

.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px;
  background: var(--bg2); border-radius: 3px;
}

.mock-card {
  background: var(--card2);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
}

.mock-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mock-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-dark), var(--teal)); }
.mock-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.mock-line.short { width: 60%; }
.mock-line.medium { width: 80%; margin-bottom: 6px; }
.mock-line.tiny { width: 40%; background: var(--teal-dim); }
.mock-tag {
  display: inline-block;
  background: var(--teal-dim); color: var(--teal);
  font-size: 9px; font-weight: 600; padding: 3px 8px; border-radius: 20px;
  margin-top: 6px;
}

.phone-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(20,184,166,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none; z-index: -1;
}

/* ─── Section Label ─── */
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 520px; margin: 16px auto 0; font-size: 1.05rem; }

/* ─── Divider trail ─── */
.trail-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 0 auto 48px;
}
.trail-divider span {
  display: block; height: 3px; border-radius: 2px; background: var(--teal);
}
.trail-divider span:nth-child(1) { width: 20px; opacity: 0.3; }
.trail-divider span:nth-child(2) { width: 30px; opacity: 0.65; }
.trail-divider span:nth-child(3) { width: 50px; opacity: 1; }

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover { border-color: rgba(20,184,166,0.3); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--teal-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: 0.92rem; line-height: 1.65; }

/* ─── Screenshots ─── */
.screenshots-section { background: var(--bg2); }

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.screenshot-placeholder {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 9/16;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  transition: border-color 0.2s;
}

.screenshot-placeholder:hover { border-color: rgba(20,184,166,0.3); }

.screenshot-icon { font-size: 28px; opacity: 0.4; }
.screenshot-label { font-size: 0.78rem; font-weight: 500; color: var(--muted); }

/* ─── Interests ─── */
.interests-section {
  background: linear-gradient(135deg, rgba(20,184,166,0.06) 0%, transparent 60%);
}

.interests-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.interests-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}

.tag {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.85rem; font-weight: 500;
  padding: 8px 16px; border-radius: 100px;
  transition: all 0.2s; cursor: default;
}

.tag:hover, .tag.active {
  background: var(--teal-dim);
  border-color: rgba(20,184,166,0.4);
  color: var(--teal);
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(circle, rgba(20,184,166,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 { margin-bottom: 16px; }
.cta-box p  { margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

.coming-soon-note {
  display: block;
  font-size: 0.78rem; font-weight: 500;
  color: var(--muted); margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }

.footer-copy { font-size: 0.82rem; color: var(--muted); }

/* ─── Inner Pages ─── */
.page-hero {
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; }
.page-hero p { font-size: 1rem; max-width: 600px; }

.page-content { padding: 64px 0 100px; }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--white); }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--text); }
.prose p  { font-size: 0.95rem; margin-bottom: 16px; color: var(--subtle); }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose ul li { font-size: 0.95rem; color: var(--subtle); margin-bottom: 8px; line-height: 1.6; }
.prose a  { color: var(--teal); }
.prose a:hover { text-decoration: underline; }

.last-updated {
  display: inline-block;
  background: var(--teal-dim);
  color: var(--teal);
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 12px; border-radius: 6px;
  margin-bottom: 32px;
}

/* Support cards */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 48px; }

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.support-card:hover { border-color: rgba(20,184,166,0.3); }
.support-card .feature-icon { margin-bottom: 16px; }
.support-card h3 { margin-bottom: 8px; }
.support-card p { font-size: 0.9rem; }

.email-cta {
  background: var(--card);
  border: 1px solid rgba(20,184,166,0.3);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.email-cta h2 { margin-bottom: 10px; }
.email-cta p  { margin-bottom: 24px; }
.email-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal);
  color: var(--bg);
  font-weight: 700; font-size: 1rem;
  padding: 14px 32px; border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.email-link:hover { background: var(--teal-dark); color: white; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .features-grid     { grid-template-columns: 1fr; }
  .screenshots-grid  { grid-template-columns: repeat(2, 1fr); }
  .interests-inner   { grid-template-columns: 1fr; }
  .nav-links         { display: none; }
  .footer-inner      { flex-direction: column; align-items: flex-start; }
  .support-grid      { grid-template-columns: 1fr; }
  .cta-box           { padding: 48px 24px; }
  .section           { padding: 72px 0; }
}

@media (max-width: 480px) {
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions     { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
