/* --- Design System & Variables --- */
:root {
  --motrixa-primary: #1B3D2F;
  --color-accent-terracotta: #C18E66;
  --white: #FFFFFF;
  --app-bg: #F9F7F2;
  --app-text: #2D2D2D;
  --app-text-muted: #666666;
  --app-border: #E5E2D9;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --section-padding: 120px 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--app-bg); color: var(--app-text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; transition: var(--transition-smooth); }
img { max-width: 100%; height: auto; }

/* --- Navigation --- */
#main-header { padding: 24px 0; position: absolute; width: 100%; top: 0; z-index: 100; }
#main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; width: auto; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { color: var(--motrixa-primary); font-weight: 600; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--color-accent-terracotta); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.btn-login { color: var(--motrixa-primary); font-weight: 700; font-size: 0.95rem; }
.btn { padding: 14px 28px; border-radius: 12px; font-weight: 700; display: inline-block; cursor: pointer; border: none; }
.btn-primary { background-color: var(--color-accent-terracotta); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(193, 142, 102, 0.3); }

/* --- Hero Section (Delicate & Premium) --- */
.hero { padding: 200px 0 120px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1.1; color: var(--motrixa-primary); margin-bottom: 24px; letter-spacing: -2px; }
.hero-content p { font-size: 1.25rem; color: var(--app-text-muted); margin-bottom: 40px; max-width: 520px; }

.hero-image { position: relative; }
.hero-scene { position: relative; width: 100%; }
.aurora-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; animation: pulseGlow 8s infinite alternate ease-in-out; }
.aurora-blob.one { width: 300px; height: 300px; background: var(--motrixa-primary); top: -50px; right: 0; }
.aurora-blob.two { width: 400px; height: 400px; background: var(--color-accent-terracotta); bottom: -100px; left: -50px; animation-delay: -3s; }

.main-display { position: relative; z-index: 1; }
.hero-img { width: 100%; display: block; filter: drop-shadow(0 30px 60px rgba(27, 61, 47, 0.15)); }

.floating-card { 
  position: absolute; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(20px) saturate(180%); 
  padding: 12px 18px; border-radius: 18px; display: flex; gap: 12px; align-items: center; 
  border: 1px solid rgba(255, 255, 255, 0.5); z-index: 2; animation: floatSoft 6s infinite ease-in-out; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.05); color: var(--app-text);
}
.card-1 { top: -10px; right: -20px; }
.card-2 { bottom: 40px; left: -40px; animation-delay: -3s; }
.card-3 { top: 35%; left: -60px; animation-delay: -4.5s; }
.card-icon { width: 38px; height: 38px; background: var(--motrixa-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.card-info span { display: block; font-size: 0.7rem; color: var(--app-text-muted); font-weight: 700; text-transform: uppercase; }
.card-info strong { display: block; font-size: 0.85rem; color: var(--motrixa-primary); font-weight: 800; }

/* Social Proof (Instant) */
.social-proof { margin-top: 100px; padding-top: 40px; border-top: 1px solid var(--app-border); text-align: center; }
.social-proof p { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--app-text-muted); opacity: 0.5; margin-bottom: 32px; }
.brand-grid { display: flex; justify-content: space-between; align-items: center; opacity: 0.45; flex-wrap: wrap; gap: 30px; }
.brand { font-weight: 900; font-size: 1.1rem; letter-spacing: 1px; color: var(--motrixa-primary); }

/* --- Differential (App Showcase) --- */
.differential { background-color: var(--motrixa-primary); padding: 140px 0; color: var(--white); position: relative; overflow: hidden; }
.diff-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.d-blob { position: absolute; width: 800px; height: 800px; background: var(--color-accent-terracotta); filter: blur(150px); opacity: 0.08; top: -20%; right: -10%; animation: pulseGlow 10s infinite alternate ease-in-out; }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; position: relative; z-index: 1; }
.badge { display: inline-block; padding: 6px 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; color: var(--color-accent-terracotta); }
.diff-content h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: 24px; }
.benefit-list li { display: flex; gap: 20px; margin-bottom: 32px; }
.benefit-list .icon { width: 52px; height: 52px; background: rgba(255, 255, 255, 0.05); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.phone-container { position: relative; width: 320px; margin: 0 auto; }
.phone-frame { width: 100%; aspect-ratio: 9 / 19; background: #000; border-radius: 40px; border: 12px solid #1a1a1a; position: relative; box-shadow: 0 50px 100px rgba(0,0,0,0.5); overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.notif-card { position: absolute; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); padding: 16px; border-radius: 16px; display: flex; gap: 12px; align-items: center; width: 240px; z-index: 3; animation: floatSoft 6s infinite alternate ease-in-out; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); color: var(--app-text); }
.notif-card.n1 { top: 15%; right: -100px; }
.notif-card.n2 { bottom: 20%; left: -100px; animation-delay: -3s; }

/* --- Features (Zig Zag) --- */
.features { padding: var(--section-padding); background: var(--white); position: relative; overflow: hidden; }
.features .section-header { text-align: center; margin-bottom: 80px; position: relative; z-index: 1; }
.section-header h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; color: var(--motrixa-primary); margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--app-text-muted); max-width: 600px; margin: 0 auto; }
.tech-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(27, 61, 47, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 61, 47, 0.03) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(circle at center, black, transparent 80%); }
.f-blob { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: 0.1; }
.f-one { background: var(--motrixa-primary); top: 10%; right: -200px; }
.f-two { background: var(--color-accent-terracotta); bottom: 10%; left: -200px; }
.feature-item { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; margin-bottom: 160px; position: relative; z-index: 1; }
.feature-item:nth-child(even) .feature-content { order: 2; }
.feature-item:nth-child(even) .feature-visual { order: 1; }
.feature-tag { display: inline-block; padding: 6px 14px; background: rgba(27, 61, 47, 0.05); color: var(--motrixa-primary); border-radius: 100px; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; }
.feature-visual { background: var(--white); border-radius: 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1); border: 1px solid var(--app-border); overflow: hidden; width: 100%; aspect-ratio: 1852 / 1050; display: flex; flex-direction: column; animation: floatSoft 8s ease-in-out infinite; }
.feature-visual img { flex: 1; width: 100%; object-fit: cover; display: block; min-height: 0; }
.window-header { background: #f9f7f2; padding: 12px 16px; border-bottom: 1px solid var(--app-border); display: flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; }
.window-dots span:nth-child(1) { background: #FF5F56; }
.window-dots span:nth-child(2) { background: #FFBD2E; }
.window-dots span:nth-child(3) { background: #27C93F; }

/* --- Ecosystem (Bento Grid) --- */
.ecosystem { padding: var(--section-padding); background-color: var(--app-bg); position: relative; overflow: hidden; }
.f-three { position: absolute; width: 1000px; height: 1000px; background: var(--color-accent-terracotta); top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(180px); opacity: 0.08; }
.ecosystem .section-header { text-align: center; margin-bottom: 80px; position: relative; z-index: 1; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 24px; position: relative; z-index: 1; }
.bento-card { background: var(--white); border-radius: 24px; padding: 28px; border: 1px solid var(--app-border); display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition-smooth); overflow: hidden; }
.bento-card:hover { transform: translateY(-8px); border-color: var(--color-accent-terracotta); box-shadow: 0 30px 60px rgba(27, 61, 47, 0.1); }
.b-stock, .b-wa, .b-perm, .b-pos { grid-column: span 2; }
.b-fin { grid-column: span 2; grid-row: span 2; }
.stock-item { background: rgba(27, 61, 47, 0.05); padding: 8px 12px; border-radius: 8px; display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 8px; }
.stock-item.low { border-left: 3px solid var(--color-accent-terracotta); color: #a06a40; }
.wa-msg { background: #25D366; color: var(--white); padding: 10px 16px; border-radius: 12px 12px 0 12px; font-size: 0.85rem; font-weight: 600; float: right; animation: floatSoft 4s infinite alternate ease-in-out; }
.kpi-box { background: var(--motrixa-primary); color: var(--white); padding: 20px; border-radius: 16px; margin-bottom: 20px; }
.kpi-box strong { font-size: 2rem; display: block; }
.mini-chart { display: flex; align-items: flex-end; gap: 10px; height: 60px; padding: 0 10px; }
.mini-chart .bar { flex: 1; background: var(--color-accent-terracotta); border-radius: 4px 4px 0 0; opacity: 0.6; }
.pos-ticket { background: #f9f7f2; border: 1px dashed var(--app-border); padding: 12px; border-radius: 8px; display: flex; justify-content: space-between; }

/* --- Video Tour (Cinema) --- */
.video-tour { padding: 120px 0; background: radial-gradient(circle at center, #1a1a1a 0%, var(--motrixa-primary) 100%); color: var(--white); position: relative; overflow: hidden; text-align: center; }
.video-bg-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; height: 60%; background: var(--color-accent-terracotta); filter: blur(160px); opacity: 0.12; animation: pulseGlow 10s infinite alternate ease-in-out; }
.video-header { margin-bottom: 60px; position: relative; z-index: 1; }
.monitor-wrapper { max-width: 960px; margin: 0 auto; position: relative; z-index: 1; }
.monitor-frame { background: #222; padding: 12px; border-radius: 20px 20px 0 0; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 50px 100px rgba(0,0,0,0.8); }
.monitor-inner { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; position: relative; }
.monitor-inner iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.monitor-neck { width: 100px; height: 30px; background: linear-gradient(90deg, #333, #111, #333); margin: 0 auto; }
.monitor-base { width: 300px; height: 8px; background: #444; margin: 0 auto; border-radius: 4px 4px 0 0; }

/* --- CTA Final --- */
.cta-final { padding: 160px 0; background: var(--white); position: relative; overflow: hidden; text-align: center; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(2.8rem, 6vw, 4rem); color: var(--motrixa-primary); margin-bottom: 24px; }
.cta-actions { display: flex; gap: 20px; justify-content: center; margin-top: 48px; }
.btn-outline { border: 2px solid var(--motrixa-primary); color: var(--motrixa-primary); background: transparent; }

/* --- Footer --- */
.main-footer {
  padding: 80px 0 0;
  background: var(--motrixa-primary);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--color-accent-terracotta);
  border-color: var(--color-accent-terracotta);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(193, 142, 102, 0.25);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-accent-terracotta);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact li a,
.footer-contact li span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-contact li a:hover {
  color: var(--color-accent-terracotta);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-dev a {
  color: var(--color-accent-terracotta);
  font-weight: 700;
}

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


/* Animations */
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- Pricing Section --- */
.pricing { padding: var(--section-padding); position: relative; overflow: hidden; background: var(--white); }
.p-blob { position: absolute; width: 600px; height: 600px; background: var(--motrixa-primary); filter: blur(120px); opacity: 0.05; top: 10%; right: -200px; }

.billing-toggle-wrapper { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.billing-toggle-wrapper span { font-weight: 700; color: var(--app-text-muted); font-size: 1rem; }
.save-badge { background: var(--color-accent-terracotta); color: var(--white); padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; margin-left: 8px; }

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--app-border); transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: var(--color-accent-terracotta); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; align-items: flex-start; }
.pricing-card { background: var(--white); border: 1px solid var(--app-border); border-radius: 32px; padding: 48px 32px; transition: var(--transition-smooth); position: relative; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 40px 80px rgba(27, 61, 47, 0.1); }

.pricing-card.recommended { background: var(--motrixa-primary); color: var(--white); border-color: var(--motrixa-primary); transform: scale(1.05); z-index: 2; box-shadow: 0 50px 100px rgba(27, 61, 47, 0.2); }
.pricing-card.recommended:hover { transform: translateY(-10px) scale(1.05); }

.popular-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--color-accent-terracotta); color: var(--white); padding: 6px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.p-header h3 { font-size: 1.8rem; margin-bottom: 8px; }
.p-header p { font-size: 1rem; opacity: 0.7; margin-bottom: 32px; }

.price-box { margin-bottom: 40px; display: flex; align-items: baseline; }
.price-box .currency { font-size: 1.2rem; font-weight: 700; margin-right: 4px; }
.price-box strong { font-size: 3.5rem; line-height: 1; letter-spacing: -2px; }
.price-box .period { font-size: 1rem; opacity: 0.7; margin-left: 8px; }

.p-features { list-style: none; margin-bottom: 48px; }
.p-features li { margin-bottom: 16px; display: flex; gap: 12px; font-size: 0.95rem; }
.p-features li .check { color: var(--color-accent-terracotta); font-weight: 800; }
.recommended .p-features li .check { color: var(--color-accent-terracotta); }

.full-width { width: 100%; text-align: center; }
.video-wrapper { 
  max-width: 900px; 
  margin: 0 auto; 
  position: relative; 
  z-index: 1; 
  animation: floatSoft 8s infinite ease-in-out;
}

.video-player {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* YouTube Lazy Facade */
.yt-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.yt-facade:hover img {
  opacity: 1;
}

.yt-play-btn {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  transition: transform 0.2s ease;
  pointer-events: none;
}

.yt-facade:hover .yt-play-btn {
  transform: scale(1.1);
}

.recommended .p-features li { color: rgba(255, 255, 255, 0.8); }
.recommended .p-features li strong { color: var(--white); }
.recommended .p-header h3 { color: var(--white); }
.recommended .p-header p { color: rgba(255, 255, 255, 0.7); }
.recommended .price-box { color: var(--white); }

/* --- FAQ Section --- */
.faq-section {
  padding: var(--section-padding);
  background: var(--app-bg);
  position: relative;
  overflow: hidden;
}

.faq-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}

.faq-blob {
  position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.08;
}

.faq-blob-1 {
  width: 600px; height: 600px; background: var(--motrixa-primary);
  top: -10%; right: -5%; animation: pulseGlow 10s infinite alternate ease-in-out;
}

.faq-blob-2 {
  width: 500px; height: 500px; background: var(--color-accent-terracotta);
  bottom: -15%; left: -5%; animation: pulseGlow 12s infinite alternate ease-in-out; animation-delay: -4s;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--app-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(193, 142, 102, 0.3);
  box-shadow: 0 8px 32px rgba(27, 61, 47, 0.06);
}

.faq-item.active {
  border-color: var(--color-accent-terracotta);
  box-shadow: 0 16px 48px rgba(27, 61, 47, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  gap: 20px;
  transition: var(--transition-smooth);
}

.faq-trigger:hover {
  background: rgba(27, 61, 47, 0.015);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 61, 47, 0.05);
  border-radius: 10px;
  color: var(--motrixa-primary);
  transition: var(--transition-smooth);
}

.faq-icon svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  background: var(--motrixa-primary);
  color: var(--white);
}

.faq-item.active .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--app-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Contact Section --- */
.contact-section {
  padding: 140px 0;
  background: linear-gradient(160deg, #0f2b1f 0%, #132e22 40%, #1a3a2c 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}

.contact-blob {
  position: absolute; border-radius: 50%; filter: blur(150px);
}

.contact-blob-1 {
  width: 700px; height: 700px; background: var(--color-accent-terracotta);
  opacity: 0.1; top: -20%; left: -10%;
  animation: pulseGlow 10s infinite alternate ease-in-out;
}

.contact-blob-2 {
  width: 500px; height: 500px; background: var(--color-accent-terracotta);
  opacity: 0.06; bottom: -15%; right: -10%;
  animation: pulseGlow 12s infinite alternate ease-in-out; animation-delay: -5s;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-info .badge {
  margin-bottom: 24px;
}

.contact-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.channel-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.channel-icon {
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.channel-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.channel-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Contact Form Card (Glassmorphism) */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 44px;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-terracotta);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(193, 142, 102, 0.15);
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--motrixa-primary);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
}

.form-feedback {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 24px;
  transition: var(--transition-smooth);
}

.form-feedback.success {
  color: #27C93F;
}

.form-feedback.error {
  color: #FF5F56;
}

/* --- Responsive Adjustments --- */

/* Hamburger menu button (hidden on desktop) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--motrixa-primary);
  margin: 6px 0;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Tablet (1024px) ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .diff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .feature-item {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  
  .b-fin {
    grid-row: span 1;
  }

  .pricing-grid {
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

/* ===== Mobile (768px) ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 16px;
  }

  /* --- Mobile Navigation --- */
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--app-border);
  }

  .header-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .btn-login {
    display: none;
  }

  /* --- Hero --- */
  .hero {
    padding: 140px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .floating-card {
    display: none;
  }

  .social-proof {
    margin-top: 60px;
  }

  .brand-grid {
    justify-content: center;
    gap: 20px;
  }

  .brand {
    font-size: 0.85rem;
  }

  /* --- Differential --- */
  .differential {
    padding: 80px 0;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .diff-content {
    text-align: center;
  }

  .benefit-list li {
    text-align: left;
  }

  .phone-container {
    width: 260px;
  }

  .notif-card {
    display: none;
  }

  /* --- Features --- */
  .feature-item {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }

  .feature-item:nth-child(even) .feature-content { order: 0; }
  .feature-item:nth-child(even) .feature-visual { order: 0; }

  .feature-item:last-child {
    margin-bottom: 0;
  }

  .features .section-header {
    margin-bottom: 48px;
  }

  /* --- Ecosystem --- */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .b-stock, .b-wa, .b-perm, .b-pos, .b-fin {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card {
    min-height: auto;
  }

  /* --- Video Tour --- */
  .video-tour {
    padding: 80px 0;
  }

  .video-wrapper {
    animation: none;
  }

  .video-player {
    border-radius: 16px;
  }

  /* --- Pricing --- */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card.recommended {
    transform: none;
  }

  .pricing-card.recommended:hover {
    transform: translateY(-10px);
  }

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

  /* --- CTA --- */
  .cta-final {
    padding: 80px 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* --- FAQ --- */
  .faq-grid {
    gap: 12px;
  }

  .faq-trigger {
    padding: 20px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
  }

  /* --- Contact --- */
  .contact-section {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info {
    text-align: center;
  }

  .channel-item {
    text-align: left;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  /* --- Footer --- */
  .main-footer {
    padding: 60px 0 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto 28px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== Cookie Consent ===== */

/* --- Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9900;
  background: var(--white);
  border-top: 2px solid var(--app-border);
  box-shadow: 0 -8px 40px rgba(27, 61, 47, 0.12);
  padding: 20px 24px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

/* Ensure pointer cursor on all cookie consent buttons */
.cookie-banner button,
.cookie-modal button {
  cursor: pointer;
}

.cookie-banner__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 260px;
}

.cookie-banner__text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  margin-bottom: 6px;
}

.cookie-banner__text p {
  font-size: 0.88rem;
  color: var(--app-text-muted);
  line-height: 1.5;
}

.cookie-banner__link {
  color: var(--motrixa-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__link:hover {
  color: var(--color-accent-terracotta);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

/* Outline secondary cookie button */
.btn-cookie-outline {
  background: transparent;
  border: 2px solid var(--motrixa-primary);
  color: var(--motrixa-primary);
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-cookie-outline:hover {
  background: var(--motrixa-primary);
  color: var(--white);
}

/* Ghost secondary cookie button */
.btn-cookie-ghost {
  background: transparent;
  border: none;
  color: var(--app-text-muted);
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-cookie-ghost:hover {
  color: var(--motrixa-primary);
}

.cookie-banner .btn-primary {
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 10px;
}

/* --- Modal Overlay --- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Override browser [hidden] which is overridden by display:flex above */
.cookie-modal[hidden] { display: none; }

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 61, 47, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-modal--open .cookie-modal__overlay {
  opacity: 1;
}

/* --- Modal Box --- */
.cookie-modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(27, 61, 47, 0.2);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cookie-modal--open .cookie-modal__box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--app-border);
  flex-shrink: 0;
}

.cookie-modal__header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--motrixa-primary);
}

.cookie-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--app-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal__close:hover {
  background: var(--app-border);
  color: var(--motrixa-primary);
}

.cookie-modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.cookie-modal__body > p {
  font-size: 0.9rem;
  color: var(--app-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* --- Cookie Category --- */
.cookie-category {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-category__info {
  flex: 1;
}

.cookie-category__info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  margin-bottom: 4px;
}

.cookie-category__info span {
  font-size: 0.83rem;
  color: var(--app-text-muted);
  line-height: 1.5;
}

/* "Sempre ativo" badge */
.cookie-always-active {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  background: rgba(27, 61, 47, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__track {
  width: 44px;
  height: 24px;
  background: var(--app-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s ease;
  position: relative;
  display: block;
}

.cookie-toggle__track::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: var(--motrixa-primary);
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(20px);
}

.cookie-toggle input:focus-visible + .cookie-toggle__track {
  outline: 2px solid var(--color-accent-terracotta);
  outline-offset: 3px;
}

/* --- Modal Footer --- */
.cookie-modal__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--app-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-modal__footer .btn-cookie-outline {
  padding: 12px 20px;
  font-size: 0.9rem;
}

.cookie-modal__footer .btn-primary {
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 10px;
}

/* --- Footer manage button --- */
.cookie-manage-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  color: inherit;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition-smooth);
}

.cookie-manage-link:hover {
  color: var(--color-accent-terracotta);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner__actions {
    justify-content: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner__actions .btn,
  .cookie-banner__actions .btn-cookie-outline,
  .cookie-banner__actions .btn-cookie-ghost {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .cookie-modal__header,
  .cookie-modal__body,
  .cookie-modal__footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cookie-modal__footer {
    flex-direction: column-reverse;
  }

  .cookie-modal__footer .btn,
  .cookie-modal__footer .btn-cookie-outline {
    width: 100%;
    text-align: center;
  }
}

/* ===== Small Mobile (480px) ===== */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .diff-content h2,
  .section-header h2,
  .contact-info h2,
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .phone-container {
    width: 220px;
  }

  .billing-toggle-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }

  .price-box strong {
    font-size: 2.5rem;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile overlay for nav menu */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}
