/* ============================================
   ProIA Landing Page — Section Styles
   ============================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVBAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 100;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

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

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo {
  height: 36px;
  width: auto;
}

.navbar__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.navbar__name span {
  color: var(--gold);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

.navbar__links a:hover {
  color: var(--white);
}

.navbar__cta {
  margin-left: var(--space-md);
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--navy-dark);
  z-index: 200;
  padding: var(--space-4xl) var(--space-xl) var(--space-xl);
  flex-direction: column;
  gap: var(--space-lg);
  transition: right var(--transition-base);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer a {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.mobile-drawer a:hover {
  color: var(--white);
}

.mobile-drawer__close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-overlay.open {
  opacity: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  background: var(--gradient-hero);
  padding: calc(var(--navbar-height) + var(--space-4xl)) 0 var(--space-4xl);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .dot-pattern {
  opacity: 0.4;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__text {
  max-width: 580px;
}

.hero__badge {
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero__title .highlight {
  color: var(--gold);
}

.hero__description {
  font-size: 18px;
  color: var(--pale-blue);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-size: 14px;
  color: var(--mid-gray);
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__proof-item svg {
  color: var(--success);
  width: 16px;
  height: 16px;
}

.hero__visual {
  position: relative;
  perspective: 1000px;
}

.hero__mockup {
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s ease;
  position: relative;
}

.hero__mockup:hover {
  transform: rotateY(-2deg) rotateX(1deg);
}

.hero__mockup .browser-frame {
  box-shadow:
    var(--shadow-hero-mockup),
    0 0 80px rgba(201, 162, 39, 0.1);
}

/* Floating badges around mockup */
.hero__float {
  position: absolute;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.hero__float--1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.hero__float--2 {
  bottom: 60px;
  left: -30px;
  animation-delay: 2s;
}

.hero__float--3 {
  bottom: 10px;
  right: 20px;
  animation-delay: 4s;
}

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

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SOCIAL PROOF STRIP
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.social-proof {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-2xl) 0;
}

.social-proof__label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.social-proof__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.social-proof__metric-value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.social-proof__metric-label {
  font-size: 14px;
  color: var(--mid-gray);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROBLEMS SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.problems {
  background: var(--off-white);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.problem-card:hover {
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.06);
}

.problem-card__icon {
  margin-bottom: var(--space-md);
}

.problem-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--dark-text);
}

.problem-card__desc {
  font-size: 15px;
  color: var(--mid-gray);
  line-height: 1.65;
}

.problems__cta-text {
  text-align: center;
  font-size: 18px;
  color: var(--dark-text);
  font-weight: 500;
}

.problems__cta-text strong {
  color: var(--brand-blue);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SOLUTION SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.solution {
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
}

.solution .section-header h2 {
  color: var(--white);
}

.solution .section-header p {
  color: var(--pale-blue);
}

.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.solution-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.solution-card:hover {
  border-color: rgba(46, 110, 181, 0.4);
  box-shadow: 0 8px 32px rgba(46, 110, 181, 0.15);
  transform: translateY(-4px);
}

.solution-card__icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
  display: block;
}

.solution-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.solution-card__desc {
  font-size: 15px;
  color: var(--pale-blue);
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FEATURES ZIG-ZAG
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.feature-block {
  padding: var(--space-4xl) 0;
}

.feature-block--light {
  background: var(--off-white);
}

.feature-block--dark {
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
}

.feature-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.feature-block__inner--reverse {
  direction: rtl;
}

.feature-block__inner--reverse > * {
  direction: ltr;
}

.feature-block__badge {
  margin-bottom: var(--space-md);
}

.feature-block__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-block--dark .feature-block__title {
  color: var(--white);
}

.feature-block__subtitle {
  font-size: 15px;
  color: var(--mid-gray);
  margin-bottom: var(--space-lg);
}

.feature-block--dark .feature-block__subtitle {
  color: var(--pale-blue);
}

.feature-block__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-gray);
}

.feature-block--dark .feature-block__list li {
  color: var(--pale-blue);
}

.feature-block__list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--success);
  margin-top: 2px;
}

.feature-block__visual {
  display: flex;
  justify-content: center;
}

.feature-block__visual .browser-frame {
  max-width: 520px;
  box-shadow: var(--shadow-xl);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOW IT WORKS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.how-it-works {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.step__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: var(--space-sm);
}

.step__desc {
  font-size: 15px;
  color: var(--mid-gray);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   IMPACT METRICS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.metrics {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.metrics .dot-pattern {
  opacity: 0.3;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.metric {
  text-align: center;
}

.metric__value {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.metric__label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 160px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCREENSHOTS TABS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.screenshots {
  background: var(--off-white);
}

.screenshots__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.screenshots__tab {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mid-gray);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.screenshots__tab:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.screenshots__tab.active {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

.screenshots__display {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.screenshots__panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.screenshots__panel.active {
  display: block;
}

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

.screenshots__caption {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 15px;
  color: var(--mid-gray);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRICING
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pricing {
  background: var(--gradient-light);
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 880px;
  margin: 0 auto var(--space-3xl);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 2px solid var(--border-light);
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(201, 162, 39, 0.15);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card--featured:hover {
  box-shadow: 0 12px 48px rgba(201, 162, 39, 0.25);
}

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

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: var(--space-xs);
}

.pricing-card__target {
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: var(--space-lg);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-xs);
}

.pricing-card__currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-text);
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1;
}

.pricing-card__period {
  font-size: 16px;
  color: var(--mid-gray);
}

.pricing-card__desc {
  font-size: 15px;
  color: var(--mid-gray);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
  min-height: 44px;
}

.pricing-card__features {
  margin-bottom: var(--space-xl);
}

.pricing-card__cta {
  display: block;
  width: 100%;
  text-align: center;
}

/* Comparison table */
.pricing__comparison {
  max-width: 880px;
  margin: 0 auto;
}

.pricing__toggle {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pricing__toggle button {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-blue);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pricing__toggle button:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.pricing__toggle button svg {
  transition: transform var(--transition-base);
}

.pricing__toggle button.open svg {
  transform: rotate(180deg);
}

.comparison-table {
  display: none;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table.open {
  display: table;
}

.comparison-table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  background: var(--light-gray);
  border-bottom: 2px solid var(--border-light);
  color: var(--dark-text);
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--dark-gray);
}

.comparison-table td:not(:first-child) {
  text-align: center;
  font-weight: 500;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FAQ
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.faq {
  background: var(--off-white);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  gap: var(--space-md);
  min-height: 48px;
}

.faq-item__question:hover {
  color: var(--brand-blue);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
  color: var(--mid-gray);
}

.faq-item.open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer p {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--mid-gray);
  line-height: 1.7;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA FINAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-final {
  background: var(--gradient-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final .dot-pattern {
  opacity: 0.3;
}

.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-final__desc {
  font-size: 18px;
  color: var(--pale-blue);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}

.cta-final__proof {
  font-size: 14px;
  color: var(--mid-gray);
  margin-top: var(--space-lg);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: var(--navy-deep);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-text {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

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

.footer__links a {
  font-size: 14px;
  color: var(--mid-gray);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: 13px;
  color: var(--mid-gray);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: 13px;
  color: var(--mid-gray);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--white);
}
