/* =============================================
   SOFTARA — Global Design System
   ============================================= */

:root {
  /* Brand Colors */
  --blue-dark: #0a1628;
  --blue-mid: #0d2045;
  --blue: #1a4fd6;
  --blue-bright: #2563eb;
  --cyan: #06c3e0;
  --cyan-light: #67e8f9;
  --purple: #7c3aed;
  --purple-light: #a855f7;

  /* Gradient */
  --gradient-brand: #2563eb;
  --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #67e8f9 100%);
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0d1f3c 60%, #11173a 100%);
  --gradient-dark: linear-gradient(180deg, #060d1a 0%, #0a1628 100%);

  /* Neutral */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;
  --container-px: 24px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.3);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.12);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ---- Sections ---- */
.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--gradient-dark);
  color: var(--white);
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--cyan-light);
  background: rgba(103, 232, 249, 0.1);
  border-color: rgba(103, 232, 249, 0.25);
}

.section-tag--blue {
  color: var(--cyan);
  background: rgba(6, 195, 224, 0.1);
  border-color: rgba(6, 195, 224, 0.25);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

.section-subtitle--light {
  color: rgba(255,255,255,0.6);
}

.section-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #2563eb;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn-primary:hover::before {
  background: rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

.btn-primary.btn-sm {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.btn-primary.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--blue-bright);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--blue-bright);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline--light {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline--light:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

/* ---- Navbar ---- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.nav-header.scrolled {
  background: rgba(6, 11, 25, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 36px;
  width: auto;
  mix-blend-mode: lighten;
  filter: brightness(1.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-link.nav-cta {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 9px 20px;
}

.nav-link.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Footer ---- */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand img {
  margin-bottom: 16px;
  mix-blend-mode: lighten;
  filter: brightness(1.15);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-whatsapp:hover {
  color: #22c55e;
}

.footer-nav h4,
.footer-services h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-services li {
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  color: var(--white);
}

.whatsapp-float:hover {
  background: #22c55e;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --container-px: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 11, 25, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 40px;
    gap: 4px;
    transition: var(--transition-slow);
    border-left: 1px solid rgba(255,255,255,0.06);
  }

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

  .nav-link {
    width: 100%;
    font-size: 1rem;
    padding: 12px 16px;
  }

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

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