/* 
   WEB DEV - Landing Page CSS3 Stylesheet
   Design: Modern, Premium, Minimalis, Glassmorphism, Tech Agency
*/

/* --- CUSTOM VARIABLES --- */
:root {
  --primary: #2563eb;
  --primary-rgb: 37, 99, 235;
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;
  --secondary-rgb: 15, 23, 42;
  --secondary-light: #1e293b;
  --accent: #06b6d4;
  --accent-rgb: 6, 182, 212;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --radius-card: 18px;
  --radius-btn: 30px;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 10px 25px rgba(37, 99, 235, 0.25);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.align-center {
  align-items: center;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-center: center;
  text-align: center;
}

.accent-color {
  color: var(--primary);
}

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background-color: var(--bg-light);
  color: var(--secondary);
  border-color: rgba(15, 23, 42, 0.08);
}

.btn-secondary:hover {
  background-color: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* --- BADGE --- */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--bg-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- SECTION HEADER --- */
.section-header {
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- STICKY HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--secondary);
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

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

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 160px 0 110px 0;
  background-color: #fafbfc;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
}

.blob-1 {
  top: -10%;
  left: 20%;
  width: 400px;
  height: 400px;
  background-color: rgba(37, 99, 235, 0.15);
  animation: moveBlob 20s infinite alternate;
}

.blob-2 {
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background-color: rgba(6, 182, 212, 0.15);
  animation: moveBlob 25s infinite alternate-reverse;
}

.blob-3 {
  top: 30%;
  right: 40%;
  width: 300px;
  height: 300px;
  background-color: rgba(139, 92, 246, 0.1);
  animation: moveBlob 18s infinite alternate;
}

@keyframes moveBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-20px, 40px) scale(0.9); }
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 3.3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  margin-left: -12px;
  box-shadow: var(--shadow-sm);
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-text strong {
  color: var(--secondary);
}

/* Hero Visual Graphic (CSS/SVG Animated Dashboard) */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 380px;
  perspective: 1000px;
}

/* Glassmorphism Browser */
.browser-window {
  width: 100%;
  height: 320px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: absolute;
  top: 20px;
  left: 0;
  animation: floatWindow 6s ease-in-out infinite;
}

.browser-header {
  height: 36px;
  background: rgba(241, 245, 249, 0.6);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.browser-address {
  margin-left: 20px;
  width: 220px;
  height: 18px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  font-size: 9px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  padding-left: 8px;
  border: 1px solid rgba(15, 23, 42, 0.03);
}

.browser-body {
  height: calc(100% - 36px);
  padding: 12px;
}

.mock-layout {
  display: flex;
  height: 100%;
  gap: 12px;
}

.mock-sidebar {
  width: 45px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-logo {
  height: 10px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.6;
}

.mock-nav-item {
  height: 6px;
  background: var(--text-light);
  border-radius: 2px;
  opacity: 0.3;
}

.mock-nav-item.active {
  background: var(--primary);
  opacity: 0.7;
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-navbar {
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-search {
  width: 100px;
  height: 8px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 2px;
}

.mock-avatar {
  width: 14px;
  height: 14px;
  background: var(--text-light);
  border-radius: 50%;
  opacity: 0.4;
}

.mock-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
}

.mock-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.03);
}

.mock-card.card-large {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.mock-chart {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.chart-svg {
  width: 100%;
  height: auto;
}

/* Floating Elements */
.floating-card {
  position: absolute;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-glass);
}

.float-code {
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  padding: 12px 16px;
  font-family: monospace;
  font-size: 10px;
  top: -15px;
  right: -10px;
  width: 190px;
  backdrop-filter: blur(8px);
  animation: floatCard1 5s ease-in-out infinite alternate;
}

.card-title-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 9px;
}

.code-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.keyword { color: #f43f5e; }
.variable { color: #38bdf8; }
.class { color: #fbbf24; }
.method { color: #34d399; }
.string { color: #fb7185; }
.property { color: #a78bfa; }

.float-stats {
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  bottom: 0px;
  left: -20px;
  backdrop-filter: blur(8px);
  animation: floatCard2 7s ease-in-out infinite alternate;
}

.stats-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-icon svg {
  width: 16px;
  height: 16px;
}

.stats-data {
  display: flex;
  flex-direction: column;
}

.stats-label {
  font-size: 9px;
  color: var(--text-muted);
}

.stats-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
}

.float-mobile {
  width: 85px;
  height: 150px;
  background: #0f172a;
  border-radius: 16px;
  bottom: 30px;
  right: -25px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: floatCard3 6s ease-in-out infinite alternate;
}

.mobile-notch {
  width: 35px;
  height: 6px;
  background: #000000;
  border-radius: 10px;
  margin: 0 auto 6px auto;
}

.mobile-content {
  flex: 1;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-img {
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
}

.mobile-text {
  height: 6px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 2px;
  width: 100%;
}

.mobile-btn {
  height: 12px;
  background: var(--primary);
  border-radius: 4px;
  margin-top: auto;
  opacity: 0.8;
}

/* Animations Keyframes */
@keyframes floatWindow {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes floatCard1 {
  0% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(0) rotate(2deg); }
}

@keyframes floatCard2 {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(-2deg); }
}

@keyframes floatCard3 {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

/* --- SECTION LAYANAN --- */
.services-grid {
  margin-top: 20px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.1);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.service-icon {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.arrow-right {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.service-card:hover .arrow-right {
  transform: translateX(4px);
}

/* --- SECTION PORTFOLIO --- */
.portfolio-grid {
  margin-top: 20px;
}

.portfolio-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 20%, rgba(15, 23, 42, 0.2));
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--bg-white);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.portfolio-item-title {
  font-size: 1.25rem;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.portfolio-btn-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: var(--primary);
  color: var(--bg-white);
}

.portfolio-btn-link:hover {
  background-color: var(--primary-hover);
}

/* --- KENAPA KAMI & STATISTIK --- */
.features-content {
  padding-right: 20px;
}

.features-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-list li {
  display: flex;
  gap: 16px;
}

.feature-tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-tick svg {
  width: 12px;
  height: 12px;
}

.feature-item-text {
  display: flex;
  flex-direction: column;
}

.feature-item-text strong {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 2px;
}

.feature-item-text span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Stats Visual Graphic */
.stats-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 420px;
  z-index: 2;
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--primary);
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Glass Orbs background decoration */
.stats-bg-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}

.orb-1 {
  width: 200px;
  height: 200px;
  background-color: rgba(6, 182, 212, 0.2);
  top: 10%;
  left: 10%;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background-color: rgba(37, 99, 235, 0.15);
  bottom: 10%;
  right: 10%;
}

/* --- PROSES PENGERJAAN --- */
.timeline-container {
  position: relative;
  margin-top: 60px;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary) 20%, rgba(37, 99, 235, 0.1) 80%);
  z-index: 1;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.timeline-step {
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  border: 4px solid var(--bg-white);
  transition: var(--transition);
}

.timeline-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.4);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0 10px;
}

/* --- TESTIMONI --- */
.testimonial-slider-wrapper {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  height: 290px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  transform: translateX(30px);
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(15, 23, 42, 0.03);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.rating {
  font-size: 1rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.user-name {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 600;
}

.user-position {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--text-light);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  opacity: 0.4;
}

.dot-btn.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 6px;
  opacity: 1;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.1);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 20px;
}

.faq-question {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-icon svg {
  width: 100%;
  height: 100%;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Active State Accordion */
.faq-item.active {
  border-color: rgba(37, 99, 235, 0.15);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

/* --- BIG CTA SECTION --- */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 60%, var(--primary) 100%);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--bg-white);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.cta-title {
  color: var(--bg-white);
  font-size: 2.6rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto 36px auto;
  font-size: 1.1rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.cta-buttons {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.whatsapp-btn-icon {
  width: 22px;
  height: 22px;
}

.btn-pulse {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.cta-phone-text {
  font-size: 0.95rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.cta-phone-text strong {
  color: var(--bg-white);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-text {
  color: var(--bg-white);
}

.footer-pitch {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact li a:hover {
  color: var(--primary);
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  background-color: rgba(8, 10, 18, 0.3);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

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

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-label {
  background: var(--bg-white);
  color: var(--secondary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.03);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.floating-whatsapp:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #22c55e;
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
  animation: pulseIcon 2s infinite;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}

@keyframes pulseIcon {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- INTERSECTION OBSERVER ANIMATION CLASSES --- */
.reveal-fade-up, .reveal-fade-left, .reveal-fade-right, .reveal-zoom {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up {
  transform: translateY(40px);
}

.reveal-fade-left {
  transform: translateX(-40px);
}

.reveal-fade-right {
  transform: translateX(40px);
}

.reveal-zoom {
  transform: scale(0.92);
}

.reveal-active {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .grid-2 {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .hero {
    padding: 120px 0 80px 0;
  }
  
  .hero-content {
    text-align: center;
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* visual on top for tablet/mobile */
  }
  
  .features-content {
    padding-right: 0;
  }
  
  .stats-visual {
    justify-content: center;
  }
  
  /* Timeline modification */
  .timeline-line {
    top: 0;
    left: 22px;
    width: 4px;
    height: calc(100% - 60px);
    background: linear-gradient(to bottom, var(--primary) 20%, rgba(37, 99, 235, 0.1) 80%);
  }
  
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  
  .timeline-step {
    display: flex;
    text-align: left;
    gap: 20px;
  }
  
  .step-number {
    margin: 0;
    flex-shrink: 0;
    z-index: 2;
  }
  
  .step-title {
    margin-top: 8px;
    margin-bottom: 6px;
  }
  
  .step-desc {
    padding: 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-info {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* Hamburger Menu toggle activation */
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
    z-index: 1050;
    padding: 100px 40px 40px 40px;
    flex-direction: column;
    transition: var(--transition);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: block;
  }
  
  .header-cta {
    display: none; /* Hide header button on mobile to prevent clutter */
  }
  
  /* Hamburger animation */
  .hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .testimonial-slider {
    height: 380px;
  }
}

@media (max-width: 580px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .testimonial-slider {
    height: 440px;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .cta-card {
    padding: 50px 20px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-info {
    grid-column: span 1;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-label {
    display: none; /* Hide label on small mobile */
  }
}
