/* ==========================================================================
   Papeo – Modern SaaS Landing Page
   Dark theme | Orange + Purple accents
   ========================================================================== */

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

/* ==========================================================================
   1. CSS Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0a0a0f;
  color: #e4e4e7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: #a1a1aa;
  line-height: 1.7;
}

/* ==========================================================================
   15. Utility Classes
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background-color: #0e0e16;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__header p {
  margin-top: 16px;
  font-size: 1.125rem;
}

.text-gradient {
  background: linear-gradient(135deg, #7c3aed, #ff6b35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--primary {
  background: rgba(255, 107, 53, 0.15);
  color: #ff6b35;
  border: 1px solid rgba(255, 107, 53, 0.25);
}

.badge--popular {
  background: linear-gradient(135deg, #7c3aed, #ff6b35);
  color: #ffffff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ==========================================================================
   14. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #ff6b35;
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  background: #e85d2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn--gradient {
  background: linear-gradient(135deg, #7c3aed, #ff6b35);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.3);
}

.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.125rem;
  border-radius: 14px;
}

/* ==========================================================================
   2. Navigation
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.navbar__logo span {
  background: linear-gradient(135deg, #ff6b35, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #a1a1aa;
  transition: color 0.3s ease;
  position: relative;
}

.navbar__link:hover,
.navbar__link.active {
  color: #ffffff;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #7c3aed);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.navbar__link:hover::after {
  width: 100%;
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.navbar__dropdown-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s ease;
}

.navbar__dropdown:hover .navbar__dropdown-trigger::after {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-item {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #a1a1aa;
  transition: all 0.2s ease;
}

.navbar__dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

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

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.navbar__mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.navbar__mobile-menu .navbar__link {
  font-size: 1.5rem;
  color: #ffffff;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255, 107, 53, 0.06) 0%, transparent 60%),
              #0a0a0f;
}

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

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: #a1a1aa;
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__avatars {
  display: flex;
}

.hero__avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #0a0a0f;
  margin-left: -10px;
  object-fit: cover;
}

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

.hero__social-proof p {
  font-size: 0.875rem;
  color: #71717a;
}

.hero__social-proof strong {
  color: #e4e4e7;
}

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

.hero__mockup {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  z-index: 1;
}

.hero__glow--purple {
  background: #7c3aed;
  top: 0;
  right: 0;
}

.hero__glow--orange {
  background: #ff6b35;
  bottom: 0;
  left: 0;
}

/* ==========================================================================
   5. Feature Cards
   ========================================================================== */

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

.feature-card {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #ff6b35);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
}

.feature-card__icon--purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card__description {
  font-size: 0.9375rem;
  color: #71717a;
  line-height: 1.7;
}

/* ==========================================================================
   6. Testimonial Carousel
   ========================================================================== */

.testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0 20px;
}

.testimonials__track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.testimonial-card__stars {
  color: #ff6b35;
  font-size: 0.875rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 1rem;
  color: #d4d4d8;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-card__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: #71717a;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials__dot.active {
  background: #ff6b35;
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   7. Pricing Section
   ========================================================================== */

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.pricing__toggle-label {
  font-size: 0.9375rem;
  color: #71717a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pricing__toggle-label.active {
  color: #ffffff;
}

.pricing__toggle-switch {
  width: 52px;
  height: 28px;
  background: #27273a;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pricing__toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.pricing__toggle-switch.annual::after {
  transform: translateX(24px);
}

.pricing__toggle-switch.annual {
  background: linear-gradient(135deg, #7c3aed, #ff6b35);
}

.pricing__save-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.pricing-card--popular {
  border-color: #ff6b35;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.06) 0%, #1a1a2e 40%);
  box-shadow: 0 8px 40px rgba(255, 107, 53, 0.15);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: #a1a1aa;
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.pricing-card__amount {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: #71717a;
}

.pricing-card__description {
  font-size: 0.875rem;
  color: #71717a;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #d4d4d8;
}

.pricing-card__feature::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.pricing-card__feature--disabled {
  color: #52525b;
}

.pricing-card__feature--disabled::before {
  content: '\2715';
  background: rgba(255, 255, 255, 0.04);
  color: #52525b;
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================================
   8. FAQ Accordion
   ========================================================================== */

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(255, 107, 53, 0.2);
}

.faq-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-item__header:hover {
  color: #ff6b35;
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}

.faq-item__icon::before {
  content: '+';
  transition: transform 0.3s ease;
}

.faq-item.open .faq-item__icon {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
}

.faq-item.open .faq-item__icon::before {
  content: '\2212';
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item__body {
  max-height: 300px;
}

.faq-item__answer {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: #a1a1aa;
  line-height: 1.7;
}

/* ==========================================================================
   9. Stats Section
   ========================================================================== */

.stats {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, rgba(255, 107, 53, 0.04) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat__number .text-gradient {
  display: inline;
}

.stat__label {
  font-size: 0.9375rem;
  color: #71717a;
  font-weight: 500;
}

/* ==========================================================================
   11. CTA Sections
   ========================================================================== */

.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section--gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #ff6b35 100%);
}

.cta-section--gradient h2,
.cta-section--gradient p {
  color: #ffffff;
}

.cta-section--gradient p {
  opacity: 0.9;
}

.cta-section--dark {
  background: #12121a;
}

.cta-section__content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-section__content h2 {
  margin-bottom: 20px;
}

.cta-section__content p {
  font-size: 1.125rem;
  margin-bottom: 36px;
}

.cta-section--gradient .btn-primary {
  background: #ffffff;
  color: #0a0a0f;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.cta-section--gradient .btn-primary:hover {
  background: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-section--gradient .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.cta-section--gradient .btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.footer {
  background: #0a0a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.9375rem;
  color: #71717a;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #ff6b35;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.3);
  color: #ff6b35;
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: #52525b;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-size: 0.8125rem;
  color: #52525b;
  transition: color 0.3s ease;
}

.footer__bottom-links a:hover {
  color: #a1a1aa;
}

/* ==========================================================================
   12. Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* Decorative floating elements */
.floating {
  animation: float 6s ease-in-out infinite;
}

.floating--slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.floating--delay-1 {
  animation-delay: -2s;
}

.floating--delay-2 {
  animation-delay: -4s;
}

/* ==========================================================================
   4. Section Layouts – Alternating Backgrounds
   ========================================================================== */

.section--dark {
  background-color: #0a0a0f;
}

.section--darker {
  background-color: #08080d;
}

.section--card-bg {
  background-color: #12121a;
}

/* Decorative background elements */
.section__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.06;
  pointer-events: none;
}

.section__bg-glow--purple {
  background: #7c3aed;
}

.section__bg-glow--orange {
  background: #ff6b35;
}

/* ==========================================================================
   13. Responsive Design
   ========================================================================== */

/* Tablet – 1024px */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero__cta {
    justify-content: center;
  }

  .hero__social-proof {
    justify-content: center;
  }

  .hero__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile – 768px */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .section__header {
    margin-bottom: 44px;
  }

  /* Navigation */
  .navbar__menu,
  .navbar__actions .btn {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .hero__subtitle {
    font-size: 1.0625rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__social-proof {
    flex-direction: column;
    gap: 8px;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  /* Testimonials */
  .testimonial-card {
    flex: 0 0 calc(100vw - 48px);
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat__number {
    font-size: 2rem;
  }

  /* FAQ */
  .faq-item__header {
    padding: 16px 20px;
    font-size: 0.9375rem;
  }

  .faq-item__answer {
    padding: 0 20px 16px;
    font-size: 0.875rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* CTA */
  .cta-section {
    padding: 72px 0;
  }

  .cta-section__content p {
    font-size: 1rem;
  }
}

/* Small mobile – 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .pricing__toggle {
    flex-wrap: wrap;
    gap: 12px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero__mockup {
    animation: none;
  }
}
