@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;0,900;1,800&family=Space+Grotesk:wght@500;700;900&display=swap');

:root {
  --bg-page: #E0E7FF;
  --primary-indigo: #A5B4FC;
  --secondary-pink: #F9A8D4;
  --mint-green: #A7F3D0;
  --accent-yellow: #FDE047;
  --warning-yellow: #FEF08A;
  --coral-orange: #FFB088;
  --pure-white: #FFFFFF;
  --pure-black: #000000;
  --dark-surface: #1E1B4B;
  
  --border-width: 3px;
  --border-width-thick: 4px;
  --shadow-offset-sm: 3px 3px 0px #000000;
  --shadow-offset-md: 5px 5px 0px #000000;
  --shadow-offset-lg: 8px 8px 0px #000000;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--pure-black);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Base Link & Focus Styles */
a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--pure-black);
  outline-offset: 2px;
}

/* TOP MARQUEE BAND */
.top-marquee {
  background-color: var(--accent-yellow);
  border-bottom: var(--border-width) solid var(--pure-black);
  overflow: hidden;
  padding: 8px 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-content {
  display: inline-block;
  animation: marquee-scroll 22s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 28px;
}

.marquee-item span.star {
  font-size: 1.1rem;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* NAVBAR */
.navbar {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 24px;
}

.nav-container {
  background: var(--pure-white);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 2px solid var(--pure-black);
  object-fit: cover;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.nav-cta {
  background: var(--accent-yellow);
  border: var(--border-width) solid var(--pure-black);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-offset-sm);
  padding: 8px 18px;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
}

.nav-cta:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px #000;
}

/* BUTTONS */
.btn-brutal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 28px;
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-md);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  user-select: none;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--pure-black);
}

.btn-primary:hover {
  background-color: #ffe600;
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-offset-lg);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-offset-sm);
}

.btn-secondary {
  background-color: var(--pure-white);
  color: var(--pure-black);
}

.btn-secondary:hover {
  background-color: var(--bg-page);
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-offset-lg);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-offset-sm);
}

.btn-dark {
  background-color: var(--pure-black);
  color: var(--pure-white);
}

.btn-dark:hover {
  background-color: #1a1a1a;
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0px var(--accent-yellow);
}

.btn-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* BADGES */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--mint-green);
  border: var(--border-width) solid var(--pure-black);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-offset-sm);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* HERO SECTION */
.hero-section {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-title span.highlight-pink {
  background-color: var(--secondary-pink);
  padding: 2px 8px;
  border: var(--border-width) solid var(--pure-black);
  box-shadow: var(--shadow-offset-sm);
  display: inline-block;
}

.hero-title span.highlight-yellow {
  background-color: var(--accent-yellow);
  padding: 2px 8px;
  border: var(--border-width) solid var(--pure-black);
  box-shadow: var(--shadow-offset-sm);
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.6;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.avatars-group {
  display: flex;
}

.avatars-group img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--pure-black);
  margin-left: -10px;
  background: var(--mint-green);
}

.avatars-group img:first-child {
  margin-left: 0;
}

/* HERO COMPACT PHONE SHOWCASE */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 320px;
}

.screen-tab {
  background: var(--pure-white);
  border: 2px solid var(--pure-black);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--pure-black);
  transition: all 0.2s ease;
}

.screen-tab.active,
.screen-tab:hover {
  background: var(--warning-yellow);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--pure-black);
}

.hero-phone-shell {
  position: relative;
  width: 220px;
  height: 440px;
  background: var(--pure-black);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: 36px;
  box-shadow: var(--shadow-offset-md);
  overflow: hidden;
  box-sizing: border-box;
  padding: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-phone-shell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-offset-lg);
}

.hero-phone-shell .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.hero-phone-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
  transition: opacity 0.2s ease;
}


  transform: rotate(-5deg);
  animation: float-bounce 3.5s ease-in-out infinite alternate-reverse;
}

@keyframes float-bounce {
  0% { transform: translateY(0) rotate(5deg); }
  100% { transform: translateY(-10px) rotate(8deg); }
}

/* SECTION CONTAINER */
.section-wrapper {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
}

/* DEMO INTERACTIVE WIDGET SECTION */
.demo-card {
  background: var(--pure-white);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.demo-controls h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.demo-controls p {
  color: #475569;
  font-weight: 600;
  margin-bottom: 24px;
}

.theme-selector {
  margin-bottom: 24px;
}

.theme-selector label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  background: var(--bg-page);
  border: 2px solid var(--pure-black);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover, .chip-btn.active {
  background: var(--accent-yellow);
  box-shadow: 2px 2px 0px #000;
  transform: translate(-1px, -1px);
}

.interactive-habits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.interactive-habit-item {
  background: var(--pure-white);
  border: var(--border-width) solid var(--pure-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.interactive-habit-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #000;
}

.interactive-habit-item.checked {
  background-color: var(--mint-green);
}

.habit-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid var(--pure-black);
  border-radius: 6px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
}

.interactive-habit-item.checked .habit-checkbox {
  background: var(--pure-black);
  color: white;
}

.habit-label {
  font-weight: 800;
  font-size: 1rem;
}

.squad-status-bar {
  margin-top: 20px;
  background: var(--warning-yellow);
  border: var(--border-width) solid var(--pure-black);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* DEMO DISPLAY */
.demo-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-indigo);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-offset-sm);
}

.display-header {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 16px;
  text-align: center;
}

.big-mosaic-container {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  background: var(--pure-black);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-offset-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.demo-tile {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-tile.locked {
  filter: grayscale(1) brightness(0.7) opacity(0.3);
  background-color: #64748B;
  transform: scale(0.95);
}

.mosaic-completion-msg {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  background: var(--accent-yellow);
  border: 2px solid var(--pure-black);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  box-shadow: var(--shadow-offset-sm);
  display: none;
}

.mosaic-completion-msg.show {
  display: inline-block;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* BENTO FEATURE GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-offset-lg);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.card-indigo { background-color: var(--primary-indigo); }
.card-pink { background-color: var(--secondary-pink); }
.card-mint { background-color: var(--mint-green); }
.card-yellow { background-color: var(--accent-yellow); }
.card-white { background-color: var(--pure-white); }
.card-coral { background-color: var(--coral-orange); }

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}

.bento-card p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.5;
}

/* COMPARISON SECTION */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comp-card {
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-offset-md);
}

.comp-card.solo {
  background: var(--pure-white);
}

.comp-card.squad {
  background: var(--mint-green);
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px dashed var(--pure-black);
}

.comp-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-weight: 700;
}

.comp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.comp-icon {
  font-size: 1.3rem;
}

/* TESTIMONIALS / SQUADS REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--pure-white);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-weight: 600;
  font-size: 1rem;
  color: #334155;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.review-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--pure-black);
}

/* FAQ ACCORDION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--pure-white);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-yellow);
  border: 2px solid var(--pure-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--secondary-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 24px;
  font-weight: 600;
  color: #475569;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* CTA BANNER */
.cta-banner {
  background: var(--accent-yellow);
  border: var(--border-width-thick) solid var(--pure-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset-lg);
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: var(--font-main);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.cta-banner p {
  font-size: 1.2rem;
  font-weight: 700;
  max-width: 600px;
}

/* FOOTER */
.site-footer {
  background: var(--dark-surface);
  color: var(--pure-white);
  border-top: var(--border-width-thick) solid var(--pure-black);
  padding: 60px 24px 30px;
  margin-top: 100px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--accent-yellow);
}

.footer-brand p {
  color: #94A3B8;
  font-weight: 600;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--secondary-pink);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
}

.footer-col a {
  color: #CBD5E1;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--mint-green);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #94A3B8;
}

.credits-text {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #064E3B;
  color: #6EE7B7;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

/* RESPONSIVE DESIGN */
@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

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

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

  .demo-card {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.col-span-2 {
    grid-column: span 1;
  }

  .comparison-container {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0 12px;
  }

  .nav-container {
    padding: 8px 12px;
  }

  .brand-logo {
    gap: 8px;
    font-size: 1.1rem;
  }

  .brand-logo img {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .btn-brutal {
    width: 100%;
  }

  .phone-frame {
    width: 290px;
  }
}
