/* =====================================================
   YUFALAB — LIGHT PROFESSIONAL DESIGN SYSTEM
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #ffffff;
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* =====================================================
   HEADER
   ===================================================== */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 999;
  padding: 18px 0;
  transition: all 0.3s ease;
}
header.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(15,30,75,0.08);
  border-bottom: 1px solid rgba(15,30,75,0.06);
}
.navbar-container {
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; object-fit: contain; }
.logo-name {
  font-size: 20px; font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.nav-menu {
  display: flex; align-items: center; gap: 28px;
}
.nav-link {
  font-size: 14px; font-weight: 500; color: #475569;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }
.mobile-menu-btn {
  display: none; background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--primary);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all 0.25s ease; border: none;
  text-decoration: none;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,120,0,0.25);
}
.btn-accent:hover {
  background: #e86c00;
  box-shadow: 0 6px 20px rgba(255,120,0,0.35);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* =====================================================
   HERO SECTION
   ===================================================== */
#hero {
  padding: 120px 0 80px;
  background: linear-gradient(160deg, #f0f4ff 0%, #faf8ff 40%, #fff7f0 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

/* Left column */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 50px;
  background: rgba(255,120,0,0.08);
  border: 1px solid rgba(255,120,0,0.2);
  color: var(--accent); font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 20px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease infinite;
}
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.5; }
}

.hero-title {
  font-size: 46px; font-weight: 800;
  color: var(--primary); line-height: 1.15;
  letter-spacing: -1.5px; margin-bottom: 18px;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
}
.hero-subtitle {
  font-size: 16px; color: #64748b;
  margin-bottom: 36px; max-width: 460px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid rgba(15,30,75,0.08);
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-num { font-size: 20px; font-weight: 800; color: var(--primary); }
.trust-label { font-size: 12px; color: #94a3b8; line-height: 1.3; }

/* Right column — LOGO SHOWCASE */
.hero-logo-showcase {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
}
.logo-display-card {
  width: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(15,30,75,0.1), 0 4px 16px rgba(15,30,75,0.06);
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
  position: relative; z-index: 2;
  border: 1px solid rgba(15,30,75,0.06);
}
.logo-display-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,75,210,0.03) 0%, rgba(255,120,0,0.03) 100%);
  pointer-events: none;
}
.logo-big {
  width: 180px; height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(15,30,75,0.15));
}
.logo-tagline {
  text-align: center;
}
.logo-tagline h2 {
  font-size: 28px; font-weight: 800;
  color: var(--primary); letter-spacing: -1px;
}
.logo-tagline p {
  font-size: 13px; color: #94a3b8; margin-top: 4px;
}
.logo-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,30,75,0.08), transparent);
}
.logo-pills {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.logo-pill {
  padding: 5px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 600;
  background: rgba(0,75,210,0.06);
  color: var(--secondary);
  border: 1px solid rgba(0,75,210,0.12);
}

/* Decorative floating shapes behind card */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.25;
  pointer-events: none;
}
.hero-shape-1 {
  width: 280px; height: 280px;
  background: var(--secondary);
  top: -60px; right: -60px;
  animation: shapeFloat 10s ease-in-out infinite alternate;
}
.hero-shape-2 {
  width: 200px; height: 200px;
  background: var(--accent);
  bottom: -40px; left: -40px;
  animation: shapeFloat 13s ease-in-out infinite alternate-reverse;
}
@keyframes shapeFloat {
  0% { transform: translate(0,0); }
  100% { transform: translate(20px,-20px); }
}

/* =====================================================
   SECTION COMMONS
   ===================================================== */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 80px 0; }

.section-header { text-align: center; max-width: 580px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-size: 34px; font-weight: 800;
  color: var(--primary); line-height: 1.2;
  letter-spacing: -0.8px; margin-bottom: 14px;
}
.section-desc { font-size: 15px; color: #64748b; line-height: 1.8; }

/* =====================================================
   ABOUT SECTION
   ===================================================== */
#about { background: #f8faff; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-visual { position: relative; }
.about-logo-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 12px 40px rgba(15,30,75,0.08);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(15,30,75,0.06);
}
.about-logo { width: 200px; height: 200px; object-fit: contain; }
.about-stat-card {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--primary); color: #fff;
  border-radius: 16px; padding: 18px 24px;
  text-align: center; box-shadow: 0 8px 24px rgba(15,30,75,0.25);
  min-width: 130px;
}
.about-stat-card h4 { font-size: 32px; font-weight: 800; color: var(--accent); }
.about-stat-card p { font-size: 12px; opacity: 0.7; margin-top: 2px; }

.about-eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.about-title { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.5px; }
.about-desc { font-size: 14px; color: #64748b; margin-bottom: 32px; line-height: 1.9; }

.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 18px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(15,30,75,0.06);
  transition: all 0.25s ease;
}
.feature-item:hover {
  box-shadow: 0 4px 16px rgba(15,30,75,0.06);
  border-color: rgba(0,75,210,0.15);
}
.feature-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.fi-blue { background: rgba(0,75,210,0.08); color: var(--secondary); }
.fi-orange { background: rgba(255,120,0,0.08); color: var(--accent); }
.fi-green { background: rgba(16,185,129,0.08); color: #059669; }
.fi-purple { background: rgba(124,58,237,0.08); color: #7c3aed; }
.feature-text h5 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 2px; }
.feature-text p { font-size: 12px; color: #94a3b8; }

/* =====================================================
   SERVICES SECTION
   ===================================================== */
#services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card {
  padding: 36px 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,30,75,0.07);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,30,75,0.1); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.si-blue { background: rgba(0,75,210,0.08); color: var(--secondary); }
.si-orange { background: rgba(255,120,0,0.08); color: var(--accent); }
.si-green { background: rgba(16,185,129,0.08); color: #059669; }
.si-purple { background: rgba(124,58,237,0.08); color: #7c3aed; }

.service-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 13px; color: #64748b; line-height: 1.7; }
.service-num {
  position: absolute; bottom: 16px; right: 20px;
  font-size: 42px; font-weight: 800; color: rgba(15,30,75,0.04);
  user-select: none;
}

/* =====================================================
   PORTFOLIO SECTION
   ===================================================== */
#portfolio { background: #f8faff; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.portfolio-card {
  border-radius: 16px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,30,75,0.07);
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(15,30,75,0.04);
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15,30,75,0.1);
  border-color: rgba(0,75,210,0.15);
}
.portfolio-img-wrapper {
  position: relative; padding-top: 52%; overflow: hidden;
  background: #f1f5f9;
}
.portfolio-img-wrapper img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img-wrapper img { transform: scale(1.04); }
.portfolio-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.portfolio-placeholder i { font-size: 28px; }
.portfolio-placeholder span { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; opacity: 0.6; }
.pp-blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: var(--secondary); }
.pp-orange { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); color: var(--accent); }
.pp-purple { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); color: #7c3aed; }

.portfolio-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  z-index: 2;
}
.pb-blue { background: rgba(0,75,210,0.1); color: var(--secondary); border: 1px solid rgba(0,75,210,0.2); }
.pb-orange { background: rgba(255,120,0,0.1); color: var(--accent); border: 1px solid rgba(255,120,0,0.2); }
.pb-purple { background: rgba(124,58,237,0.1); color: #7c3aed; border: 1px solid rgba(124,58,237,0.2); }

.portfolio-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.portfolio-body h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.portfolio-body p { font-size: 13px; color: #64748b; line-height: 1.7; }

.portfolio-viewall { text-align: center; margin-top: 52px; }
.portfolio-viewall p { color: #94a3b8; font-size: 14px; margin-bottom: 16px; }
.portfolio-viewall strong { color: var(--primary); }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
#testimonials { background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.testimonial-card {
  padding: 32px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(15,30,75,0.07);
  box-shadow: 0 2px 12px rgba(15,30,75,0.04);
  display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,30,75,0.09); }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star-filled { color: #f59e0b; }
.star-empty { color: #e2e8f0; }
.testimonial-text { font-size: 14px; color: #475569; line-height: 1.8; font-style: italic; flex-grow: 1; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
  border: 2px solid rgba(15,30,75,0.1);
}
.author-info h5 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.author-info p { font-size: 12px; color: #94a3b8; }

/* =====================================================
   CTA SECTION
   ===================================================== */
#cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3580 100%);
  padding: 100px 0; text-align: center; overflow: hidden;
  position: relative;
}
.cta-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.cta-glow-1 { width: 400px; height: 400px; background: rgba(0,75,210,0.4); top: -100px; left: -100px; }
.cta-glow-2 { width: 300px; height: 300px; background: rgba(255,120,0,0.2); bottom: -80px; right: -60px; }
.cta-inner { position: relative; z-index: 2; }
.cta-logo { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 20px; filter: brightness(0) invert(1) opacity(0.8); }
.cta-title { font-size: 38px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.8px; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 36px; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: #0b1120; color: #64748b;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 48px; margin-bottom: 48px;
}
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-row img { height: 36px; object-fit: contain; }
.footer-logo-row span { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-heading { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: #64748b; display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--accent); }
.footer-links a:hover { color: #94a3b8; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.footer-contact-item i { color: var(--accent); margin-top: 2px; font-size: 14px; flex-shrink: 0; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04); color: #64748b;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all 0.25s ease;
}
.social-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; }
.footer-admin-link { font-size: 12px; color: #475569; display: flex; align-items: center; gap: 6px; }
.footer-admin-link:hover { color: var(--accent); }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-32px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(32px); }
.reveal-right.visible { transform: translateX(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; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-title { font-size: 36px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-logo-wrap { max-width: 340px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .section-title { font-size: 26px; }
  .cta-title { font-size: 26px; }
  .nav-menu { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-trust { gap: 16px; }
  .logo-big { width: 130px; height: 130px; }
}
