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

:root {
  --bg: #111111;
  --bg2: #181818;
  --bg3: #1e1e1e;
  --blue: #2E86DE;
  --blue-light: #5BB8F5;
  --white: #ffffff;
  --gray: #aaaaaa;
  --gray2: #666666;
  --radius: 12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { color: var(--gray); }

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

.section-tag {
  display: inline-block;
  background: rgba(46,134,222,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(91,184,245,0.25);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,134,222,0.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); transform: translateY(-2px); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: transparent;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.8rem 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 48px;
  width: auto;
}
.logo span { color: var(--blue-light); }
.logo-tagline {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray2);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,17,17,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--blue-light); }
.mobile-menu .btn { font-size: 1rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(46,134,222,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(91,184,245,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,134,222,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,134,222,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}
.hero h1 em { font-style: normal; }

.hero-brand {
  display: block;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #ffffff 30%, var(--blue-light) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-sub {
  display: block;
  font-size: clamp(1.15rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  line-height: 1;
}

.hero-amp {
  color: var(--blue-light);
  font-weight: 400;
  -webkit-text-fill-color: var(--blue-light);
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--gray2); margin-top: 0.2rem; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,134,222,0.08), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(46,134,222,0.35); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(46,134,222,0.2), rgba(91,184,245,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(91,184,245,0.15);
}
.service-card h3 { margin-bottom: 0.75rem; color: var(--white); }
.service-card p { font-size: 0.9rem; }
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .arrow { gap: 0.7rem; }

/* ===== WHY FELANSO ===== */
.why-section { background: var(--bg2); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-content h2 { margin-bottom: 1.5rem; }
.why-content > p { margin-bottom: 2rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray);
}
.why-list li .check {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  margin-top: 2px;
}

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.metric-card {
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.metric-card:hover { border-color: rgba(46,134,222,0.3); }
.metric-card .num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-card .label { font-size: 0.8rem; color: var(--gray2); margin-top: 0.25rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(46,134,222,0.12) 0%, rgba(91,184,245,0.06) 100%);
  border-top: 1px solid rgba(46,134,222,0.15);
  border-bottom: 1px solid rgba(46,134,222,0.15);
  text-align: center;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(46,134,222,0.25); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, rgba(46,134,222,0.2), rgba(91,184,245,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 1.5rem; }
.blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.blog-body h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.1rem; }
.blog-body p { font-size: 0.875rem; }
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--gray2);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(46,134,222,0.15), transparent 60%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-hero p { max-width: 560px; margin: 0 auto; font-size: 1.1rem; }

/* ===== ABOUT ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: rgba(46,134,222,0.3); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.team-card p { font-size: 0.85rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.value-card:hover { border-color: rgba(46,134,222,0.25); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: 0.5rem; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-channels { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: var(--transition);
}
.contact-channel:hover { border-color: rgba(46,134,222,0.3); transform: translateX(4px); }
.channel-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(46,134,222,0.2), rgba(91,184,245,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.channel-label { font-size: 0.75rem; color: var(--gray2); margin-bottom: 0.1rem; }
.channel-value { font-size: 0.95rem; color: var(--white); font-weight: 500; }

/* Form */
.contact-form {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label { display: block; font-size: 0.85rem; color: var(--gray); margin-bottom: 0.4rem; font-weight: 500; }
input, textarea, select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,134,222,0.15);
}
textarea { resize: vertical; min-height: 130px; }
select option { background: var(--bg3); }

.form-status {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-top: 1rem;
  display: none;
}
.form-status.success { background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.3); color: #25D366; display: block; }
.form-status.error { background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.3); color: #ff5050; display: block; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; max-width: 240px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); }
.footer-col h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: var(--gray2); transition: var(--transition); }
.footer-links a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray2);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== FLOATING WA BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ===== SERVICES PAGE ===== */
.services-detail { padding: 2rem 0; }
.service-detail-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  transition: var(--transition);
}
.service-detail-card:hover { border-color: rgba(46,134,222,0.3); }
.service-detail-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(46,134,222,0.2), rgba(91,184,245,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  border: 1px solid rgba(91,184,245,0.15);
  flex-shrink: 0;
}
.service-detail-content h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.feature-tag {
  background: rgba(46,134,222,0.1);
  border: 1px solid rgba(46,134,222,0.2);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  color: var(--blue-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 4rem 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-stats { gap: 2rem; flex-wrap: wrap; }

  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .service-detail-card { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .why-visual { grid-template-columns: 1fr 1fr; }
}
