/* Restaurant-REX White Paper Styles - Updated to match Infinite Menu design */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #04090c;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(4, 9, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

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

.nav-menu-items {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.brand img {
  height: 40px;
  width: auto;
}

/* Section Styles */
.section {
  padding: 5rem 0;
  color: white;
}

.section:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #ffffff;
  line-height: 1.2;
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  text-align: center;
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: left;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.feature-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* Tech Stack Grid */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.tech-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.tech-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.tech-item p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.metric-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* List Styles */
.benefits-list {
  max-width: 700px;
  margin: 3rem auto;
  text-align: left;
}

.benefits-list li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  transition: all 0.3s ease;
}

.benefits-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.benefits-list li strong {
  color: #ffffff;
  font-weight: 700;
}

/* Timeline Styles */
.roadmap-timeline {
  max-width: 800px;
  margin: 3rem auto;
  position: relative;
}

.timeline-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  margin-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 2rem;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  border: 3px solid #04090c;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 3rem;
  width: 2px;
  height: calc(100% + 2rem);
  background: rgba(255, 255, 255, 0.3);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-phase {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.timeline-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid #22c55e;
}

.status-current {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid #fbbf24;
}

.status-pending {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
  border: 1px solid #9ca3af;
}

.timeline-item ul {
  list-style: none;
  padding: 0;
}

.timeline-item li {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.timeline-item li::before {
  content: '•';
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  left: 0;
}

/* Button Styles */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1.1rem;
  }
  
  .feature-grid,
.tech-stack {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-item,
  .tech-item {
    padding: 1.5rem;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-item {
    margin-left: 1rem;
    padding: 1.5rem;
  }
  
  .timeline-item::before {
    left: -1rem;
  }
  
  .timeline-item::after {
    left: -0.5rem;
  }
  
  .nav-menu-items {
    gap: 15px;
}

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .metric-value {
    font-size: 2rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-menu-items {
    flex-direction: column;
    gap: 10px;
  }
}

/* Preloader Styles */
.preloader {
  z-index: 5000;
  border-bottom: 1px none var(--light-outline);
  background-color: #04090c;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0%;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-center {
  z-index: 50;
  position: relative;
}

/* Hero Section */
.project-hero {
  min-height: 100vh;
  position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  background: linear-gradient(135deg, #04090c 0%, #1a1a2e 100%);
  padding-top: 80px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
    display: flex;
  flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
  text-align: center;
}

/* Footer Styles */
.footer-section {
  background: #000000;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legacy styles for backward compatibility */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(4, 9, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

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

.nav-logo img {
  height: 40px;
    width: auto;
  }
  
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.header {
  min-height: 100vh;
  position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  background: linear-gradient(135deg, #04090c 0%, #1a1a2e 100%);
  padding-top: 80px;
}

.header-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.header-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-align: center;
}

.header-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
    line-height: 1.6;
  text-align: center;
}

.main {
  background: #04090c;
  color: white;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
    align-items: center;
  margin: 3rem 0;
}

.content-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2rem 0 1rem 0;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  padding-left: 0;
  line-height: 1.7;
}

.feature-list strong {
  color: #ffffff;
  font-weight: 700;
}

.content-visual img {
    width: 100%;
    height: auto;
  border-radius: 12px;
}

.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.problem h3,
.solution h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.problem ul,
.solution ul {
  list-style: none;
  padding: 0;
}

.problem li,
.solution li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.problem li strong,
.solution li strong {
  color: #ffffff;
  font-weight: 700;
}

.ux-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.flow-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  margin: 0 auto 1rem auto;
  font-size: 1.2rem;
}

.flow-step h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.flow-step p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

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

.metric {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

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

.roadmap-phase {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
}

.roadmap-phase h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.roadmap-phase ul {
  list-style: none;
  padding: 0;
}

.roadmap-phase li {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.roadmap-phase li::before {
  content: '•';
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  left: 0;
}

.conclusion {
  max-width: 800px;
  margin: 0 auto;
}

.key-achievements {
  margin-top: 3rem;
}

.key-achievements h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.key-achievements ul {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.key-achievements li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content-grid,
  .problem-solution {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .ux-flow {
    grid-template-columns: 1fr;
  }
  
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .roadmap {
    grid-template-columns: 1fr;
  }
  
  .header-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .header-title,
  .hero-title {
    font-size: 2rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}