/* ==========================================================================
   MODE TAPIS - PREMIUM WHITEHAT DESIGN SYSTEM & STYLES (v2.2 - MOBILE OPTIMIZED)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070a0f;
  --bg-card: rgba(14, 21, 31, 0.75);
  --bg-card-hover: rgba(20, 30, 45, 0.85);
  --bg-glass: rgba(10, 16, 24, 0.8);
  
  --color-primary: #00e5c0;       /* Cyan Emerald Glow */
  --color-primary-dark: #0284c7;
  --color-gold: #d4af37;          /* Imperial Gold */
  --color-gold-light: #fbe094;
  --color-gold-gradient: linear-gradient(135deg, #fce09b 0%, #d4af37 50%, #9a761e 100%);
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-border-glass: rgba(212, 175, 55, 0.22);
  --color-border-cyan: rgba(0, 229, 192, 0.3);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-accent: 'Cinzel', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout Constants */
  --container-max: 1240px;
  --nav-height: 84px;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow-cyan: 0 0 30px rgba(0, 229, 192, 0.25);
  --shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.25);
}

/* Reset & Global Settings */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 229, 192, 0.07) 0%, rgba(212, 175, 55, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* TOP UTILITY BAR */
.top-bar {
  background: rgba(4, 7, 11, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.top-bar-link:hover {
  color: var(--color-primary);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--color-gold);
}

/* MAIN HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(14, 21, 31, 0.6);
  border: 1px solid var(--color-border-glass);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  white-space: nowrap;
}

.brand-title span {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: #070a0f;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(212, 175, 55, 0.35);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, #fce09b 0%, #d4af37 100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(0, 229, 192, 0.08);
  color: var(--color-primary);
  border: 1px solid var(--color-border-cyan);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(0, 229, 192, 0.2);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow-cyan);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* HERO SECTION */
.hero {
  padding: 60px 0 80px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 229, 192, 0.12) 0%, rgba(7, 10, 15, 1) 70%);
}

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

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--color-border-glass);
  border-radius: 30px;
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.badge-tag-icon {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  word-wrap: break-word;
}

.hero-title .text-gold {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-card-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border-glass);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
}

.hero-card-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: rgba(14, 21, 31, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-cyan);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  max-width: 90%;
}

.floating-badge-icon {
  width: 42px;
  height: 42px;
  background: rgba(0, 229, 192, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.floating-badge-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.floating-badge-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* SECTION GLOBAL */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--color-primary);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-description {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.cards-fan-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.fan-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border-glass);
  border-radius: 16px;
  padding: 20px;
  width: 100%;
}

.fan-card-img {
  border-radius: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.fan-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: 8px;
}

/* FEATURES GRID (3 Columns) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glass);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
}

.feature-img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 180px;
}

.feature-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* PROCESS SECTION & WIDGET */
.process-section {
  background: rgba(4, 7, 11, 0.8);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.widget-frame {
  background: var(--bg-card);
  border: 1px solid var(--color-border-cyan);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
}

.widget-header-controls {
  background: rgba(10, 15, 22, 0.95);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

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

.page-btn {
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--color-border-glass);
  border-radius: 6px;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.8rem;
}

.page-counter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 229, 192, 0.15);
  border: 1px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.widget-body {
  position: relative;
}

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

.hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(0, 229, 192, 0.3);
}

.hotspot-1 { top: 60%; left: 38%; }
.hotspot-2 { top: 45%; left: 48%; }
.hotspot-3 { top: 65%; left: 75%; }

/* CTA BANNER & FORM */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 229, 192, 0.15) 0%, rgba(14, 21, 31, 0.95) 50%, rgba(212, 175, 55, 0.15) 100%);
  border: 1px solid var(--color-border-glass);
  border-radius: 24px;
  padding: 50px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lead-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 560px;
  margin: 28px auto 0 auto;
}

.form-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(7, 10, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

/* FOOTER */
.footer {
  background: #030508;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 60px 0 30px 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

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

.footer-col-title {
  font-family: var(--font-accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--color-text-muted);
  cursor: pointer;
}

.footer-link:hover {
  color: var(--color-gold);
}

.company-credentials {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px;
  line-height: 1.6;
}

.anpc-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.anpc-btn {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #0b1118;
  border: 1px solid var(--color-border-glass);
  border-radius: 18px;
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.4rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE (375px - 430px STRICT 1-COLUMN COLLAPSE)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid, .value-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .header {
    height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(7, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-primary {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }

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

  .lead-form {
    flex-direction: column;
  }

  .floating-badge {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-actions .btn-primary, .hero-actions .btn-outline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .cta-banner {
    padding: 32px 16px;
  }
}
