/* ============================================
   UAN FLOW - Landing Page CSS
   ============================================ */

/* Landing Header */
.landing-header {
  background: linear-gradient(135deg, #899689 0%, #707F84 50%, #9AACAB 100%);
  min-height: 100vh;
  position: relative;
}

/* Landing Nav */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

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

.logo-icon {
  font-size: 28px;
  background: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.landing-menu {
  display: flex;
  gap: 32px;
}

.landing-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.landing-menu a:hover {
  color: white;
}

.landing-cta .btn {
  background: white;
  color: var(--stack);
}

.landing-cta .btn:hover {
  background: var(--cararra);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 120px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #F0EDE6 0%, #CAB99E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-buttons .btn-primary {
  background: white;
  color: var(--stack);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-buttons .btn-primary:hover {
  background: var(--cararra);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-buttons .btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.hero-stat-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.hero-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Hero Mockup */
.hero-image {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  width: 100%;
  max-width: 550px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.hero-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: var(--stack);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:last-child { background: #28c840; }

.mockup-title {
  color: white;
  font-size: 13px;
  margin-left: auto;
  opacity: 0.8;
}

.mockup-content {
  padding: 20px;
  background: var(--bg-primary);
  min-height: 350px;
}

.mockup-content img {
  width: 100%;
  border-radius: 8px;
}

.mockup-placeholder {
  height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.mockup-placeholder span {
  font-size: 64px;
  margin-bottom: 16px;
}

.mockup-placeholder p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-primary);
}

.section-header {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: var(--success-light);
  color: var(--success);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Problems Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--danger);
}

.problem-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features Showcase */
.features-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-visual {
  position: relative;
}

.feature-screen {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.screen-header {
  background: var(--stack);
  color: white;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
}

.screen-body {
  padding: 20px;
  background: var(--bg-primary);
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mini-card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border-color);
}

.mini-card.success {
  background: var(--success-light);
  border-color: transparent;
}

.mini-card.info {
  background: var(--info-light);
  border-color: transparent;
}

.mini-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.mini-card.success .mini-value { color: var(--success); }
.mini-card.info .mini-value { color: var(--info); }

.mini-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.mini-alerts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.mini-alert.warning {
  background: var(--warning-light);
  color: var(--warning);
}

.mini-alert.danger {
  background: var(--danger-light);
  color: var(--danger);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--sage);
  transform: translateX(8px);
}

.feature-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.module-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--stack);
}

.module-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.module-card h3 {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.module-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.module-screens {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

/* Compliance Section */
.compliance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.compliance-content .section-badge {
  margin-bottom: 16px;
}

.compliance-content h2 {
  font-size: 36px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.compliance-content > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.compliance-check {
  width: 28px;
  height: 28px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.compliance-item strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.compliance-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.compliance-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compliance-card-header {
  background: var(--stack);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.compliance-card-body {
  padding: 20px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-subtle);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-primary);
}

.doc-item.done span:first-child {
  color: var(--success);
  font-weight: bold;
}

.compliance-card-footer {
  padding: 16px 20px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.progress-bar {
  width: 150px;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--success);
  border-radius: 4px;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--stack);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--stack);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.pricing-header h3 {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.price-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
  vertical-align: top;
}

.price-value {
  font-size: 52px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-period {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-subtle);
}

.pricing-features li:last-child {
  border-bottom: none;
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #899689 0%, #707F84 100%);
  padding: 80px 0;
}

.cta-content h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.cta-buttons .btn {
  background: white;
  color: var(--stack);
}

.cta-buttons .btn:hover {
  background: var(--cararra);
  transform: translateY(-2px);
}

/* Footer */
.landing-footer {
  background: #2a3228;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-brand .logo-icon {
  background: var(--stack);
}

.footer-brand .logo-text {
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 32px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-showcase {
    grid-template-columns: 1fr;
  }
  
  .compliance-layout {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .landing-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .problems-grid {
    grid-template-columns: 1fr;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
