/* ==========================================================================
   WebMintora Digital Agency - Core Design System & CSS Utility Suite
   Theme: Custom High-Conversion Dark Navy & Electric Cyan
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  /* Color Tokens */
  --wm-navy-deep: #030817;
  --wm-navy-surface: #071426;
  --wm-navy-card: #0B1B33;
  --wm-navy-light: #102442;
  
  --wm-blue-electric: #0B63F6;
  --wm-cyan-bright: #10C7F4;
  --wm-cyan-soft: #78E7FF;
  --wm-whatsapp-green: #20B858;
  
  --wm-white: #FFFFFF;
  --wm-bg-light: #F4F8FC;
  --wm-slate-text: #526175;
  --wm-dark-text: #142033;
  --wm-border-dark: rgba(16, 199, 244, 0.18);
  --wm-border-light: rgba(11, 99, 246, 0.12);
  
  /* Signature Blue-to-Cyan Gradients */
  --wm-grad-primary: linear-gradient(135deg, #0B63F6 0%, #10C7F4 100%);
  --wm-grad-glow: linear-gradient(135deg, rgba(11, 99, 246, 0.35) 0%, rgba(16, 199, 244, 0.35) 100%);
  --wm-grad-dark-surface: linear-gradient(180deg, #071426 0%, #030817 100%);
  --wm-grad-card-glow: linear-gradient(135deg, rgba(16, 199, 244, 0.15) 0%, rgba(11, 99, 246, 0.05) 100%);
  
  /* Typography */
  --wm-font-heading: 'Manrope', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --wm-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing & Layout */
  --wm-radius-sm: 8px;
  --wm-radius-md: 16px;
  --wm-radius-lg: 22px;
  --wm-radius-pill: 9999px;
  --wm-max-width: 1240px;
  --wm-text-max-width: 68ch;
  
  /* Elevation Shadows */
  --wm-shadow-sm: 0 4px 12px rgba(3, 8, 23, 0.25);
  --wm-shadow-md: 0 12px 32px rgba(3, 8, 23, 0.4);
  --wm-shadow-lg: 0 20px 48px rgba(11, 99, 246, 0.18);
  --wm-shadow-glow: 0 0 35px rgba(16, 199, 244, 0.3);
  
  /* Transitions */
  --wm-transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --wm-transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--wm-font-body);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--wm-navy-deep);
  color: #E2E8F0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Focus Visible Keyboard Navigation */
:focus-visible {
  outline: 3px solid var(--wm-cyan-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wm-font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--wm-white);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin-bottom: 0.75rem;
}

p {
  color: #94A3B8;
  max-width: var(--wm-text-max-width);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

a {
  color: var(--wm-cyan-bright);
  text-decoration: none;
  transition: color var(--wm-transition-fast);
}

a:hover {
  color: var(--wm-cyan-soft);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--wm-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-gradient {
  background: var(--wm-grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(16, 199, 244, 0.1);
  border: 1px solid var(--wm-border-dark);
  border-radius: var(--wm-radius-pill);
  color: var(--wm-cyan-bright);
  font-family: var(--wm-font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #071426 0%, #0B63F6 50%, #071426 100%);
  color: var(--wm-white);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(16, 199, 244, 0.2);
}

.announcement-bar a {
  color: var(--wm-cyan-soft);
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* Primary Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 8, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--wm-border-dark);
  padding: 0.85rem 0;
  transition: all var(--wm-transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--wm-white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--wm-grad-primary);
  border-radius: 2px;
}

/* Dropdown Menu */
.nav-item-has-children {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--wm-navy-surface);
  border: 1px solid var(--wm-border-dark);
  border-radius: var(--wm-radius-md);
  padding: 0.75rem 0;
  box-shadow: var(--wm-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--wm-transition-fast);
  list-style: none;
}

.nav-item-has-children:hover .nav-dropdown,
.nav-item-has-children:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #CBD5E1;
}

.nav-dropdown a:hover {
  background: rgba(16, 199, 244, 0.08);
  color: var(--wm-cyan-bright);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--wm-radius-pill);
  font-family: var(--wm-font-body);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: all var(--wm-transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--wm-grad-primary);
  color: var(--wm-navy-deep);
  box-shadow: 0 4px 20px rgba(16, 199, 244, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 199, 244, 0.45);
  color: var(--wm-navy-deep);
}

.btn-secondary {
  background: rgba(16, 199, 244, 0.08);
  color: var(--wm-white);
  border: 1px solid var(--wm-border-dark);
}

.btn-secondary:hover {
  background: rgba(16, 199, 244, 0.18);
  border-color: var(--wm-cyan-bright);
  color: var(--wm-cyan-bright);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--wm-whatsapp-green);
  color: var(--wm-white);
  box-shadow: 0 4px 18px rgba(32, 184, 88, 0.35);
}

.btn-whatsapp:hover {
  background: #1ca34d;
  color: var(--wm-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(32, 184, 88, 0.5);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--wm-whatsapp-green);
  color: var(--wm-white);
  padding: 0.85rem 1.35rem;
  border-radius: var(--wm-radius-pill);
  box-shadow: 0 8px 25px rgba(32, 184, 88, 0.45);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--wm-transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(32, 184, 88, 0.6);
  color: var(--wm-white);
}

.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  margin-right: 0.75rem;
  background: var(--wm-navy-surface);
  color: var(--wm-white);
  padding: 0.5rem 0.85rem;
  border-radius: var(--wm-radius-sm);
  font-size: 0.82rem;
  white-space: nowrap;
  border: 1px solid var(--wm-border-dark);
  box-shadow: var(--wm-shadow-sm);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--wm-transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Bottom Contact Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 998;
  background: var(--wm-navy-deep);
  border-top: 1px solid var(--wm-border-dark);
  padding: 0.6rem 0.75rem;
}

.mobile-bottom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* Cards & Containers */
.card-navy {
  background: var(--wm-navy-surface);
  border: 1px solid var(--wm-border-dark);
  border-radius: var(--wm-radius-lg);
  padding: 2rem;
  transition: all var(--wm-transition-normal);
  position: relative;
  overflow: hidden;
}

.card-navy:hover {
  border-color: rgba(16, 199, 244, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--wm-shadow-md);
}

.card-featured {
  background: linear-gradient(180deg, #0B1B33 0%, #071426 100%);
  border: 2px solid var(--wm-cyan-bright);
  box-shadow: var(--wm-shadow-glow);
  position: relative;
}

.badge-featured {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--wm-grad-primary);
  color: var(--wm-navy-deep);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--wm-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Concept Demo Badge */
.concept-demo-banner {
  background: linear-gradient(90deg, #0B63F6 0%, #10C7F4 100%);
  color: var(--wm-navy-deep);
  text-align: center;
  padding: 0.65rem 1rem;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(16, 199, 244, 0.3);
}

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

.faq-item {
  background: var(--wm-navy-surface);
  border: 1px solid var(--wm-border-dark);
  border-radius: var(--wm-radius-md);
  overflow: hidden;
  transition: border-color var(--wm-transition-fast);
}

.faq-item:hover {
  border-color: rgba(16, 199, 244, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--wm-white);
  font-family: var(--wm-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--wm-cyan-bright);
  transition: transform var(--wm-transition-fast);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: #94A3B8;
}

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

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: #CBD5E1;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #030817;
  border: 1px solid var(--wm-border-dark);
  border-radius: var(--wm-radius-sm);
  color: var(--wm-white);
  font-family: var(--wm-font-body);
  font-size: 0.98rem;
  transition: border-color var(--wm-transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--wm-cyan-bright);
  box-shadow: 0 0 0 3px rgba(16, 199, 244, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #94A3B8;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--wm-cyan-bright);
}

/* Footer */
.site-footer {
  background: #02050E;
  border-top: 1px solid var(--wm-border-dark);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  color: #64748B;
  font-size: 0.92rem;
}

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

.footer-col h4 {
  color: var(--wm-white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--wm-cyan-bright);
}

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

.pricing-disclaimer {
  color: var(--wm-cyan-soft);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Handled by mobile menu drawer */
  }
  
  .whatsapp-float {
    bottom: 4.5rem;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
