/* ==========================================================================
   Media Partners HN - Design System & Modern CSS Framework
   Targeting: Honduran Micro-entrepreneurs (Accessible, Professional, Vibrant)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --primary: #0f4c5c;
  --primary-hover: #0a3641;
  --primary-light: #e6f2f5;
  --accent: #fb8b24;
  --accent-hover: #e07a1b;
  --accent-glow: rgba(251, 139, 36, 0.25);
  --success: #2a9d8f;
  --whatsapp: #25d366;
  --whatsapp-hover: #1eaa52;
  
  /* Neutrals */
  --bg-dark: #0a1118;
  --bg-dark-card: #131d27;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-white: #f8fafc;
  --border-color: #e2e8f0;
  
  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(15, 76, 92, 0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Notification Bar */
.top-bar {
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.top-bar span {
  background: var(--accent);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  text-transform: uppercase;
}

/* Navigation Header */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  margin-right: 2.5rem;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  display: block;
}

.brand-logo:hover img {
  transform: scale(1.12);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title span {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.875rem;
  letter-spacing: -0.2px;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

/* Hero Section */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7f9 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  list-style: none;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-features-list li svg {
  color: var(--success);
  flex-shrink: 0;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.floating-info h4 {
  font-size: 1rem;
  color: var(--primary);
}

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

/* Services Section */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
}

/* Interactive Price Calculator Section */
.calculator-section {
  background: #f0f6f8;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calculator-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}

.calc-options-header {
  margin-bottom: 1.5rem;
}

.calc-options-header h3 {
  font-size: 1.5rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.calc-item.active {
  border-color: var(--accent);
  background: #fff8f3;
}

.calc-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calc-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.calc-item.active .calc-checkbox {
  background: var(--accent);
  border-color: var(--accent);
}

.calc-item-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.calc-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-item-price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  white-space: nowrap;
}

.calc-summary-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-card h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 0.75rem;
}

.selected-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.selected-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.total-price-box {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.total-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.total-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
}

.total-usd {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Live QR Menu Simulator Section */
.simulator-section {
  padding: 5rem 0;
  background: #ffffff;
}

.sim-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
}

.sim-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.sim-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.sim-features {
  list-style: none;
  margin-bottom: 2rem;
}

.sim-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 600;
}

.sim-features li span {
  background: var(--primary-light);
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Smartphone Mockup Frame */
.phone-mockup {
  width: 100%;
  max-width: 360px;
  height: 640px;
  background: #000000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 12px #1e293b;
  margin: 0 auto;
  position: relative;
}

.phone-screen {
  background: #f8fafc;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Phone Screen Internal Styling */
.phone-header {
  background: var(--primary);
  color: #fff;
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.phone-header h5 {
  color: #fff;
  font-size: 1.1rem;
}

.phone-header p {
  font-size: 0.7rem;
  opacity: 0.8;
}

.phone-categories {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.cat-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  cursor: pointer;
  white-space: nowrap;
}

.cat-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.phone-menu-list {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.phone-menu-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  align-items: center;
}

.phone-menu-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.item-details h6 {
  font-size: 0.85rem;
  color: var(--primary);
}

.item-details p {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin: 0.2rem 0 0.3rem;
}

.item-price {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
}

.phone-qr-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 17, 24, 0.92);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.qr-box {
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
}

.qr-box svg {
  width: 80px;
  height: 80px;
}

/* Steps Section */
.steps-section {
  background: var(--bg-dark);
  color: #ffffff;
}

.steps-section .section-title {
  color: #ffffff;
}

.steps-section .section-description {
  color: #94a3b8;
}

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

.step-card {
  background: var(--bg-dark-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.step-card h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* FAQ Accordion Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* Call To Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #082d37 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: -4rem;
  position: relative;
  z-index: 10;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 7rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-features-list {
    justify-content: center;
  }

  .calculator-card {
    grid-template-columns: 1fr;
  }

  .sim-container {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none;
  }

  .brand-logo img {
    height: 48px;
  }
}
