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

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #12151e;
  --bg-tertiary: #191e2b;
  
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-pink: #ec4899;
  
  --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  --accent-gradient-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --cyan-purple-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  
  --text-primary: #f3f4f6;
  --text-secondary: #a1a1aa;
  --text-muted: #6b7280;
  
  --glass-bg: rgba(18, 21, 30, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-focus: rgba(59, 130, 246, 0.4);
  --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
  
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- BACKGROUND DECORATION --- */
body::before, body::after {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -2;
  opacity: 0.15;
  pointer-events: none;
}

body::before {
  top: -10vw;
  right: -10vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

body::after {
  top: 60vh;
  left: -10vw;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-full);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* --- REUSABLE COMPONENTS & UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0 4rem;
  position: relative;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: var(--cyan-purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  position: relative;
}

.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(139, 92, 246, 0.15), 0 0 20px rgba(6, 182, 212, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--border-radius-full);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 12, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header-scrolled {
  padding: 0.75rem 0;
  background: rgba(10, 12, 16, 0.9);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  transition: var(--transition-smooth);
}

.header-scrolled .nav-container {
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  gap: 0.5rem;
}

.logo-img {
  height: 80px;
  width: auto;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.12));
}

.header-scrolled .logo-img {
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

#header-cta-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.mobile-only-cta {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  position: relative;
  overflow: hidden;
}

.tech-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  max-width: 1440px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content h1 span {
  display: block;
}

.hero-content h1 .title-primary {
  color: var(--text-primary);
}

.hero-content h1 .title-secondary {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.5rem;
}

@media (max-width: 1366px) {
  .hero-content h1 {
    font-size: 1.95rem;
  }
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
}

.hero-stat-item h3 {
  font-size: 2rem;
  color: var(--text-primary);
  font-family: var(--font-title);
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Floating Dashboard Mockup in Hero */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-dashboard {
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  position: relative;
  z-index: 1;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-dot:nth-child(1) { background: #ef4444; }
.dashboard-dot:nth-child(2) { background: #eab308; }
.dashboard-dot:nth-child(3) { background: #22c55e; }

.dashboard-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chart-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--border-radius-md);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.chart-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.chart-value {
  color: var(--accent-cyan);
  font-family: var(--font-title);
  font-weight: 700;
}

.chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 120px;
  padding-top: 1rem;
}

.chart-bar {
  width: 12%;
  background: var(--accent-gradient);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  height: 20%;
  transition: var(--transition-smooth);
  position: relative;
}

.chart-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition-fast);
}

.chart-bar:hover::after {
  opacity: 1;
}

.chart-bar-1 { height: 40%; }
.chart-bar-2 { height: 65%; }
.chart-bar-3 { height: 50%; }
.chart-bar-4 { height: 85%; }
.chart-bar-5 { height: 70%; }
.chart-bar-6 { height: 100%; }

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-card {
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--border-radius-md);
  text-align: center;
}

.mini-card h5 {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.mini-card .value {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-title);
}

.glow-ambient {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0) 70%);
  bottom: -50px;
  right: -50px;
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* --- SERVICES / MENTORING --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-blue);
  font-size: 1.75rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  transform: rotate(-5deg) scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  width: 100%;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li i {
  color: var(--accent-cyan);
}

/* --- PORTFOLIO SECTION --- */
#portfolio .container {
  max-width: 1440px;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

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

.portfolio-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.portfolio-visual-container {
  height: 270px;
  background: linear-gradient(135deg, rgba(20,24,34,0.9) 0%, rgba(10,12,16,0.9) 100%);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0.8rem;
}

.portfolio-app-img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.portfolio-app-img.mockup-contain {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transform: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.portfolio-item:hover .portfolio-app-img {
  transform: translateY(5px) scale(1.02);
}

.portfolio-item:hover .portfolio-app-img.mockup-contain {
  transform: scale(1.05);
}

.preview-bar {
  height: 24px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

.preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.preview-body {
  flex-grow: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.preview-skeleton-title {
  height: 14px;
  width: 40%;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.preview-skeleton-desc {
  height: 8px;
  width: 80%;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.preview-skeleton-desc.short {
  width: 60%;
}

.preview-stats-row {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.preview-skeleton-stat {
  height: 25px;
  flex-grow: 1;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 6px;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius-full);
}

.portfolio-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.portfolio-results {
  display: flex;
  gap: 1.25rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.portfolio-result-item span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-green);
  display: block;
}

.portfolio-result-item label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- SIMULATOR SECTION (BLUEPRINT BUILDER) --- */
.simulator-container {
  max-width: 900px;
  margin: 0 auto;
}

.simulator-box {
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.simulator-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  position: relative;
}

.simulator-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 1;
  transform: translateY(-50%);
}

.progress-line-fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  z-index: 1;
  transform: translateY(-50%);
  transition: var(--transition-smooth);
}

.progress-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 2;
  position: relative;
  transition: var(--transition-smooth);
}

.progress-step.active {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
  background: var(--bg-primary);
}

.progress-step.completed {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
}

.simulator-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.simulator-step.active {
  display: block;
}

.simulator-step h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.simulator-step-desc {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Option Grids */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.option-card {
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.option-card i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.option-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.option-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.option-card.selected {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.04);
}

.option-card.selected i {
  color: var(--accent-blue);
  transform: scale(1.1);
}

/* Step 3 input adjustments */
.scale-slider-container {
  padding: 2rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.scale-value {
  font-size: 3rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--border-radius-full);
  background: var(--bg-tertiary);
  outline: none;
  margin-bottom: 1rem;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
  transition: var(--transition-fast);
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Result Screen */
.result-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.result-blueprint {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--border-radius-md);
  position: relative;
}

.blueprint-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.blueprint-node {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--accent-blue);
  animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.blueprint-node:nth-child(1) { animation-delay: 0.1s; border-left-color: var(--accent-blue); }
.blueprint-node:nth-child(2) { animation-delay: 0.3s; border-left-color: var(--accent-cyan); }
.blueprint-node:nth-child(3) { animation-delay: 0.5s; border-left-color: var(--accent-purple); }

.blueprint-node i {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.blueprint-node-content h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.blueprint-node-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.result-cta {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
}

.result-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.simulator-navigation {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
}

/* --- TESTIMONIALS & METRICS --- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 8rem;
}

.metric-card {
  padding: 2.5rem 2rem;
  text-align: center;
}

.metric-card h3 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.metric-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  padding: 3.5rem;
  text-align: center;
  position: relative;
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: rgba(139, 92, 246, 0.15);
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--accent-purple);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

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

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.25rem;
}

.contact-details {
  min-width: 0;
  flex: 1;
}

.contact-details span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.contact-details p {
  margin-bottom: 0;
  font-weight: 600;
  overflow-wrap: break-word;
}

.contact-form {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* --- FOOTER --- */
.footer {
  background: #06070a;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2.5rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-nav h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}



/* --- SCROLL INDICATOR (SPACEX STYLE) --- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 5;
  text-decoration: none;
}

.scroll-indicator:hover {
  color: var(--text-primary);
  transform: translate(-50%, -3px);
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
  color: var(--accent-blue);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* --- WM INSIGHTS (DICAS) SECTION --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.insight-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.insight-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1);
  transform: translateY(-8px);
}

.insight-card:hover::before {
  opacity: 1;
}

.insight-number {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  transition: var(--transition-smooth);
}

.insight-card:hover .insight-number {
  color: rgba(59, 130, 246, 0.08);
  transform: scale(1.1);
}

.insight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.insight-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.insight-tag-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.insight-badge-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius-full);
}

/* --- SCROLL REVEAL (FADE IN UP) --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- HERO DASHBOARD MOCKUP SCREEN --- */
.hero-dashboard-container {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 800px;
  height: 460px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.hero-dashboard-container:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 20px 45px rgba(59, 130, 246, 0.15);
  transform: translateY(-5px);
}

.hero-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--glass-border);
}

.hero-dashboard-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left top;
  transition: var(--transition-smooth);
}

.hero-dashboard-container:hover .hero-dashboard-img {
  transform: scale(1.005);
}

/* --- SEÇÃO DE IMPORTÂNCIA DO SOFTWARE SOB MEDIDA --- */
.importance-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.importance-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
  line-height: 1.2;
}

.importance-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.importance-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.importance-benefits li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.importance-benefits li:hover .benefit-icon {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  transform: scale(1.1);
}

.benefit-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  font-family: var(--font-title);
}

.benefit-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.importance-comparison {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.comparison-card {
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.comparison-card.antes {
  background: rgba(239, 68, 68, 0.01);
  border-color: rgba(239, 68, 68, 0.08);
}

.comparison-card.depois {
  background: rgba(16, 185, 129, 0.01);
  border-color: rgba(16, 185, 129, 0.12);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.03);
}

.comparison-card:hover {
  transform: translateY(-3px);
}

.comparison-card.antes:hover {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.05);
}

.comparison-card.depois:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
}

.comparison-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-antes {
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.badge-depois {
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.comparison-card.antes li {
  color: var(--text-secondary);
}

.comparison-card li i {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.text-danger {
  color: #ef4444;
}

.text-success {
  color: #10b981;
}

/* --- RESPONSIVE BR --- */


/* --- HOVER LINK IN CONTACT --- */
.contact-details p a {
  transition: var(--transition-fast);
  color: var(--text-primary);
}

.contact-details p a:hover {
  color: var(--accent-blue);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  top: 0;
  left: 0;
  animation: pulse 2s infinite;
  box-sizing: border-box;
  opacity: 0;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}

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

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-title);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* --- RESPONSIVENESS MEDIA QUERIES (DEFINED LAST TO OVERRIDE ALL ABOVE CLASSES) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: 1; /* Exibe a imagem abaixo do texto no mobile */
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-dashboard-container {
    margin-left: auto;
    margin-right: auto;
    height: 320px;
  }
  
  .services-grid, .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .importance-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .desktop-only-br {
    display: none;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .section {
    padding: 5rem 0 2.5rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  
  .hero-dashboard-container {
    height: 200px; /* Mantém proporção da imagem no mobile sem cortes exagerados */
  }
  
  /* Navbar adjustments */
  .nav-container {
    height: 70px;
  }
  
  .header-scrolled .nav-container {
    height: 60px;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .header-scrolled .logo-img {
    height: 40px;
  }
  
  .nav-actions {
    display: none; /* Hide header CTA button on mobile */
  }
  
  .nav-toggle {
    display: block;
  }
  
  /* Collapsible mobile menu */
  .nav-links {
    display: none;
  }
  
  .nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    gap: 1rem;
    z-index: 99;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
  }
  
  .nav-links.active li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links.active .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  
  .nav-links.active li:last-child .nav-link {
    border-bottom: none;
  }
  
  .mobile-only-cta {
    display: block !important;
    width: 100%;
    margin-top: 0.5rem;
  }

  .services-grid, .insights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .comparison-card {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2.5rem 1.5rem;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .contact-method-item {
    gap: 1rem;
  }
  
  .contact-details p {
    font-size: 0.95rem;
  }
  
  .contact-details p a {
    word-break: break-all;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .simulator-box {
    padding: 1.5rem;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blueprint-node {
    padding: 1rem;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

