/* Landing page – red/black theme (also used for app/dashboard) */
.landing-page {
  --electric: #ff3333;
  --cyber-blue: #cc0000;
  --hot-pink: #ff0000;
  --deep-purple: #800000;
  --void: #050505;
  --void-light: #111111;
  --text: #ffffff;
  --text-soft: #cccccc;
  --warning: #ffbe0b;
  /* Map Tailwind tokens to cyber theme so components match */
  --background: #050505;
  --foreground: #ffffff;
  --card: #111111;
  --card-foreground: #ffffff;
  --primary: #ff3333;
  --primary-foreground: #ffffff;
  --secondary: rgba(255, 255, 255, 0.08);
  --secondary-foreground: #ffffff;
  --muted: #111111;
  --muted-foreground: #cccccc;
  --border: rgba(255, 51, 51, 0.3);
  --ring: #ff3333;
  --nav-height: 5.5rem;
  font-family: 'Manrope', sans-serif;
  background: var(--void);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.landing-page .grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 51, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 51, 51, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.landing-page .orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.landing-page .orb-1 {
  width: 500px;
  height: 500px;
  background: var(--electric);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.landing-page .orb-2 {
  width: 400px;
  height: 400px;
  background: var(--deep-purple);
  bottom: -100px;
  right: -100px;
  animation-delay: 5s;
}

.landing-page .orb-3 {
  width: 350px;
  height: 350px;
  background: var(--hot-pink);
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 100px) scale(1.1); }
  66% { transform: translate(-50px, -50px) scale(0.9); }
}

.landing-page .landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 4rem;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 51, 51, 0.2);
  box-sizing: border-box;
  visibility: visible;
  opacity: 1;
}

.landing-page .landing-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.landing-page .landing-nav-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.landing-page .footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--electric);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
}

.landing-page .footer-logo-wrap .footer-logo-size,
.landing-page .footer-logo-wrap .footer-logo-size span,
.landing-page .footer-logo-wrap img {
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  min-height: 100px !important;
  max-width: 100px !important;
  max-height: 100px !important;
  display: block;
}

.landing-page .footer-logo-wrap img {
  object-fit: contain;
}

.landing-page .nav-menu {
  display: none;
  gap: 3rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

@media (min-width: 769px) {
  .landing-page .nav-menu {
    display: flex;
  }
}

.landing-page .nav-menu a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  position: relative;
}

.landing-page .nav-menu a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric);
  transition: width 0.3s;
}

.landing-page .nav-menu a:hover {
  color: var(--electric);
}

.landing-page .nav-menu a:hover::before {
  width: 100%;
}

.landing-page .nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  background: rgba(255, 51, 51, 0.15);
  border: 2px solid var(--electric);
  border-radius: 6px;
  cursor: pointer;
  color: var(--electric);
  transition: all 0.2s;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

@media (min-width: 769px) {
  .landing-page .nav-hamburger {
    display: none !important;
  }
}

.landing-page .nav-hamburger span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--electric);
  margin: 0 auto;
  transition: transform 0.2s;
}

.landing-page .nav-hamburger:hover {
  background: rgba(255, 51, 51, 0.25);
  border-color: var(--electric);
  color: var(--electric);
}

.landing-page .nav-cta {
  padding: 0.8rem 2rem;
  background: transparent;
  border: 2px solid var(--electric);
  color: var(--electric);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  font-family: inherit;
}

.landing-page .nav-cta:hover {
  background: var(--electric);
  color: var(--text);
  box-shadow: 0 0 30px rgba(255, 51, 51, 0.6);
}

.landing-page .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10rem;
  padding-left: 6%;
  padding-right: 6%;
  padding-bottom: 4rem;
  z-index: 1;
  overflow: hidden;
}

.landing-page .hero-content {
  max-width: 1400px;
  width: 100%;
}

.landing-page .hero-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 51, 51, 0.1);
  border: 1px solid var(--electric);
  color: var(--electric);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 1rem;
  margin-bottom: 2rem;
  animation: slideIn 0.8s ease-out;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.landing-page .hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

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

.landing-page .glitch {
  position: relative;
  color: var(--text);
  display: inline-block;
}

.landing-page .glitch::before,
.landing-page .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.landing-page .glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--electric);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitchAnim1 3s infinite linear alternate-reverse;
}

.landing-page .glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--deep-purple);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitchAnim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitchAnim1 {
  0% { clip: rect(87px, 9999px, 94px, 0); }
  25% { clip: rect(33px, 9999px, 61px, 0); }
  50% { clip: rect(15px, 9999px, 98px, 0); }
  75% { clip: rect(69px, 9999px, 12px, 0); }
  100% { clip: rect(44px, 9999px, 72px, 0); }
}

@keyframes glitchAnim2 {
  0% { clip: rect(65px, 9999px, 119px, 0); }
  25% { clip: rect(101px, 9999px, 28px, 0); }
  50% { clip: rect(3px, 9999px, 85px, 0); }
  75% { clip: rect(47px, 9999px, 133px, 0); }
  100% { clip: rect(93px, 9999px, 56px, 0); }
}

.landing-page .hero-desc {
  font-size: 1.4rem;
  color: var(--text-soft);
  max-width: 700px;
  margin-bottom: 3rem;
  font-weight: 500;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.landing-page .hero-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.landing-page .btn-primary {
  padding: 1.3rem 3.5rem;
  background: var(--electric);
  color: var(--text);
  border: none;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  font-family: inherit;
}

.landing-page .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.landing-page .btn-primary:hover::before {
  left: 100%;
}

.landing-page .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255, 51, 51, 0.5);
}

.landing-page .btn-secondary {
  padding: 1.3rem 3.5rem;
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.4s;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  font-family: inherit;
}

.landing-page .btn-secondary:hover {
  background: var(--text);
  color: var(--void);
  transform: translateY(-3px);
}

.landing-page .stats-bar {
  position: relative;
  padding: 4rem 6%;
  background: var(--void-light);
  border-top: 1px solid rgba(255, 51, 51, 0.2);
  border-bottom: 1px solid rgba(255, 51, 51, 0.2);
  z-index: 1;
}

.landing-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.landing-page .stat-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--electric);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
}

.landing-page .stat-item p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  font-weight: 600;
}

.landing-page .features {
  position: relative;
  padding: 10rem 6%;
  z-index: 1;
}

.landing-page .section-header {
  max-width: 800px;
  margin-bottom: 6rem;
}

.landing-page .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.landing-page .section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.landing-page .section-desc {
  font-size: 1.2rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.landing-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
}

.landing-page .feature-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.landing-page .feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 51, 51, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
}

.landing-page .feature-box:hover::before {
  opacity: 1;
}

.landing-page .feature-box:hover {
  transform: translateY(-8px);
  border-color: var(--electric);
  box-shadow: 0 20px 60px rgba(255, 51, 51, 0.2);
}

.landing-page .feature-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: rgba(255, 51, 51, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.landing-page .feature-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--electric);
}

.landing-page .feature-box p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1.05rem;
}

.landing-page .process {
  position: relative;
  padding: 10rem 6%;
  background: var(--void-light);
  z-index: 1;
}

.landing-page .process-flow {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.landing-page .process-step {
  flex: 1;
  min-width: 280px;
  background: rgba(255, 51, 51, 0.03);
  border: 2px solid rgba(255, 51, 51, 0.2);
  padding: 3rem 2rem;
  position: relative;
  transition: all 0.5s;
  clip-path: polygon(0 15px, 15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.landing-page .process-step:hover {
  border-color: var(--electric);
  transform: scale(1.05);
  background: rgba(255, 51, 51, 0.08);
}

.landing-page .step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem;
  color: var(--electric);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 51, 51, 0.5);
  margin-bottom: 1rem;
}

.landing-page .process-step h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.landing-page .process-step p {
  color: var(--text-soft);
  line-height: 1.7;
}

.landing-page .pricing {
  position: relative;
  padding: 10rem 6%;
  z-index: 1;
}

.landing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.landing-page .price-card {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 3rem;
  transition: all 0.5s;
  position: relative;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.landing-page .price-card.featured {
  border-color: var(--electric);
  background: rgba(255, 51, 51, 0.05);
  transform: scale(1.05);
}

.landing-page .price-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 20px;
  right: -10px;
  background: var(--electric);
  color: var(--text);
  padding: 0.4rem 2rem;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  transform: rotate(3deg);
  box-shadow: 0 5px 20px rgba(255, 51, 51, 0.4);
}

.landing-page .price-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--electric);
}

.landing-page .price-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.landing-page .price-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--electric);
}

.landing-page .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  margin: 1.5rem 0;
  line-height: 1;
}

.landing-page .price span {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: var(--text-soft);
  font-weight: 600;
}

.landing-page .price-features {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.landing-page .price-features li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-page .price-features li::before {
  content: '▸';
  color: var(--electric);
  font-size: 1.2rem;
}

.landing-page .cta-section {
  position: relative;
  padding: 10rem 6%;
  text-align: center;
  z-index: 1;
  background: var(--void-light);
}

.landing-page .cta-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border: 2px solid var(--electric);
  background: rgba(255, 51, 51, 0.03);
  clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
  position: relative;
}

.landing-page .cta-box h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.landing-page .cta-box p {
  font-size: 1.3rem;
  color: var(--text-soft);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.landing-page .landing-footer {
  position: relative;
  padding: 4rem 6%;
  border-top: 1px solid rgba(255, 51, 51, 0.2);
  z-index: 1;
}

.landing-page .footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.landing-page .footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--electric);
  letter-spacing: 0.1em;
}

.landing-page .footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-page .footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: color 0.3s;
}

.landing-page .footer-links a:hover {
  color: var(--electric);
}

.landing-page .footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* App/dashboard inner pages – content below fixed nav (never hidden) */
.landing-page .app-shell-main {
  position: relative;
  z-index: 1;
  padding-top: 13rem;
  min-height: 100vh;
  padding-left: 6%;
  padding-right: 6%;
  padding-bottom: 4rem;
}

@media (max-width: 768px) {
  .landing-page .landing-nav {
    min-height: 3.5rem;
    padding: 0.75rem 4%;
    display: flex;
    visibility: visible;
    opacity: 1;
  }
  .landing-page .nav-hamburger {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
  }
  .landing-page .nav-menu {
    display: none;
  }
  .landing-page .nav-menu.nav-menu-open {
    display: flex;
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 5, 5, 0.98);
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 51, 51, 0.2);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  .landing-page .nav-menu.nav-menu-open li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .landing-page .nav-menu.nav-menu-open li:last-child {
    border-bottom: none;
  }
  .landing-page .nav-menu.nav-menu-open a,
  .landing-page .nav-menu.nav-menu-open .nav-cta {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
  }
  .landing-page .hero h1 {
    font-size: 4rem;
  }
  .landing-page .features-grid,
  .landing-page .pricing-grid {
    grid-template-columns: 1fr;
  }
  .landing-page .process-flow {
    flex-direction: column;
  }
}
