:root {
  --primary-h: 28;
  --primary-s: 100%;
  --primary-l: 55%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-glow: hsla(
    var(--primary-h),
    var(--primary-s),
    var(--primary-l),
    0.3
  );

  --secondary-h: 180;
  --secondary-s: 100%;
  --secondary-l: 25%;
  --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));

  --bg-dark: #050505;
  --bg-card: #0f0f0f;
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Animations */
.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

span {
  color: var(--primary);
}

header {
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    padding: 8rem 2rem;
    gap: 2rem;
    text-align: center;
    z-index: 1050;
  }

  nav ul.mobile-active {
    display: flex;
  }

  nav ul li {
    width: 100%;
  }

  nav a {
    font-size: 1.5rem;
  }
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: 0.3s;
}

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

.cta-small {
  background: var(--primary);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  color: black !important;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Hero Section */
.hero {
  height: 100vh;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  margin-bottom: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.cta-primary {
  background: var(--primary);
  color: black;
  text-decoration: none;
  padding: 1.25rem 2.75rem;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.5s var(--ease-out-expo);
  box-shadow: 0 10px 30px var(--primary-glow);
  border: none;
  cursor: pointer;
}

.cta-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px var(--primary-glow);
}

.cta-secondary {
  border: 1px solid var(--glass-border);
  color: white;
  text-decoration: none;
  padding: 1.25rem 2.75rem;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.5s var(--ease-out-expo);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.hero-visual {
  flex: 1;
  max-width: 500px;
}

.glass-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1rem;
  transform: rotate3d(1, -1, 0, 15deg);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  max-width: 450px;
  margin: 0 auto;
}

.glass-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* Feature Section */
.features {
  padding: 10rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Screenshots Carousel */
.screenshots {
  padding: 10rem 5%;
  background: radial-gradient(circle at center, #1a1a1a, #0a0a0a);
}

.carousel-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.carousel-slide {
  display: none;
  animation: fadeIn 0.5s;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.carousel-caption {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: white;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: var(--primary);
  color: black;
}

.carousel-btn.prev {
  left: -30px;
}

.carousel-btn.next {
  right: -30px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: 0.3s;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* How It Works */
.how-it-works {
  padding: 10rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.step-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--bg-card);
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    var(--primary-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.step-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary), #ff6b00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: black;
}

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

.step-card p {
  color: var(--text-muted);
}

/* FAQ Section */
.faq {
  padding: 10rem 5%;
  background: radial-gradient(circle at center, #1a1a1a, #0a0a0a);
}

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

.faq-item {
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: 0.3s;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Outfit", sans-serif;
}

.faq-icon {
  font-size: 1.5rem;
  transition: 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Feature Section (continued) */

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Persona Tabs */
.persona-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Outfit", sans-serif;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--primary);
  color: black;
  border-color: var(--primary);
}

/* Persona Content */
.feature-detail-container {
  position: relative;
  min-height: 400px;
}

.persona-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.persona-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.feature-card {
  background: var(--bg-card);
  padding: 3.5rem 2.5rem;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  transition: all 0.6s var(--ease-out-expo);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 2rem;
}

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

.feature-card p {
  color: var(--text-muted);
}

/* Pricing Section */
.pricing {
  padding: 10rem 5%;
  background: radial-gradient(circle at center, #1a1a1a, #0a0a0a);
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 4rem;
  border-radius: 32px;
  text-align: center;
  border: 1px solid var(--primary);
  box-shadow: 0 0 50px rgba(255, 140, 0, 0.1);
}

.price-display {
  margin: 3rem 0 1rem;
}

.price-display .currency {
  font-size: 2rem;
  vertical-align: top;
  margin-right: 0.5rem;
}

.price-display .amount {
  font-size: 5rem;
  font-weight: 800;
}

.price-display .period {
  color: var(--text-muted);
}

.pricing-detail {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.calculator {
  margin-bottom: 3rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 16px;
}

.calculator label {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.input-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

input[type="range"] {
  flex: 1;
  accent-color: var(--primary);
}

#staff-display {
  font-weight: 600;
  min-width: 150px;
}

.total-cost {
  font-size: 1.5rem;
  font-weight: 600;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
}

#total-amount {
  color: var(--primary);
}

/* Footer */
footer {
  padding: 5rem 5%;
  border-top: 1px solid var(--glass-border);
}

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

.footer-content div a:hover {
  color: var(--primary);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
}

footer p {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: auto;
    padding-top: 10rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    margin: 0 auto 3rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .glass-card {
    transform: none;
  }
}

/* ROI Calculator */
.roi-calculator {
  padding: 10rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-top: -2rem;
  margin-bottom: 4rem;
}

.calculator-container {
  max-width: 1000px;
  margin: 0 auto;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.input-row label {
  font-weight: 600;
  min-width: 150px;
}

#restaurant-staff {
  flex: 1;
}

#staff-count-display {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  min-width: 50px;
}

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

.comparison-card {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  position: relative;
  transition: 0.3s;
}

.comparison-card:hover {
  transform: translateY(-5px);
}

.comparison-card.traditional {
  border-color: rgba(255, 255, 255, 0.1);
}

.comparison-card.bistro {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.2);
}

.comparison-card .badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), #ff6b00);
  color: black;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

.comparison-card h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.cost-item span:first-child {
  color: var(--text-muted);
}

.cost-item .cost {
  font-weight: 600;
  font-size: 1.1rem;
}

.cost-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid var(--primary);
}

.cost-total .total {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.savings-highlight {
  background: linear-gradient(
    135deg,
    rgba(255, 140, 0, 0.1),
    rgba(255, 107, 0, 0.05)
  );
  border: 2px solid var(--primary);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
}

.savings-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.savings-amount .label {
  font-size: 1.5rem;
  font-weight: 600;
}

.savings-amount .amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
}

.savings-amount .percentage {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.savings-note {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 4rem;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 3rem;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
  margin-top: 1rem;
  cursor: pointer;
  border: none;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary), #ff6b00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: black;
  font-weight: 800;
}

.form-success h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.form-success p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Trust Signals */
.trust-signals {
  padding: 10rem 5%;
  background: radial-gradient(circle at center, #1a1a1a, #0a0a0a);
  max-width: 1200px;
  margin: 0 auto;
}

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

.trust-card {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: 0.3s;
}

.trust-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.trust-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

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

.trust-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.tech-stack {
  text-align: center;
}

.tech-stack h3 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: var(--text-muted);
}

.tech-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 2rem 3rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: 0.3s;
}

.tech-badge:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.tech-logo {
  font-size: 3rem;
}

.tech-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.tech-info strong {
  font-size: 1.3rem;
  color: var(--text-main);
}

.tech-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}
