/* ===================================================================
   MULTI-RESTO LANDING PAGE - Modern SaaS Design
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
  /* Brand */
  --brand-primary: #26A69A;
  --brand-primary-dark: #1E8C82;
  --brand-primary-light: #4DB6AC;
  --brand-accent: #FF6B6B;
  --brand-gradient: linear-gradient(135deg, #26A69A 0%, #00897B 100%);
  --brand-gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  
  /* Backgrounds */
  --bg-dark: #0F172A;
  --bg-dark-secondary: #1E293B;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  
  /* Text */
  --text-dark: #0F172A;
  --text-light: #FFFFFF;
  --text-muted: #64748B;
  --text-muted-light: rgba(255, 255, 255, 0.7);
  
  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;
  
  /* Effects */
  --glow-primary: 0 0 60px rgba(38, 166, 154, 0.3);
  --glow-accent: 0 0 60px rgba(255, 107, 107, 0.3);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

html {
  scroll-behavior: smooth;
}

body.landing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
}

.nav-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-primary);
}

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

.nav-login {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav-login:hover {
  color: var(--brand-primary);
}

.nav-cta {
  padding: 12px 24px;
  background: var(--brand-gradient);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-light) 0%, #E8F5F3 100%);
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(38, 166, 154, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--brand-primary);
  background: rgba(38, 166, 154, 0.1);
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-title span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--brand-gradient);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.hero-btn-primary svg {
  width: 20px;
  height: 20px;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: white;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: 20%;
  left: -60px;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  bottom: 20%;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== Features Section ===== */
.features {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(38, 166, 154, 0.1);
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px;
  background: var(--bg-light);
  border-radius: 24px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  background: white;
  border-color: var(--brand-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(38, 166, 154, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(38, 166, 154, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.how-it-works .section-title {
  color: var(--text-light);
}

.how-it-works .section-description {
  color: var(--text-muted-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(38, 166, 154, 0.3);
  border-radius: 50%;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}

.step-description {
  font-size: 0.9375rem;
  color: var(--text-muted-light);
  line-height: 1.7;
}

/* ===== Pricing Section ===== */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  background: var(--bg-dark);
  border-color: var(--brand-primary);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: var(--brand-gradient-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-name {
  color: var(--text-light);
}

.pricing-description {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-description {
  color: var(--text-muted-light);
}

.pricing-price {
  margin-bottom: 32px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pricing-card.featured .pricing-amount {
  color: var(--text-light);
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-card.featured .pricing-period {
  color: var(--text-muted-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid #F3F4F6;
}

.pricing-card.featured .pricing-feature {
  color: var(--text-muted-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-feature:last-child {
  border-bottom: none;
}

.pricing-feature-check {
  width: 20px;
  height: 20px;
  background: rgba(38, 166, 154, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pricing-card:not(.featured) .pricing-cta {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid #E5E7EB;
}

.pricing-card:not(.featured) .pricing-cta:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

.pricing-card.featured .pricing-cta {
  background: var(--brand-gradient);
  color: white;
}

.pricing-card.featured .pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.cta-box {
  background: var(--brand-gradient);
  border-radius: 32px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: white;
  color: var(--brand-primary);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.landing-footer {
  background: var(--bg-dark);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-brand-description {
  font-size: 0.9375rem;
  color: var(--text-muted-light);
  line-height: 1.7;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

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

.footer-link {
  display: block;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--text-muted-light);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--brand-primary);
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile nav open state */
.nav-links.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 16px 24px 24px;
  z-index: 999;
}

.nav-links.is-open .nav-link {
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 1rem;
}

.nav-links.is-open .nav-link:last-of-type {
  border-bottom: none;
}

.nav-mobile-actions {
  display: none;
}

.nav-links.is-open .nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding-top: 20px;
}

.nav-links.is-open .nav-mobile-actions .nav-login {
  text-align: center;
  padding: 12px;
  border: 1px solid var(--brand-primary);
  border-radius: 8px;
  color: var(--brand-primary);
  font-weight: 500;
}

.nav-links.is-open .nav-mobile-actions .nav-cta {
  text-align: center;
}

/* Hamburger → X animation */
.nav-toggle span {
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-box {
    padding: 48px 24px;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

