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

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

img, svg, picture, video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

ul, ol {
  list-style: none;
}

input, button, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

p:last-child {
  margin-bottom: 0;
}

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

.text-gradient-purple {
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-handwriting {
  font-family: var(--font-handwriting);
  font-size: 1.25rem;
  color: #6366F1;
  font-weight: 700;
}

.text-muted { color: var(--text-muted); }
.text-lead { font-size: 1.08rem; line-height: 1.65; color: #475569; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-white {
  background-color: var(--bg-page);
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header-flex .title-block h2 {
  font-size: 1.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.section-header-flex .title-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.view-all-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.view-all-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Pills, Badges & Micro-elements
   ========================================================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-welcome {
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--primary-200);
}

.badge-orange-tag {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gradient {
  background: var(--gradient-brand-btn);
  color: #FFFFFF;
  border: none;
  box-shadow: var(--shadow-purple-btn);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -3px rgba(124, 58, 237, 0.5);
  color: #FFFFFF;
}

.btn-whatsapp-outline {
  background: #FFFFFF;
  color: #15803D;
  border: 1.5px solid #22C55E;
}

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

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp-icon-only {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: #25D366;
  color: #FFFFFF;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
  transition: all var(--transition-normal);
  padding: 0;
}

.btn-whatsapp-icon-only:hover {
  background: #16A34A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

.btn-whatsapp-icon-only svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-whatsapp-solid {
  background: #22C55E;
  color: #FFFFFF;
  border: none;
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp-solid:hover {
  background: #16A34A;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-primary,
.btn-purple-solid {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.28);
}

.btn-primary:hover,
.btn-purple-solid:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.38);
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary-light);
  border: none;
  font-weight: 700;
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

.btn-outline-pill {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline-pill:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

/* ==========================================================================
   Grids
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

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

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

.hero-mockup-float {
  animation: floatUpSoft 6s ease-in-out infinite;
}
