/* TOM Lite - Modern Landing Page Styles */

:root {
  --tom-gold: #c9a84c;
  --tom-gold-hover: #dfbc5e;
  --tom-gold-glow: rgba(201, 168, 76, 0.25);
  --tom-bg: #070709;
  --tom-card: rgba(18, 18, 22, 0.7);
  --tom-card-border: rgba(255, 255, 255, 0.08);
  --tom-text-primary: #f5f5f7;
  --tom-text-secondary: #9aa0a6;
  --tom-text-muted: #6b7280;
}

#landing-page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: var(--tom-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(138, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  color: var(--tom-text-primary);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50;
}

#landing-page.tom-hidden {
  display: none !important;
}

/* Floating Return Button in Studio */
#return-to-landing {
  position: fixed;
  top: 14px;
  right: 180px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #e5e5e5;
  background: rgba(20, 20, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

#return-to-landing:hover {
  background: rgba(35, 35, 45, 0.95);
  border-color: var(--tom-gold);
  color: var(--tom-gold);
  transform: translateY(-1px);
}

/* Navbar */
.tom-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1280px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 9, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.tom-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #c9a84c 0%, #e6cf8b 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--tom-gold-glow);
}

.tom-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #000;
}

.tom-logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.tom-version-pill {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--tom-gold);
}

.tom-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.tom-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--tom-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tom-nav-link:hover {
  color: #fff;
}

.tom-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tom-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tom-text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.tom-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.tom-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #070709;
  background: linear-gradient(135deg, #c9a84c 0%, #ecd79c 100%);
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tom-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(201, 168, 76, 0.5);
  filter: brightness(1.05);
}

.tom-btn-primary:active {
  transform: translateY(0);
}

/* Container */
.tom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.tom-hero {
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
}

.tom-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #d1d5db;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.tom-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.tom-hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 20px;
}

.tom-hero-title .tom-gradient-text {
  background: linear-gradient(135deg, #fff 30%, #c9a84c 85%, #f1dc9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tom-hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--tom-text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.tom-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.tom-btn-large {
  padding: 13px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.tom-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tom-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Interactive Timeline Mockup */
.tom-mockup-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 16px;
  background: #0f0f13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.8),
    0 0 100px rgba(201, 168, 76, 0.12);
  overflow: hidden;
  text-align: left;
}

.tom-mockup-header {
  height: 42px;
  background: #141418;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.tom-mockup-dots {
  display: flex;
  gap: 7px;
}

.tom-mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.tom-mockup-title {
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.02em;
}

.tom-mockup-badge {
  font-size: 11px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.tom-mockup-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  background: #09090c;
}

@media (max-width: 860px) {
  .tom-mockup-body {
    grid-template-columns: 1fr;
  }
}

.tom-mockup-stage {
  height: 220px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tom-mockup-stage-content {
  text-align: center;
}

.tom-mockup-playhead-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 2px;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  z-index: 10;
}

.tom-mockup-sidebar {
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tom-mockup-card {
  background: #17171c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px;
}

.tom-mockup-card-label {
  font-size: 11px;
  color: #a1a1aa;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tom-mockup-card-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--tom-gold);
}

.tom-mockup-timeline {
  grid-column: 1 / -1;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tom-mockup-track {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  background: #131317;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 11px;
  color: #71717a;
}

.tom-track-name {
  width: 70px;
  font-weight: 600;
}

.tom-track-clips {
  flex: 1;
  display: flex;
  gap: 6px;
  height: 28px;
}

.tom-clip {
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
}

.tom-clip-video {
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  flex: 2;
}

.tom-clip-video-2 {
  background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
  flex: 3;
}

.tom-clip-audio {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  flex: 5;
}

.tom-clip-caption {
  background: linear-gradient(90deg, #d97706 0%, #b45309 100%);
  flex: 4;
}

/* Features Grid */
.tom-section {
  padding: 96px 0;
  position: relative;
}

.tom-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.tom-section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tom-gold);
  margin-bottom: 12px;
}

.tom-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.tom-section-desc {
  font-size: 16px;
  color: var(--tom-text-secondary);
  line-height: 1.6;
}

.tom-grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

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

.tom-feature-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.tom-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--tom-gold);
}

.tom-feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.tom-feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tom-text-secondary);
}

/* Steps Section */
.tom-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .tom-steps-grid {
    grid-template-columns: 1fr;
  }
}

.tom-step-card {
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 30px;
  position: relative;
}

.tom-step-num {
  font-size: 32px;
  font-weight: 800;
  color: rgba(201, 168, 76, 0.3);
  margin-bottom: 12px;
  font-family: monospace;
}

.tom-step-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.tom-step-desc {
  font-size: 14px;
  color: var(--tom-text-secondary);
  line-height: 1.6;
}

/* CTA Banner */
.tom-cta-banner {
  margin: 64px auto 96px;
  background: radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.15) 0%, rgba(15, 15, 20, 0.8) 100%);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 20px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.tom-cta-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.tom-cta-desc {
  font-size: 16px;
  color: var(--tom-text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* Footer */
.tom-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 0;
  text-align: center;
  font-size: 13px;
  color: var(--tom-text-muted);
}

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

.tom-footer a {
  color: var(--tom-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.tom-footer a:hover {
  color: var(--tom-gold);
}
