:root {
  /* New Color Palette based on user print */
  --primary-blue: #3266F5;
  --bg-light: #F8FAFC;
  --deep-dark: #1E293B;
  --white: #FFFFFF;
  --accent: #E2E8F0;

  /* Clean Modern Design Variables */
  --border-thick: 1.5px solid rgba(226, 232, 240, 0.8);
  --shadow-hard: 0 8px 24px rgba(50, 102, 245, 0.04);
  --shadow-hard-hover: 0 12px 32px rgba(50, 102, 245, 0.1);
  --radius-lg: 1.5rem;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Animations */
  --bouncy-ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--deep-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

h1::first-letter,
h2::first-letter,
h3::first-letter,
h4::first-letter,
h5::first-letter,
h6::first-letter {
  text-transform: uppercase;
}

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

/* -------------------
   UTILITIES
   ------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(50, 102, 245, 0.15);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn::first-letter {
  text-transform: uppercase;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(50, 102, 245, 0.25);
  background-color: #2555e0;
}

.btn-white {
  background-color: transparent;
  color: var(--deep-dark);
  border: 2px solid var(--deep-dark);
  box-shadow: none;
}

.btn-white:hover {
  background-color: var(--deep-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 27, 34, 0.12);
}

.btn-large {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 1.2rem 2.6rem;
  font-size: 1.2rem;
}

.wobble:hover {
  animation: wobble 0.5s var(--bouncy-ease);
}

@keyframes wobble {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg) scale(1.05);
  }

  75% {
    transform: rotate(5deg) scale(1.05);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

.sticker {
  position: absolute;
  background: var(--white);
  border: 2px solid #6577ff;
  border-radius: 50%;
  width: 3.8rem;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(101, 119, 255, 0.22);
  z-index: 10;
}

.float-1 {
  animation: float-lock 4s ease-in-out infinite;
}

.float-2 {
  animation: float-fingerprint 5s ease-in-out infinite;
}

@keyframes float-lock {

  0%,
  100% {
    transform: translate(0px, 0px) rotate(-3deg);
  }

  50% {
    transform: translate(-3px, -3px) rotate(3deg);
  }
}

@keyframes float-fingerprint {

  0%,
  100% {
    transform: translate(0px, 0px) rotate(-3deg);
  }

  50% {
    transform: translate(3px, 3px) rotate(3deg);
  }
}

.tilt-right {
  transform: rotate(2deg);
}

.tilt-left {
  transform: rotate(-2deg);
}

/* -------------------
   NAV PILL
   ------------------- */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  transform: none;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6% 1.5rem 6%;
  z-index: 100;
  transition: all 0.3s ease;
}

.sticky-nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(50, 102, 245, 0.05);
  padding: 1.2rem 6%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--deep-dark);
}

.logo-mark {
  background: var(--primary-blue);
  color: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 12px rgba(50, 102, 245, 0.2);
}

.logo-text {
  display: inline-block;
  text-transform: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  font-weight: 500;
}

.nav-links a {
  display: inline-block;
  font-size: 0.95rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
  font-weight: 600;
}

/* -------------------
   HERO
   ------------------- */
.hero {
  padding: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 42fr 58fr;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 102, 245, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(50, 102, 245, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(50, 102, 245, 0);
  }
}

.headline {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: none;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.text-gradient {
  color: var(--primary-blue);
}

.subtext {
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  max-width: 520px;
  color: #475569;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: nowrap;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 1rem 5rem 6%;
  z-index: 2;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.95) 4%, transparent 12%);
  z-index: 2;
  pointer-events: none;
}

.hero-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

/* -------------------
   MARQUEE
   ------------------- */
.marquee-container {
  background: #f8fafc;
  color: #64748b;
  padding: 1.2rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  margin: 4rem 0;
}

.tilt-banner {
  transform: rotate(-0.5deg) scale(1.02);
}

.marquee {
  display: flex;
  white-space: nowrap;
  gap: 3rem;
  animation: scrollLeft 25s linear infinite;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* -------------------
   BENTO GRID
   ------------------- */
.features {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  grid-auto-flow: dense;
}

.bento-card {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(50, 102, 245, 0.04);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.col-7 {
  grid-column: span 7;
}

.col-5 {
  grid-column: span 5;
}

.col-12 {
  grid-column: span 12;
}

.bento-light {
  background: var(--white);
}

.bento-dark {
  background: var(--deep-dark);
  color: var(--white);
}

.bento-primary {
  background: var(--primary-blue);
  color: var(--white);
}

.card-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-accent {
  color: var(--primary-blue);
}

.card-icon {
  margin-top: 2rem;
}

.pop-out {
  position: absolute;
  bottom: -10px;
  right: -10px;
  transform: rotate(-10deg);
  opacity: 0.2;
}

.mini-dashboard {
  background: var(--white);
  border: var(--border-thick);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
  color: var(--deep-dark);
  box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 2px dashed #ccc;
  font-weight: 500;
}

.dash-row:last-child {
  border-bottom: none;
}

.badge {
  background: var(--deep-dark);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  border: 2px solid var(--deep-dark);
}

.badge-success {
  background: #10B981;
}

/* -------------------
   HOW IT WORKS
   ------------------- */
.how-it-works {
  padding: 8rem 5%;
  background: var(--accent);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

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

.step-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(50, 102, 245, 0.04);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(50, 102, 245, 0.08);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 30px;
  background: var(--primary-blue);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 12px rgba(50, 102, 245, 0.3);
}

.step-card i {
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.step-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}


/* -------------------
   FAQ
   ------------------- */
.faq {
  padding: 5rem 5%;
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 3rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(50, 102, 245, 0.03);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item summary {
  padding: 1.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.3s;
}

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

.faq-item[open] summary {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 1.5rem;
  background: var(--white);
}

.faq-icon {
  transition: transform 0.3s var(--bouncy-ease);
}

/* -------------------
   FOOTER
   ------------------- */
footer {
  margin-top: 5rem;
}

.giant-cta {
  background: var(--primary-blue);
  padding: 6rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  box-shadow: 0 20px 40px rgba(50, 102, 245, 0.15);
}

.massive-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.15;
  font-weight: 800;
}

.giant-cta .btn-white {
  background-color: var(--white);
  color: var(--primary-blue);
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.giant-cta .btn-white:hover {
  background-color: #f1f5f9;
  color: #2555e0;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.footer-bottom {
  background: var(--white);
  position: relative;
  padding: 3rem 5% 2rem;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}

.bg-text {
  font-family: var(--font-heading);
  font-size: 15vw;
  font-weight: 700;
  color: var(--deep-dark);
  opacity: 0.03;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.footer-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* -------------------
   LOGIN PAGE
   ------------------- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  background-color: var(--bg-light);
}

.login-page::before {
  content: '';
  position: fixed;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-image: url('/assets/img/fundo.png');
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.85);
  /* Aplica o blur e escurece um pouco para o card branco destacar mais */
  z-index: -1;
}

.login-back {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: #6577ff;
  border: none;
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(101, 119, 255, 0.22);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.login-back:hover {
  background: #5263eb;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(101, 119, 255, 0.3);
}

.login-card {
  background: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 0px var(--deep-dark);
  width: 100%;
  max-width: 500px;
  padding: 3rem;
  position: relative;
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: var(--border-thick);
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  background: var(--white);
  box-shadow: 4px 4px 0px var(--primary-blue);
  border-color: var(--primary-blue);
}

.login-btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
  font-size: 1.25rem;
  padding: 1rem;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
  font-weight: 700;
  color: #666;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 2px dashed #ccc;
}

.login-divider::before {
  margin-right: .5em;
}

.login-divider::after {
  margin-left: .5em;
}

.login-options {
  display: flex;
  gap: 1rem;
}

.btn-social {
  flex: 1;
  justify-content: center;
  background: var(--bg-light);
  color: var(--deep-dark);
}

.btn-social:hover {
  background: var(--white);
}

/* ===================================================================
   RESPONSIVE — Landing Page
   =================================================================== */

/* ── TABLET (≤ 1024px) ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    min-height: 100vh;
    padding: 0;
    gap: 0;
    position: relative;
    background: url('/assets/img/landing-hero-bg.jpg') 65% center / cover no-repeat;
    background-color: #f0ebe3;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 6%;
    align-items: center;
    justify-content: center;
    margin: auto 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  }

  .hero-visual {
    display: none;
  }

  .headline {
    color: #0f172a;
    text-shadow: none;
  }

  .text-gradient {
    color: #3266F5;
    text-shadow: none;
  }

  .subtext {
    color: #334155;
    text-shadow: none;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
  }

  .hero-actions .btn-primary {
    box-shadow: 0 8px 25px rgba(50, 102, 245, 0.35);
  }

  .hero-actions .btn-white {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .bento-card {
    grid-column: span 12 !important;
  }

  .giant-cta {
    padding: 5rem 5%;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── MOBILE (≤ 768px) ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .sticky-nav {
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
    transform: none;
    padding: 1rem 5%;
    border-radius: 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
  }

  .nav-links {
    display: none;
  }

  .sticky-nav .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 100vh;
    padding: 0;
    background-position: 70% center;
  }

  .hero-content {
    padding: 2.5rem 6%;
    margin: auto 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  }

  .headline {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .subtext {
    font-size: 0.9rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .brutalist-phone {
    width: 210px !important;
    height: 420px !important;
    transform: rotate(-1deg);
    margin: 1rem auto;
    border-radius: 2.5rem;
  }

  .phone-screen {
    border-radius: 1.75rem;
  }

  .app-header {
    background: var(--primary-blue);
    padding: 1.8rem 0.5rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  .app-feed {
    padding: 0.75rem !important;
    gap: 0.6rem !important;
  }

  .feed-item {
    background: var(--white);
    padding: 0.6rem !important;
    gap: 0.5rem !important;
    border-radius: 0.75rem !important;
    border-width: 1.5px !important;
    box-shadow: 2px 2px 0px var(--deep-dark) !important;
  }

  .item-icon {
    width: 28px !important;
    height: 28px !important;
    padding: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .item-icon i {
    width: 14px !important;
    height: 14px !important;
  }

  .item-text {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
    font-weight: 800;
  }

  .sticker {
    width: 2.25rem;
    height: 2.25rem;
    z-index: 10;
  }

  .sticker.float-1 {
    top: 20% !important;
    left: -5% !important;
  }

  .sticker.float-2 {
    bottom: 20% !important;
    right: -5% !important;
  }

  .marquee {
    font-size: 1rem;
    gap: 1.5rem;
  }

  .marquee-container {
    margin: 2rem 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features {
    padding: 3rem 5%;
  }

  .bento-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .faq {
    padding: 3rem 5%;
  }

  .faq h2 {
    font-size: 2.25rem;
  }

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

  .massive-headline {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 2rem;
  }

  .giant-cta {
    padding: 4rem 5%;
  }

  .giant-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    padding: 2rem 5% 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* Login Page Mobile */
  .login-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 6px 6px 0px var(--deep-dark);
  }

  .login-header h1 {
    font-size: 2rem;
  }

  .login-back {
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .login-options {
    flex-direction: column;
  }
}

/* ── SMALL MOBILE (≤ 480px) ────────────────────────────────────── */
@media (max-width: 480px) {
  .hero {
    padding: 6rem 4% 2rem;
  }

  .headline {
    font-size: 2rem;
  }

  .subtext {
    font-size: 0.9rem;
  }

  .pill-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }

  .brutalist-phone {
    width: 160px;
    height: 320px;
    border-radius: 2rem;
  }

  .phone-screen {
    border-radius: 1.5rem;
  }

  .feed-item {
    font-size: 0.75rem;
    padding: 0.75rem;
  }

  .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .faq h2 {
    font-size: 1.75rem;
  }

  .massive-headline {
    font-size: 1.75rem;
  }

  .login-card {
    padding: 1.5rem 1.25rem;
  }

  .login-header h1 {
    font-size: 1.75rem;
  }

  .form-input {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .form-label {
    font-size: 0.95rem;
  }
}

/* -------------------
   MODAL & INTERACTIVITY
   ------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 3rem;
  width: 90%;
  max-width: 550px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s var(--bouncy-ease);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--deep-dark);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

.form-success-message {
  text-align: center;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success-message h3 {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .modal-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 6px 6px 0px var(--deep-dark);
    width: 95%;
  }

  .modal-header h2 {
    font-size: 1.75rem;
  }

  .form-success-message h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .modal-card {
    padding: 1.5rem 1rem;
    border-radius: 1.25rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }
}

/* ==========================================
   VIDEO MATCHING LOGIN CARD STYLES
   ========================================== */
.video-style-card {
  display: flex;
  align-items: stretch;
  width: 780px;
  height: 480px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(50, 102, 245, 0.15);
  position: relative;
  overflow: visible;
}

/* 1. Left Nav */
.card-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100px;
  padding: 2rem 0;
  list-style: none;
  z-index: 5;
}

.brand-icon-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #6577ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(101, 119, 255, 0.3);
}

.brand-icon-mark i {
  width: 24px;
  height: 24px;
}

.card-nav li {
  width: 100%;
}

.card-nav li.nav-logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.active-bar {
  position: absolute;
  left: 0;
  width: 4px;
  height: 48px;
  background: #6577ff;
  border-radius: 0 4px 4px 0;
  transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-nav.signin-active .active-bar {
  top: 115px;
}

.card-nav.signup-active .active-bar {
  top: 177px;
}

.nav-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0.75rem 0;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-btn.active {
  color: #1e293b;
}

.nav-btn i {
  width: 22px;
  height: 22px;
}

/* 2. Middle Hero Card */
.card-hero {
  position: relative;
  flex: 0 0 290px;
  margin: -25px 0;
  border-radius: 24px;
  overflow: hidden;
  background: #6577ff;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(101, 119, 255, 0.35);
}

.card-hero-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200%;
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hero-content {
  height: 530px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem 0 0 0;
  color: #ffffff;
  box-sizing: border-box;
}

.card-hero-content h2 {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #ffffff;
  padding: 0 2rem;
}

.card-hero-content h3 {
  font-size: 0.88rem;
  font-weight: 400;
  opacity: 0.88;
  color: #ffffff;
  margin-bottom: 1rem;
  padding: 0 2rem;
}

.hero-illustration {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding-bottom: 0;
}

.hero-illustration svg,
.hero-illustration img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: -15px;
}

/* 3. Right Form Container */
.card-form {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 0;
}

.card-form .forms {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200%;
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-form form {
  height: 480px;
  padding: 2.2rem 2.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.form-switch-prompt {
  font-size: 0.85rem;
  color: #64748b;
  text-align: right;
  margin-bottom: 1.2rem;
}

.form-switch-prompt a {
  color: #6577ff;
  font-weight: 700;
  text-decoration: none;
}

.v-form-group {
  margin-bottom: 1rem;
}

.v-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.v-form-input {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 1rem;
  background: #f1f5f9;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
}

.v-form-input:focus {
  background: #ffffff;
  border-color: #6577ff;
  box-shadow: 0 0 0 4px rgba(101, 119, 255, 0.15);
}

.input-icon {
  position: absolute;
  right: 1rem;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

.input-icon-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forgot-link {
  font-size: 0.8rem;
  color: #6577ff;
  font-weight: 600;
  text-decoration: none;
}

.v-btn-primary {
  width: 100%;
  padding: 0.85rem;
  background: #6577ff;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(101, 119, 255, 0.3);
  transition: all 0.2s ease;
  margin-top: 0.2rem;
}

.v-btn-primary:hover {
  background: #5263eb;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(101, 119, 255, 0.4);
}

.form-disclaimer {
  font-size: 0.73rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
}

.form-disclaimer a {
  color: #6577ff;
  text-decoration: underline;
}

/* Responsive adjustments — Login Page */
@media (max-width: 820px) {

  /* ── Page container ── */
  .login-page {
    padding: 1rem;
    align-items: flex-start;
    min-height: 100vh;
  }

  .login-page::before {
    filter: blur(18px) brightness(0.7);
  }

  /* ── Back button ── */
  .login-back {
    position: fixed;
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    z-index: 200;
  }

  /* ── Floating stickers ── */
  .sticker {
    display: none !important;
  }

  /* ── Main card ── */
  .video-style-card {
    flex-direction: column;
    height: auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    margin-top: 4rem;
  }

  /* ── Tab navigation (top) ── */
  .card-nav {
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 0;
    justify-content: stretch;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
  }

  .card-nav li {
    flex: 1;
  }

  .card-nav li.nav-logo {
    display: none;
  }

  .active-bar {
    display: none;
  }

  .nav-btn {
    padding: 1rem 0.5rem;
    font-size: 0.85rem;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    width: 100%;
    white-space: nowrap;
  }

  .nav-btn.active {
    color: #6577ff;
    border-bottom-color: #6577ff;
    background: rgba(101, 119, 255, 0.04);
  }

  .nav-btn i {
    width: 18px;
    height: 18px;
  }

  /* ── Hero panel (hidden on mobile) ── */
  .card-hero {
    display: none;
  }

  /* ── Form panel — CRITICAL: reset the absolute positioning ── */
  .card-form {
    position: relative;
    flex: none;
    width: 100%;
    overflow: visible;
    padding: 0;
  }

  .card-form .forms {
    position: relative !important;
    height: auto !important;
    top: 0 !important;
  }

  .card-form form {
    height: auto !important;
    padding: 2rem 1.5rem 1.5rem;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
  }

  .card-form form.active {
    display: flex;
  }

  /* ── Form elements ── */
  .form-switch-prompt {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .v-form-input {
    font-size: 1rem;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
  }

  .v-btn-primary {
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 14px;
  }

  .form-disclaimer {
    font-size: 0.75rem;
  }

  /* ── Turnstile captcha ── */
  .cf-turnstile {
    transform: scale(0.9);
    transform-origin: center;
  }
}