/* ============================================
   LANDING PAGES - SOLUTIONS LOGICIELLES
   ============================================ */

.landing-page {
  min-height: 100vh;
  background: var(--a3k-light);
}

/* Navigation */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--a3k-white);
  border-bottom: 1px solid var(--a3k-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-nav .logo-a3k {
  height: 40px;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--a3k-green);
}

/* Hero Section */
.landing-hero {
  padding: 4rem 2rem 6rem;
  background: linear-gradient(135deg, var(--a3k-white) 0%, var(--a3k-light) 100%);
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Hero with background image */
.landing-hero[style*="background-image"] {
  padding: 6rem 2rem 8rem;
  min-height: 500px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(21, 42, 102, 0.9) 100%);
  z-index: 1;
}

.landing-hero .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.landing-hero .hero-container.hero-centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
}

.hero-centered .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered .hero-description {
  max-width: 600px;
}

/* Light text for background hero */
.landing-hero[style*="background-image"] h1 {
  color: white;
}

.landing-hero[style*="background-image"] .hero-tagline {
  color: var(--a3k-green);
}

.landing-hero[style*="background-image"] .hero-description {
  color: rgba(255, 255, 255, 0.85);
}

.btn-secondary-light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.product-badge {
  width: 80px;
  height: 80px;
  background: var(--a3k-white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.landing-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.landing-hero h1 .coming-soon-badge {
  font-size: 1rem;
  padding: 0.3rem 0.8rem;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--a3k-green);
  font-weight: 600;
  margin: 0 0 1.5rem 0;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 2rem 0;
  max-width: 500px;
}

.landing-hero .hero-actions {
  display: flex;
  gap: 1rem;
}

.visual-placeholder {
  background: var(--a3k-white);
  border: 2px dashed var(--a3k-gray-200);
  border-radius: 16px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  gap: 1rem;
}

.visual-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

.visual-placeholder span {
  font-size: 0.9rem;
}

/* Features Section */
.landing-features {
  padding: 6rem 2rem;
  background: var(--a3k-white);
}

.landing-features .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-features .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.landing-features .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.landing-features .section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--a3k-light);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--a3k-green), #16a34a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.landing-cta {
  padding: 6rem 2rem;
  background: var(--a3k-light);
}

.landing-cta .section-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-card {
  background: linear-gradient(135deg, var(--a3k-blue) 0%, #152a66 100%);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  color: white;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.cta-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0 0 2rem 0;
}

.cta-card .btn-primary {
  background: var(--a3k-green);
}

.cta-card .btn-primary:hover {
  background: #16a34a;
}

/* Footer */
.landing-footer {
  padding: 2rem;
  background: var(--a3k-white);
  border-top: 1px solid var(--a3k-gray-200);
}

.landing-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-footer p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.landing-footer a {
  color: var(--a3k-green);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Hero Screenshot */
.hero-screenshot {
  background: var(--a3k-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Grid 3 columns */
.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.features-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.features-grid-centered .feature-card {
  flex: 0 1 calc(33.333% - 1.5rem);
  min-width: 280px;
}

/* Problems Section */
.landing-problems {
  padding: 6rem 2rem;
  background: var(--a3k-light);
}

.landing-problems .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-problems .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.landing-problems .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.landing-problems .section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.problems-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.problems-grid-centered .problem-card {
  flex: 0 1 calc(25% - 1.5rem);
  min-width: 220px;
}

.problem-card {
  background: var(--a3k-white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--a3k-gray-200);
}

.problem-icon {
  width: 50px;
  height: 50px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.problem-icon i {
  font-size: 1.25rem;
  color: #dc2626;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.problem-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Screenshots Section */
.landing-screenshots {
  padding: 6rem 2rem;
  background: var(--a3k-light);
}

.landing-screenshots .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-screenshots .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.landing-screenshots .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.landing-screenshots .section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.screenshots-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.screenshot-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.screenshot-placeholder {
  background: var(--a3k-white);
  border: 2px dashed var(--a3k-gray-200);
  border-radius: 12px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.screenshot-placeholder i {
  font-size: 2rem;
  opacity: 0.4;
}

.screenshot-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
}

.screenshot-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.screenshot-card img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Use Cases Section */
.landing-usecases {
  padding: 6rem 2rem;
  background: var(--a3k-white);
}

.landing-usecases .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-usecases .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.landing-usecases .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.landing-usecases .section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.usecases-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.usecase-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--a3k-light);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.usecase-item i {
  color: var(--a3k-green);
  font-size: 1.1rem;
}

/* Advantages Section */
.landing-advantages {
  padding: 6rem 2rem;
  background: var(--a3k-light);
}

.landing-advantages .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-advantages .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.landing-advantages .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.landing-advantages .section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.advantages-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.advantages-grid-centered .advantage-card {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 280px;
}

.advantage-card {
  display: flex;
  gap: 1rem;
  background: var(--a3k-white);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--a3k-gray-200);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-icon i {
  font-size: 1.25rem;
  color: var(--a3k-green);
}

.advantage-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.advantage-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Problem cards - Green variant */
.problem-card-green {
  border-color: rgba(34, 197, 94, 0.2);
}

.problem-icon-green {
  background: rgba(34, 197, 94, 0.1);
}

.problem-icon-green i {
  color: var(--a3k-green);
}

/* Escalade Section */
.escalade-section {
  background: var(--a3k-light);
}

.escalade-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.escalade-description p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.escalade-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.escalade-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
  line-height: 1.5;
}

.escalade-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  background: var(--a3k-green);
  border-radius: 50%;
}

.escalade-list li strong {
  color: var(--text-dark);
}

.escalade-note {
  font-style: italic;
  color: var(--text-light);
  padding: 1rem;
  background: var(--a3k-white);
  border-radius: 8px;
  border-left: 3px solid var(--a3k-green);
}

.escalade-schema {
  background: var(--a3k-white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--a3k-gray-200);
}

.schema-level {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--a3k-light);
  border-radius: 12px;
}

.level-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.level-badge.n1 {
  background: #dc2626;
}

.level-badge.n2 {
  background: #f59e0b;
}

.level-badge.n3 {
  background: #3b82f6;
}

.level-detail {
  display: flex;
  flex-direction: column;
}

.level-detail span {
  font-weight: 600;
  color: var(--text-dark);
}

.level-detail small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.schema-arrow {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
  color: var(--a3k-gray-300);
}

@media (max-width: 768px) {
  .escalade-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .escalade-schema {
    order: -1;
  }
}

/* Workflow Section - Nervus */
.workflow-section {
  background: var(--a3k-light);
}

.workflow-content {
  max-width: 1000px;
  margin: 0 auto;
}

.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 140px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--a3k-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

.workflow-arrow {
  display: flex;
  align-items: center;
  padding-top: 0.75rem;
  color: var(--a3k-gray-300);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .workflow-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .workflow-step {
    flex-direction: row;
    max-width: 100%;
    text-align: left;
    gap: 1rem;
  }

  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .workflow-arrow {
    transform: rotate(90deg);
    padding: 0;
  }
}

/* User Profiles Grid - Nervus */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.profile-card {
  background: var(--a3k-white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--a3k-gray-200);
}

.profile-icon {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.profile-icon i {
  font-size: 1.5rem;
  color: var(--a3k-green);
}

.profile-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.profile-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .profiles-grid {
    grid-template-columns: 1fr;
  }
}

/* Menu Grid - SmartHome */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.menu-item {
  display: flex;
  gap: 1rem;
  background: var(--a3k-light);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--a3k-gray-200);
}

.menu-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-icon i {
  font-size: 1.25rem;
  color: var(--a3k-green);
}

.menu-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.menu-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* Permissions Grid - SmartHome */
.permissions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.permission-card {
  text-align: center;
  background: var(--a3k-white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--a3k-gray-200);
}

.permission-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.permission-icon i {
  font-size: 1.5rem;
  color: white;
}

.permission-read {
  background: #3b82f6;
}

.permission-write {
  background: #f59e0b;
}

.permission-admin {
  background: #8b5cf6;
}

.permission-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.permission-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.permissions-note {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .permissions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: white;
  margin-top: 1.5rem;
  font-size: 1rem;
  text-align: center;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
  .landing-hero .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .landing-hero h1 {
    font-size: 2.5rem;
  }

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

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

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

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

  .hero-visual {
    order: -1;
  }

  .visual-placeholder {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .landing-hero {
    padding: 2rem 1rem 4rem;
  }

  .landing-hero h1 {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .landing-hero .hero-actions {
    flex-direction: column;
  }

  .features-grid,
  .features-grid-3 {
    grid-template-columns: 1fr;
  }

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

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

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

  .landing-problems,
  .landing-screenshots,
  .landing-usecases,
  .landing-advantages {
    padding: 4rem 1rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }

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

/* ============================================
   REFERENCE PROJECT PAGES - Hero & Timeline
   ============================================ */

/* Reference Hero */
.ref-hero {
  padding: 4rem 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(23, 37, 84, 0.95) 100%);
  color: white;
  position: relative;
}


.ref-hero-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.ref-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.03em;
}

.ref-hero-tagline {
  font-size: 1.15rem;
  color: var(--a3k-green);
  font-weight: 600;
  margin: 0 0 1.5rem 0;
}

.ref-hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 0;
}

.ref-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

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

.ref-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.ref-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   TIMELINE - Professional Design
   ============================================ */
.project-timeline {
  padding: 6rem 2rem;
  background: var(--a3k-light);
  position: relative;
}

.project-timeline[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.project-timeline[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  z-index: 0;
}

.project-timeline[style*="background-image"] .section-container {
  position: relative;
  z-index: 1;
}

.project-timeline .section-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 0;
}

/* Item layout: marker column + content column */
.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  position: relative;
}

/* Marker column: node + vertical connector */
.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Vertical connector line between nodes */
.timeline-connector {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--a3k-gray-300) 0%, var(--a3k-gray-200) 100%);
  min-height: 2rem;
}

/* Node: circle with icon */
.timeline-node {
  width: 44px;
  height: 44px;
  background: var(--a3k-white);
  border: 2px solid var(--a3k-gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.3s ease;
  color: var(--a3k-blue);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline-item:hover .timeline-node {
  border-color: var(--a3k-blue);
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.15);
  transform: scale(1.1);
}

/* Active node (current step) */
.timeline-node-active {
  width: 48px;
  height: 48px;
  background: var(--a3k-green);
  border-color: var(--a3k-green);
  color: white;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
  position: relative;
}

.timeline-item:hover .timeline-node-active {
  border-color: var(--a3k-green);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}

/* Pulse ring on active node */
.timeline-node-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--a3k-green);
  opacity: 0;
  animation: timeline-pulse 2.5s ease-out infinite;
}

@keyframes timeline-pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

/* Origin node (first milestone) */
.timeline-node-origin {
  background: var(--a3k-blue);
  border-color: var(--a3k-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
}

.timeline-item:hover .timeline-node-origin {
  border-color: var(--a3k-blue);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* Content column */
.timeline-content {
  padding-bottom: 2rem;
}

.timeline-item:last-child .timeline-content {
  padding-bottom: 0;
}

/* Card */
.timeline-card {
  background: var(--a3k-white);
  border: 1px solid var(--a3k-gray-200);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  border-left: 3px solid var(--a3k-gray-200);
}

.timeline-card:hover {
  border-color: var(--a3k-gray-300);
  border-left-color: var(--a3k-blue);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.timeline-card-active {
  border-left-color: var(--a3k-green);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.03) 0%, rgba(34, 197, 94, 0.06) 100%);
  border-color: rgba(34, 197, 94, 0.2);
}

.timeline-card-active:hover {
  border-left-color: var(--a3k-green);
  border-color: rgba(34, 197, 94, 0.3);
}

/* Card header with year badge and optional status */
.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, var(--a3k-blue) 0%, var(--a3k-blue-dark) 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline-year-active {
  background: linear-gradient(135deg, var(--a3k-green) 0%, #16a34a 100%);
}

.timeline-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(34, 197, 94, 0.1);
  color: var(--a3k-green);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.01em;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-tag {
  padding: 0.3rem 0.75rem;
  background: var(--a3k-light);
  border: 1px solid var(--a3k-gray-200);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  transition: all 0.2s ease;
}

.timeline-card:hover .timeline-tag {
  border-color: rgba(30, 58, 138, 0.15);
  background: rgba(30, 58, 138, 0.04);
}

/* Reference Summary Section */
.ref-summary {
  padding: 4rem 2rem;
  background: var(--a3k-white);
}

.ref-summary .section-container {
  max-width: 1000px;
  margin: 0 auto;
}

.ref-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ref-summary-card {
  background: var(--a3k-light);
  border: 1px solid var(--a3k-gray-200);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.ref-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ref-summary-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 138, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.ref-summary-icon i {
  font-size: 1.25rem;
  color: var(--a3k-blue);
}

.ref-summary-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.ref-summary-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Reference Description Section */
.ref-description {
  padding: 5rem 2rem;
  background: var(--a3k-light);
}

.ref-description .section-container {
  max-width: 800px;
  margin: 0 auto;
}

.ref-description-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ref-description-block {
  background: var(--a3k-white);
  border: 1px solid var(--a3k-gray-200);
  border-radius: 16px;
  padding: 2rem;
  border-left: 3px solid var(--a3k-blue);
  transition: all 0.3s ease;
}

.ref-description-block:hover {
  border-left-color: var(--a3k-green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.ref-description-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
}

.ref-description-block p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* Reference Footer - Compact */
.ref-footer {
  background: var(--a3k-white);
  border-top: 1px solid var(--a3k-gray-200);
}

.ref-footer-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ref-footer-cta {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--a3k-gray-200);
  text-align: center;
}

.ref-footer-cta p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

.ref-footer-cta a {
  color: var(--a3k-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ref-footer-cta a:hover {
  color: var(--a3k-green);
}

.ref-footer-cta a i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.ref-footer-cta a:hover i {
  transform: translateX(3px);
}

.ref-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.ref-footer-bottom p {
  color: var(--text-light);
  font-size: 0.8rem;
  margin: 0;
}

.ref-footer-bottom a {
  color: var(--a3k-green);
  text-decoration: none;
  font-size: 0.8rem;
}

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

/* ============================================
   REFERENCE PAGES - Responsive
   ============================================ */
@media (max-width: 768px) {
  .ref-hero {
    padding: 3rem 1.5rem 2rem;
  }

  .ref-hero h1 {
    font-size: 1.75rem;
  }

  .ref-hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .ref-stat {
    flex: 1 1 40%;
  }

  .project-timeline {
    padding: 4rem 1rem;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }

  .timeline-node {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .timeline-node-active {
    width: 40px;
    height: 40px;
  }

  .timeline-card {
    padding: 1.25rem;
  }

  .timeline-card h3 {
    font-size: 1.05rem;
  }

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

@media (max-width: 480px) {
  .timeline-item {
    grid-template-columns: 32px 1fr;
    gap: 0.75rem;
  }

  .timeline-node {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .timeline-node-active {
    width: 36px;
    height: 36px;
  }

  .ref-summary-grid {
    grid-template-columns: 1fr;
  }
}
