/* MenuForge Marketing Site - Main Styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

/* CSS Variables */
:root {
  --bg-dark-primary: #0f0f23;
  --bg-dark-secondary: #1a1a2e;
  --bg-dark-tertiary: #16213e;
  --primary-accent: #F1C671;
  --secondary-accent: #198754;
  --text-white: #ffffff;
  --text-white-80: rgba(255, 255, 255, 0.8);
  --text-white-60: rgba(255, 255, 255, 0.6);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-dark-primary);
}

[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--text-white);
  background: linear-gradient(135deg, var(--bg-dark-primary) 0%, var(--bg-dark-tertiary) 50%, var(--bg-dark-primary) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(241, 198, 113, 0.3);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-white);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-accent);
}

p {
  font-size: 1.125rem;
  color: var(--text-white-80);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--text-white);
  text-decoration: none;
}

/* Animated Background Orbs */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.gradient-orb-1 {
  top: 10%;
  left: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-accent) 0%, transparent 70%);
  animation: float1 20s ease-in-out infinite;
}

.gradient-orb-2 {
  bottom: 20%;
  right: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--secondary-accent) 0%, transparent 70%);
  animation: float2 25s ease-in-out infinite;
}

.gradient-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30vw, 15vh) scale(1.2); }
  66% { transform: translate(-10vw, 25vh) scale(0.9); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25vw, -15vh) scale(0.9); }
  66% { transform: translate(15vw, -20vh) scale(1.1); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.5; }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.container-85 {
  max-width: 85vw;
  margin: 0 auto;
}

/* Scrollbar (Dark Theme – hidden until gutter hover or scroll) */
html {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
html.scrollbar-visible {
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}

html.scrollbar-visible ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  background-clip: content-box;
}

html.scrollbar-visible ::-webkit-scrollbar-thumb:hover {
  background: rgba(241, 198, 113, 0.4);
  background-clip: content-box;
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(15, 15, 35, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
}

.logo img {
  height: 50px;
  width: 50px;
  filter: drop-shadow(0 0 10px rgba(241, 198, 113, 0.5));
}

.brand-ai {
  color: var(--primary-accent);
  text-shadow: 0 0 8px rgba(241, 198, 113, 0.4), 0 0 16px rgba(241, 198, 113, 0.2);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-white-80);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--primary-accent);
}

.nav-links .btn-primary,
.nav-links .btn-primary:hover {
  color: var(--bg-dark-primary) !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent) 0%, #d9a95a 100%);
  color: var(--bg-dark-primary);
  box-shadow: 0 10px 30px rgba(241, 198, 113, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(241, 198, 113, 0.5);
  color: var(--bg-dark-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--primary-accent);
}

.btn-secondary:hover {
  background: var(--primary-accent);
  color: var(--bg-dark-primary);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  padding-bottom: 8rem;
}

.hero + .features {
  margin-top: -4rem;
  padding-top: 4rem;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 30px rgba(241, 198, 113, 0.6));
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(241, 198, 113, 0.6)); }
  50% { filter: drop-shadow(0 0 50px rgba(241, 198, 113, 0.9)); }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--text-white-80);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.25rem;
  color: var(--text-white-60);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(241, 198, 113, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-white-60);
  font-size: 1rem;
  line-height: 1.7;
}

.features-grid-three {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1000px) {
  .features-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid-three {
    grid-template-columns: 1fr;
  }
}

.feature-card-highlight {
  border-color: rgba(241, 198, 113, 0.5) !important;
  background: rgba(241, 198, 113, 0.08) !important;
  box-shadow: 0 0 30px rgba(241, 198, 113, 0.15);
}

.feature-card-highlight:hover {
  border-color: var(--primary-accent) !important;
  background: rgba(241, 198, 113, 0.12) !important;
}

.feature-card-highlight h3 {
  color: var(--primary-accent);
}

/* AI showcase is now integrated inside the features section -- no separate wrapper needed */

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.workflow-step {
  text-align: center;
  position: relative;
}

.workflow-step::after {
  content: '→';
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  font-size: 2rem;
  color: var(--primary-accent);
  opacity: 0.5;
}

.workflow-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-accent), #d9a95a);
  color: var(--bg-dark-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(241, 198, 113, 0.3);
}

.workflow-step h3 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.workflow-step p {
  font-size: 1rem;
}

.workflow-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* Screenshots Section */
.screenshots {
  padding: 6rem 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.screenshot-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.screenshot-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-dark-secondary), var(--bg-dark-tertiary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-accent);
  opacity: 0.5;
}

.screenshot-caption {
  padding: 1.5rem;
  text-align: center;
}

.screenshot-caption h4 {
  color: var(--text-white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.screenshot-caption p {
  color: var(--text-white-60);
  font-size: 0.95rem;
  margin: 0;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-content .footer-links {
  display: inline-block;
  text-align: left;
}

.footer-section h4 {
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-white-60);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white-60);
  font-size: 0.95rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }

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

  .hero {
    padding: 8rem 1rem 3rem;
  }

  .hero-logo {
    margin-top: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .features-grid,
  .workflow-steps,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step::after {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .footer {
    margin-top: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
}

/* Hide app links on mobile/tablet — app is desktop-only */
@media (max-width: 1024px) {
  .nav-links .desktop-only-link,
  .footer-links .desktop-only-link {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }
}
