/* =============================================
   FABRIDEV PORTFOLIO - style.css
   Fabricio Fernández | fabridev.com
   Dark mode premium · Glassmorphism · 2026
   ============================================= */

/* ---- DESIGN TOKENS ---- */
:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #22d3ee;
  --accent-dark: #06b6d4;
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;
  --purple: #a78bfa;

  --bg: #080b14;
  --bg-2: #0d1117;
  --bg-3: #111827;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.5);

  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-h: 72px;
  --container: 1200px;
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- UTILITIES ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-xl { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-hostinger {
  background: linear-gradient(135deg, #7c3aed, #673ab7);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.btn-hostinger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---- TAGS ---- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  letter-spacing: 0.03em;
}
.tag-green {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.logo-text { color: var(--text); }
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--surface-hover); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  font-weight: 600;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.1); background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,211,238,0.15), transparent 70%);
  bottom: 0; left: -100px;
  animation-delay: 3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(167,139,250,0.12), transparent 70%);
  top: 40%; left: 40%;
  animation-delay: 6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  min-height: 2rem;
}
.typed-cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-desc strong { color: var(--text); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust .fa-check-circle { color: var(--green); font-size: 0.9rem; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-plus { display: inline; color: var(--primary-light); font-size: 1.5rem; font-weight: 800; }
.stat-label { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Phone Mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup-wrapper { position: relative; width: 260px; }
.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 65%);
  animation: orbFloat 5s ease-in-out infinite;
}
.phone-mockup {
  position: relative;
  width: 260px;
  height: 530px;
  background: #0d1117;
  border-radius: 40px;
  border: 2px solid rgba(99,102,241,0.4);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 1;
}
.phone-screen { width: 100%; height: 100%; overflow: hidden; }
.phone-app-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}
.floating-badge {
  position: absolute;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  animation: floatBadge 3s ease-in-out infinite;
}
.badge-top-right { top: 20px; right: -30px; animation-delay: 0s; }
.badge-bottom-left { bottom: 60px; left: -40px; animation-delay: 1.5s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ==================== ABOUT ==================== */
.about {
  padding: 7rem 0;
  background: var(--bg);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.about-lead strong { color: var(--primary-light); }
.about-highlights { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.65rem; }
.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.highlight-item i { color: var(--primary-light); width: 18px; flex-shrink: 0; }
.about-stack {}
.stack-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}
.stack-item-wide { grid-column: 1 / 5; }
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: default;
}
.stack-item:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-4px);
  background: var(--surface-hover);
}
.stack-icon { font-size: 1.8rem; }
.stack-item span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; text-align: center; }

/* ==================== PROJECTS ==================== */
.projects {
  padding: 7rem 0;
  background: var(--bg);
}

.project-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.1);
}
.card-featured {
  grid-column: 1 / 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card-wide-project {
  grid-column: 1 / 3;
}
.card-featured .project-image-wrap { height: 100%; }
.card-featured .project-image-wrap .project-img { height: 100%; object-fit: cover; min-height: 300px; }

.project-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  z-index: 2;
}
.project-image-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-img-contain { object-fit: contain; background: #0d1117; }
.project-card:hover .project-img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 20, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.project-card:hover .project-overlay { opacity: 1; }
.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: white;
  color: var(--bg);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.overlay-btn:hover { transform: scale(1.05); }

.project-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.project-title { font-size: 1.2rem; margin: 0; }
.project-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.project-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.5rem; }

/* ==================== PRODUCTS ==================== */
.products {
  padding: 7rem 0;
  background: var(--bg-2);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.04), transparent 70%);
  pointer-events: none;
  transition: opacity var(--transition);
  opacity: 0;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.product-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.product-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.product-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-icon-placeholder {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.product-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}
.product-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.product-features li::before {
  content: '\2713';
  font-weight: 700;
  color: var(--text-dim);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.product-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.btn-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-text:hover { color: var(--text); }

/* ==================== FEATURED APP (keep for Cuentas Claras) ==================== */
.featured-app {
  padding: 5rem 0;
  background: var(--bg-3);
}
.featured-inner {
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(34,211,238,0.05));
  border-color: rgba(99,102,241,0.2);
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  background: rgba(1, 135, 95, 0.15);
  border: 1px solid rgba(1, 135, 95, 0.3);
  color: #4ade80;
  margin-bottom: 1rem;
}
.featured-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 0.75rem; }
.featured-subtitle { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.featured-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.featured-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.featured-list i { color: var(--green); }
.featured-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.featured-visual { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.app-rating-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  max-width: 240px;
}
.stars { font-size: 1.5rem; color: var(--orange); margin-bottom: 0.5rem; }
.app-rating-card p { font-size: 0.88rem; color: var(--text-muted); font-style: italic; margin-bottom: 0.5rem; }
.app-rating-card span { font-size: 0.75rem; color: var(--text-dim); }
.playstore-badge { width: 180px; transition: all var(--transition); }
.playstore-badge:hover { transform: scale(1.05); }

/* ==================== SERVICES ==================== */
.services {
  padding: 7rem 0;
  background: var(--bg-2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.service-icon-wrap { margin-bottom: 0.5rem; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
.service-features { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.service-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}
.service-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-light);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  transition: all var(--transition);
}
.service-link:hover { gap: 10px; color: var(--accent); }

/* ==================== STACK ==================== */
.stack {
  padding: 7rem 0;
  background: var(--bg);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: default;
}
.stack-item:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-6px);
  background: var(--surface-hover);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.stack-icon { font-size: 2.5rem; }
.stack-item span { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; text-align: center; }

/* ==================== HOSTINGER BANNER ==================== */
.hostinger-banner {
  padding: 4rem 0;
  background: var(--bg-3);
}
.hostinger-inner {
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.05);
}
.hostinger-img { width: 300px; border-radius: var(--radius); object-fit: cover; }
.hostinger-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.hostinger-text h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.hostinger-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.hostinger-text strong { color: var(--text); }
.hostinger-code {
  margin-top: 0.75rem !important;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}
.hostinger-code strong { color: var(--purple); }

/* ==================== CONTACT ==================== */
.contact {
  padding: 7rem 0;
  background: var(--bg-2);
}
.contact-inner {
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  border-color: rgba(99,102,241,0.15);
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(34,211,238,0.03));
}
.contact-channels { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-channel:hover { border-color: rgba(99,102,241,0.4); transform: translateX(4px); }
.channel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  flex-shrink: 0;
}
.channel-label { display: block; font-size: 0.72rem; color: var(--text-dim); margin-bottom: 1px; }
.channel-value { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.contact-location {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

/* Contact Form */
.contact-form {
  padding: 2rem;
  border-radius: var(--radius-lg);
}
.form-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(99,102,241,0.06);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-group select option { background: var(--bg-3); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-dim); text-align: center; margin-top: 0.75rem; }
.form-note a { color: var(--primary-light); }
.form-note a:hover { text-decoration: underline; }

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer-logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; }
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  color: var(--text-muted);
}
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }

.footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text); }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a, .footer-location {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--primary-light); }
.footer-location { font-size: 0.85rem; }
.footer-hostinger { margin-top: 1rem; }
.hostinger-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--purple);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(167,139,250,0.25);
  background: rgba(167,139,250,0.08);
  transition: all var(--transition);
}
.hostinger-mini:hover { background: rgba(167,139,250,0.15); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==================== FLOATING BUTTONS ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(13,17,23,0.95);
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* ==================== SUCCESS MESSAGE ==================== */
.form-success {
  text-align: center;
  padding: 2rem;
  color: var(--green);
}
.form-success i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .card-featured { grid-template-columns: 1fr; grid-column: 1 / 3; }
  .card-featured .project-image-wrap { height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stack-grid-mini { grid-template-columns: repeat(3, 1fr); }
  .stack-item-wide { grid-column: 1 / 4; }
}

@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .badge-top-right { right: -10px; }
  .badge-bottom-left { left: -10px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--navbar-h); left: 0; right: 0; background: rgba(8,11,20,0.97); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.25rem; backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 20px; border-radius: var(--radius-sm); width: 100%; }
  .menu-toggle { display: flex; }
  .navbar { position: fixed; }
  .projects-grid { grid-template-columns: 1fr; }
  .card-featured { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.75rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-inner { padding: 2rem; }
  .stack-grid-mini { grid-template-columns: repeat(2, 1fr); }
  .stack-item-wide { grid-column: 1 / 3; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .btn-xl { padding: 14px 24px; font-size: 0.95rem; }
  .phone-mockup-wrapper { width: 200px; }
  .phone-mockup { width: 200px; height: 400px; }
  .products-grid { grid-template-columns: 1fr; }
}
