/* FORGE & MILL DESIGN SYSTEM - LANDING PAGE STYLE */

:root {
  /* Colors */
  --color-primary: #f97316;
  --color-primary-hover: #ea580c;
  --color-secondary: #facc15;
  --color-background: #131313;
  --color-surface: #1e293b;
  --color-surface-hover: #334155;
  --color-text: #e5e2e1;
  --color-text-muted: #94a3b8;
  --color-border: #334155;
  --color-border-focus: #f97316;
  
  /* Fonts */
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Border Radius & Borders */
  --radius-sm: 4px;
  --border-width: 2px;
  --border-width-lg: 4px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  padding: 0 0 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Decorative Industrial Top Bar */
.industrial-bar {
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--color-secondary),
    var(--color-secondary) 10px,
    #000 10px,
    #000 20px
  );
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 2rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 480px; /* Mobile first / single column */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Typography styles */
.headline-lg {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 1rem;
}

.headline-md {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #fff;
  margin-bottom: 1rem;
}

.body-lg {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.body-md {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.label-caps {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-warning {
  color: var(--color-secondary);
}

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

.font-italic {
  font-style: italic;
}

/* Badges & Tags */
.badge-accent {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background-color: rgba(250, 204, 21, 0.1);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.label-caps.warning-label {
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.label-caps.warning-alert-label {
  background-color: rgba(250, 204, 21, 0.1);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.label-caps.success-label {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid #22c55e;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.label-caps.section-tag {
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-tag-orange {
  color: var(--color-primary);
  display: block;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  min-height: 48px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 0px 0px rgba(0, 0, 0, 1);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #000;
  border: var(--border-width) solid #000;
}

.btn-primary:hover {
  background-color: #ff914d;
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 0 2px 0px 0px rgba(0, 0, 0, 1);
}

.cta-wrapper {
  margin-top: 1.5rem;
  width: 100%;
}

.btn-large {
  font-size: 18px;
  min-height: 56px;
}

/* Sections */
.hero-section {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0 1.5rem 0;
  border-bottom: none;
}

.section-card {
  background-color: var(--color-surface);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: 0 4px 0px 0px rgba(0, 0, 0, 0.5);
}

.border-warning {
  border-color: var(--color-secondary);
}

.border-primary {
  border-color: var(--color-primary);
}

.border-bottom {
  border-bottom: var(--border-width) solid var(--color-border);
  padding-bottom: 0.75rem;
}

/* Problem List */
.problem-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.icon-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.error-bullet {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.check-bullet {
  background-color: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid #22c55e;
}

/* Features Grid */
.features-section {
  padding: 1rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-card {
  background-color: var(--color-surface);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--color-border-focus);
}

.feature-icon {
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.feature-card h3 {
  color: #fff;
}

/* Highlighted Pricing Card Component */
.pricing-section {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card {
  width: 100%;
  background: linear-gradient(135deg, #1e1b18 0%, #151311 100%);
  border: var(--border-width-lg) solid var(--color-primary);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15), 0 8px 0px 0px rgba(0, 0, 0, 1);
  overflow: hidden;
  position: relative;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-primary);
}

.pricing-header {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
  background-color: rgba(249, 115, 22, 0.03);
}

.price-amount {
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.price-details {
  color: var(--color-primary);
  font-size: 10px;
}

.pricing-body {
  padding: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 15px;
}

.btn-pricing {
  background-color: var(--color-primary);
  animation: pulse-orange 2s infinite ease-in-out;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 4px 0px 0px rgba(0, 0, 0, 1), 0 0 0 0 rgba(249, 115, 22, 0.4);
  }
  70% {
    box-shadow: 0 4px 0px 0px rgba(0, 0, 0, 1), 0 0 0 8px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 4px 0px 0px rgba(0, 0, 0, 1), 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.pricing-footer-text {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-surface);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background-color: var(--color-surface-hover);
}

.faq-toggle {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out, padding 0.2s ease-out;
  background-color: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary height to slide down */
  padding: 1rem;
  border-top: 1px solid var(--color-border);
}

/* Final CTA Section */
.final-cta-section {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Footer */
.footer {
  text-align: center;
  color: var(--color-text-muted);
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  max-width: 480px;
}

/* PROJECTS CAROUSEL */
.carousel-section {
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15), 0 4px 0px 0px rgba(0, 0, 0, 0.5);
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-sm);
  touch-action: pan-y;
  cursor: grab;
}

.carousel-track-wrapper:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.carousel-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.carousel-caption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--color-primary);
  background-color: rgba(249, 115, 22, 0.05);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3f3f46;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* FEATURE CARDS OVERRIDES */
.feature-card {
  background-color: #18181b !important;
  border: var(--border-width) solid #27272a !important;
  box-shadow: 0 4px 0px 0px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  border-color: var(--color-primary) !important;
}

.feature-card h3 {
  color: var(--color-primary) !important;
}

.feature-icon {
  color: var(--color-primary);
}

/* GUARANTEE SECTION */
.guarantee-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.guarantee-card {
  background-color: #18181b;
  border: var(--border-width) solid #22c55e;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  max-width: 360px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1), 0 4px 0px 0px rgba(0, 0, 0, 0.5);
}

.guarantee-icon {
  color: #22c55e;
  margin-bottom: 0.25rem;
}

.guarantee-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* FUSED PROBLEM/AGITATION SECTION */
.problem-agitation-free {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.border-bottom-subtle {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.agitation-highlight {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--color-border);
}


/* ANTES VS DESPUÉS / COMPARISON SECTION */
.comparison-section {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.08) 0%, rgba(19, 19, 19, 0) 70%);
}

.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

/* COL 1: A OJO */
.col-aojo {
  display: flex;
  flex-direction: column;
  align-items: center;
  order: 2; /* no mobile, "A ojo" fica embaixo */
}

.aojo-card {
  width: 100%;
  max-width: 360px;
  background-color: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  opacity: 0.65;
  text-align: center;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.aojo-card:hover {
  opacity: 0.85;
}

.aojo-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #71717a;
  border: 1px solid #3f3f46;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.aojo-icon {
  color: #71717a;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
}

/* COL 2: CON LA APP */
.col-conapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  order: 1; /* no mobile, "Con la app" fica em cima */
}

.app-badge-wrapper {
  margin-bottom: 1rem;
  text-align: center;
}

.app-badge {
  display: inline-block;
  background-color: rgba(249, 115, 22, 0.15);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulse-border 2.5s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
}

@keyframes pulse-border {
  0%, 100% {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
  }
  50% {
    border-color: #ff914d;
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.3);
  }
}

.app-description-under {
  max-width: 380px;
  text-align: center;
}

/* PHONE MOCKUP */
.phone-mockup-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 1.5rem 0;
}

.phone-mockup {
  width: 290px;
  height: 520px;
  background-color: #0c0a09;
  border: 10px solid #27272a;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.15), 
              0 15px 35px rgba(0, 0, 0, 0.8),
              inset 0 0 10px rgba(255,255,255,0.05);
  padding: 8px;
  position: relative;
  transform: rotateY(-6deg) rotateX(6deg) rotateZ(-1deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.phone-mockup:hover {
  transform: rotateY(-1deg) rotateX(2deg) rotateZ(0deg) scale(1.02);
  box-shadow: 0 30px 60px -10px rgba(249, 115, 22, 0.25), 
              0 20px 40px rgba(0, 0, 0, 0.9);
}

.phone-inner {
  width: 100%;
  height: 100%;
  background-color: #171717;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid #1c1917;
}

.phone-notch {
  width: 120px;
  height: 18px;
  background-color: #27272a;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

/* APP SIMULATOR CONTENT */
.calculator-app-preview {
  padding: 1.25rem 0.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.calc-card {
  background: linear-gradient(135deg, #181512 0%, #0f0d0b 100%);
  border: 2px solid var(--color-primary);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0;
}

.calc-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.calc-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(249,115,22,0) 0%, rgba(249,115,22,0.3) 50%, rgba(249,115,22,0) 100%);
  margin: 0.75rem 0;
}

.calc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #71717a;
}

.calc-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

.calc-row-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-label-highlight {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  color: #f4f4f5;
}

.calc-value-highlight {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #ffffff;
  font-weight: 800;
}

.calc-row-green {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 4px 8px;
  border-radius: 6px;
}

.calc-label-green {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
}

.calc-value-green {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #22c55e;
  font-weight: 800;
}

.calc-suggested-wrapper {
  text-align: center;
  margin: 0.5rem 0 0.75rem 0;
}

.calc-suggested-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #a1a1aa;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.calc-suggested-price {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  text-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.calc-btn {
  background-color: #f4f4f5;
  color: #09090b;
  border: none;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 11px;
  padding: 10px;
  border-radius: 6px;
  width: 100%;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}


/* RESPONSIVE LAYOUT FOR COMPARISON */
@media (min-width: 768px) {
  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 3rem;
  }
  
  .col-aojo {
    order: 1; /* no desktop, "A ojo" fica na esquerda */
    align-items: flex-end;
  }
  
  .col-conapp {
    order: 2; /* no desktop, "Con la app" fica na direita */
    align-items: flex-start;
  }
  
  .aojo-card {
    text-align: right;
    max-width: 320px;
  }
  
  .aojo-icon {
    justify-content: flex-end;
  }
  
  .app-badge-wrapper {
    text-align: left;
  }
  
  .app-description-under {
    text-align: left;
  }
  
  .phone-mockup-wrapper {
    justify-content: flex-start;
  }
}



