/* ============================================================
   Garçom Digital — Estilos Principais
   ============================================================ */

/* Reset & Base */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: rgba(255, 255, 255, .2);
  --shadow: 0 10px 35px rgba(30, 64, 175, .12);
}

body {
  font-family: 'Inter', sans-serif;
  background: #f4f7fb;
  color: var(--dark);
  overflow-x: hidden;
}

section {
  padding: 90px 8%;
}

.container {
  max-width: 1300px;
  margin: auto;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .75);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8%;
}

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

.logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.logo h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: .3s;
}

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

.btn {
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: .35s;
  box-shadow: 0 8px 25px rgba(30, 64, 175, .25);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(30, 64, 175, .35);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, .12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(30, 64, 175, .12), transparent 30%),
    #f8fafc;
  padding-top: 140px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 900;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.secondary-btn {
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid rgba(30, 64, 175, .15);
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  transition: .3s;
  background: white;
}

.secondary-btn:hover {
  transform: translateY(-4px);
  background: var(--primary);
  color: white;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-card {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 30px;
  padding: 35px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.glass-card img {
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
}

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

/* ============================================================
   BENEFITS
   ============================================================ */

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title span {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .9rem;
}

.section-title h2 {
  font-size: 2.8rem;
  margin-top: 15px;
}

.benefits {
  background: white;
}

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

.benefit-card {
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(30, 64, 175, .08);
  border-radius: 24px;
  padding: 35px;
  transition: .35s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .04);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.benefit-card i {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.benefit-card h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.benefit-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.steps {
  background: #f8fafc;
}

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

.step-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
  transition: .35s;
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step-card i {
  font-size: 2.3rem;
  color: var(--primary);
  margin: 20px 0;
}

.step-card h3 {
  margin-bottom: 15px;
}

.step-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   DEMO
   ============================================================ */

.demo {
  background: white;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.demo-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-mockup {
  width: 320px;
  height: auto;
  background: #111827;
  border-radius: 42px;
  padding: 14px;
  margin: auto;
  position: relative;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, .25),
    inset 0 0 0 2px rgba(255, 255, 255, .08);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #fff;
}

.demo-text h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
}

.demo-text p {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.demo-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.demo-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.demo-list i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ============================================================
   PLANS
   ============================================================ */

.plans {
  background: #f8fafc;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.plan-card {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 28px;
  padding: 40px 30px;
  transition: .35s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 5px;
}

.price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

.plan-card ul {
  list-style: none;
  margin: 30px 0;
}

.plan-card ul li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  font-weight: 500;
}

.plan-card ul li i {
  color: var(--primary);
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  background:
    linear-gradient(135deg, rgba(30, 64, 175, .96), rgba(59, 130, 246, .96)),
    url('https://images.unsplash.com/photo-1556740749-887f6717d7e4?q=80&w=1400&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  border-radius: 40px;
  margin: 0 8% 100px;
  padding: 80px 40px;
  box-shadow: 0 20px 50px rgba(30, 64, 175, .25);
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 800px;
  margin: auto;
  line-height: 1.9;
  margin-bottom: 35px;
  opacity: .95;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: #0f172a;
  color: white;
  padding: 70px 8% 30px;
}

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

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
  color: #cbd5e1;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: .3s;
}

.footer-col a:hover {
  color: white;
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.socials a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.socials a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #94a3b8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .hero-content,
  .demo-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin: auto auto 35px;
  }

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

  nav {
    display: none;
  }

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

  .demo-text {
    text-align: center;
  }

  .demo-list {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .plans-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .plans-grid::-webkit-scrollbar {
    display: none;
  }

  .plan-card {
    min-width: 85%;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

@media (max-width: 600px) {
  section {
    padding: 70px 6%;
  }

  .navbar {
    padding: 18px 6%;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .price {
    font-size: 2.4rem;
  }
}
