/* PREMIUM SAAS DESIGN SYSTEM - PACEUP */

:root {
  /* Colors */
  --bg-base: #030712;
  --bg-surface: #0f172a;
  --accent-primary: #00E5FF;
  --accent-secondary: #00FF87;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  /* Glass & Cards */
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-bg: rgba(255, 255, 255, 0.05);
  
  /* Glows */
  --glow-primary: rgba(0, 229, 255, 0.3);
  --glow-secondary: rgba(0, 255, 135, 0.2);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img, picture, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-8 { margin-bottom: 2rem; }
.text-muted { color: var(--text-muted); }

/* TEXT STYLES */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* BACKGROUND GLOWS (Radial Gradients) */
.bg-glow {
  position: absolute;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-top {
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(3, 7, 18, 0) 70%);
}

.bg-glow-middle {
  top: 0;
  left: -20vw;
  width: 80vw;
  background: radial-gradient(circle, rgba(0, 255, 135, 0.08) 0%, rgba(3, 7, 18, 0) 70%);
}

.bg-glow-bottom {
  top: 20%;
  right: -20vw;
  width: 80vw;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, rgba(3, 7, 18, 0) 70%);
}

/* BUTTONS */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text-main);
  color: var(--bg-base);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.glow-button {
  box-shadow: 0 0 20px var(--glow-primary);
  background: linear-gradient(135deg, #FFFFFF, #E2E8F0);
}

.glow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--glow-primary), 0 0 10px white;
}

/* GLASS CARDS */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  background: var(--card-hover-bg);
  border-color: rgba(255, 255, 255, 0.15);
}

/* SECTIONS */
.section-premium {
  padding: 6rem 0;
  position: relative;
}

.bg-darker {
  background-color: #02040a;
}

/* HERO SECTION */
.hero-premium {
  padding: 3rem 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden; /* Safe lock against horizontal scrolling on all browsers */
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.hero-actions {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.benefit-tag svg {
  width: 20px;
  height: 20px;
  color: var(--accent-secondary);
}

/* hero-actions styling handled above */

.hero-microcopy {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 0;
  padding: 0;
  background: none !important;
}

.hero-phone {
  border-radius: 32px;
  width: 100%;
  height: auto;
  box-shadow: none !important; /* Completely removed the box shadow to guarantee absolutely zero shadow remains */
  position: relative;
  z-index: 2;
}

.glow-backdrop {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: var(--accent-primary);
  filter: blur(80px);
  opacity: 0.3;
  z-index: 1;
}

.human-card {
  position: absolute;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.human-card-left {
  left: -18%;
  top: 8%;
  width: 48%;
  height: 68%;
  background-image:
    linear-gradient(180deg, rgba(3, 7, 18, 0.1), rgba(3, 7, 18, 0.4)),
    url("./assets/paceup-real/optimized/woman-runner.jpg");
  transform: rotate(-5deg);
}

.human-card-right {
  right: -15%;
  top: 20%;
  width: 45%;
  height: 65%;
  background-image:
    linear-gradient(180deg, rgba(3, 7, 18, 0.1), rgba(3, 7, 18, 0.4)),
    url("./assets/paceup-real/optimized/runner-hero.webp");
  transform: rotate(5deg);
}

.human-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* HOVER INTERACTIVE DRIFT EFFECTS */
.hero-visual:hover .human-card-left {
  transform: rotate(-9deg) translate(-20px, -10px) scale(1.03);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 229, 255, 0.15), 0 15px 35px rgba(0,0,0,0.5);
}

.hero-visual:hover .human-card-right {
  transform: rotate(9deg) translate(20px, 10px) scale(1.03);
  border-color: rgba(0, 255, 135, 0.4);
  box-shadow: 0 20px 45px rgba(0, 255, 135, 0.15), 0 15px 35px rgba(0,0,0,0.5);
}

/* FLOATING ELEMENTS */
.glass-float {
  position: absolute;
  background: #090d1a !important; /* 100% Solid dark background - zero transparency to eliminate background noise/confusion from overlapping images */
  border-radius: 18px;
  padding: 1rem 1.35rem; /* Slightly more spacious */
  display: flex;
  align-items: center;
  gap: 0.95rem;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.float-top {
  top: 10%;
  left: -20%;
  border: 2px solid rgba(0, 229, 255, 0.35); /* Glowing blue border */
  box-shadow: 0 15px 30px rgba(0, 229, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.6);
  animation-delay: 0s;
}

.float-bottom {
  bottom: 15%;
  right: -25%;
  border: 2px solid rgba(0, 255, 135, 0.35); /* Glowing green border */
  box-shadow: 0 15px 30px rgba(0, 255, 135, 0.12), 0 10px 30px rgba(0, 0, 0, 0.6);
  animation-delay: 3s;
}

.float-icon {
  width: 44px; /* Larger icon container */
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); /* Clean modern background */
  font-size: 1.35rem;
}

.float-text strong {
  display: block;
  font-size: 1.05rem; /* Larger font size for supreme legibility */
  font-weight: 800; /* Ultra-bold */
  color: #ffffff; /* Pure white */
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}

.float-text span {
  display: block;
  font-size: 0.875rem; /* Larger font size */
  font-weight: 600; /* Bolder text */
  color: #e2e8f0; /* Crisp light slate, highly readable */
  letter-spacing: -0.01em;
}

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

/* SOCIAL PROOF */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.social-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-img-container {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding-top: 100%;
}

.social-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.social-card:hover .social-img-container img {
  transform: scale(1.05);
}

.rating {
  color: var(--accent-primary);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.quote {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

.author-info strong {
  display: block;
  font-size: 1.1rem;
}

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

/* APP SHOWCASE (MOCKUPS) */
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  align-items: flex-start;
}

.app-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mockup-center {
  transform: translateY(-2rem);
}

.css-phone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  border-radius: 44px;
  padding: 8px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1), 0 25px 50px -12px rgba(0,0,0,0.5);
  overflow: hidden;
}

.glow-intense .css-phone-mockup {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1), 0 0 40px rgba(0, 229, 255, 0.2);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.css-phone-mockup img {
  width: 100%;
  border-radius: 36px;
  display: block;
}

.mockup-caption {
  text-align: center;
}

.mockup-caption h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mockup-caption p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* METHOD INFOGRAPHIC */
.premium-border-card {
  position: relative;
  padding: 4rem 2rem;
}

.premium-border-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-primary), transparent, var(--accent-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
}

.method-header {
  margin-bottom: 3rem;
}

.method-infographic img {
  border-radius: 16px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* PRICING SECTION */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.premium-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.premium-checklist li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 255, 135, 0.1);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 16px;
  height: 16px;
}

.pricing-card-wrapper {
  position: relative;
}

.pricing-card-wrapper::after {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.2), transparent 60%);
  filter: blur(20px);
  z-index: -1;
}

.pricing-card {
  background: #0f172a;
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #030712;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.price-strike-box {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.price-display {
  display: flex;
  align-items: flex-start;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.price-display .currency {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-right: 0.25rem;
}

.price-display .amount {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price-display .cents {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.price-context {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.shield-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.guarantee-text strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.guarantee-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ SECTION */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 1rem !important; /* Extremely tight and compact mobile spacing */
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    margin-top: 0;
    max-width: 320px; /* Tighter on mobile/tablets */
  }

  .hero-actions {
    order: 3;
    align-items: center;
    margin-top: 0.25rem !important; /* Extremely compact spacing below image */
  }

  .pricing-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-inline: auto;
  }
  
  .hero-benefits {
    justify-content: center;
  }
  
  .glass-float {
    display: none; /* Hide on tablets, restore on mobile */
  }

  .product-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .mockup-center {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-premium {
    padding: 3.5rem 0; /* Densidade: ~56px vertical */
  }
  
  .hero-premium {
    padding: 2rem 0 1rem; 
  }

  .cta-button {
    padding: 0.75rem 1.75rem !important; /* Extremely elegant and compact height for mobile */
    font-size: 1rem !important; /* Highly balanced mobile proportion */
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 2.4rem) !important;
    line-height: 1.15;
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: none;
    margin-bottom: 0.5rem !important; /* Compact margin on mobile */
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-top: 1rem;
    padding-inline: 0.5rem;
    max-width: 100%;
  }

  .hero-benefits {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .benefit-tag {
    width: fit-content;
    font-size: 0.95rem;
  }

  .hero-visual {
    margin-top: 2.5rem;
    width: 85%;
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-phone {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .glass-float {
    display: flex; /* Restore */
    padding: 0.95rem 1.25rem; /* Spacious padding */
    gap: 0.75rem;
    width: max-content;
    max-width: 280px; /* Slightly wider */
  }

  .float-top {
    top: 5%;
    left: -15px;
    animation: float 6s ease-in-out infinite;
  }

  .float-bottom {
    bottom: 5%;
    right: -15px;
    animation: float 6s ease-in-out infinite 3s;
  }

  .float-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .float-text strong {
    font-size: 0.95rem; /* Larger and crisper */
  }

  .float-text span {
    font-size: 0.825rem; /* Larger and crisper */
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.0rem) !important;
    line-height: 1.2;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .section-title br {
    display: none;
  }

  .section-subtitle {
    font-size: 0.95rem;
    padding-inline: 0.5rem;
  }

  .social-grid, .steps-grid, .product-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px; /* Elegant gaps */
  }

  .social-card, .step-card {
    max-width: 100%;
    margin-inline: auto;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }

  .premium-checklist li {
    font-size: 1rem;
    gap: 0.75rem;
  }

  .human-card-left {
    left: -10%;
    top: 8%;
    width: 45%;
    height: 65%;
  }

  .human-card-right {
    right: -10%;
    top: 15%;
    width: 45%;
    height: 65%;
  }

  .pricing-card {
    padding: 3.5rem 1.5rem 1.5rem 1.5rem;
  }

  .price-display {
    justify-content: center;
  }

  .price-display .amount {
    font-size: 4rem;
  }

  .guarantee-box {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .guarantee-text strong {
    font-size: 1rem;
  }

  .faq-grid {
    gap: 16px;
  }

  .faq-item summary {
    padding: 1.25rem;
    font-size: 1.05rem;
  }

  .faq-content {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem;
  }

  .cta-button {
    width: 100%;
    padding-inline: 1.25rem;
    font-size: 1.125rem;
    min-height: 56px;
    justify-content: center;
  }

  .hero-actions .hero-microcopy {
    text-align: center;
    font-size: 0.85rem;
  }
}
