/* ============================================
   CorpMax Theme v2.0 — Tema Perusahaan Modern
   Inspired by: Telkom, Gojek, Majoo, Tonjoo
   ============================================ */

:root {
  --primary: #0f172a;
  --primary-light: #1e3a5f;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dark: #1d4ed8;
  --orange: #f97316;
  --green: #22c55e;
  --white: #ffffff;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
  --radius: 16px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif; color: var(--text); line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === NAVBAR === */
.navbar {
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.navbar-brand .logo-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.navbar-brand span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.nav-menu { display: flex; list-style: none; gap: 5px; align-items: center; }
.nav-menu a {
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}
.nav-menu a:hover, .nav-menu a.active { color: white; background: rgba(255,255,255,0.1); }
.nav-menu .btn-cta {
  background: var(--accent);
  color: white;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
}
.nav-menu .btn-cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 28px; cursor: pointer; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0c2d4a 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { color: white; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent-light);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-text h1 .highlight { color: var(--accent-light); }
.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 500px;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59,130,246,0.3); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.hero-image { position: relative; }
.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item .number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}
.hero-stat-item .label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-bar p {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 25px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-400);
  opacity: 0.5;
  transition: var(--transition);
  letter-spacing: -0.5px;
}
.trust-logo:hover { opacity: 1; color: var(--gray-800); }

/* === SECTIONS === */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .label {
  display: inline-block;
  background: rgba(59,130,246,0.1);
  color: var(--accent);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-light);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* === SERVICES === */
.services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,130,246,0.1);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(59,130,246,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* === ABOUT / WHY US === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-img .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: white;
  padding: 20px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.experience-badge .num { font-size: 36px; font-weight: 800; display: block; }
.experience-badge .txt { font-size: 13px; font-weight: 500; }
.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 16px;
}
.about-features { margin-top: 25px; }
.about-feature-item {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  align-items: start;
}
.about-feature-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(34,197,94,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 18px;
  flex-shrink: 0;
}
.about-feature-item h4 { font-size: 16px; color: var(--gray-800); margin-bottom: 3px; }
.about-feature-item p { font-size: 14px; color: var(--text-light); margin: 0; }

/* === PORTFOLIO === */
.portfolio { background: var(--light); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-card:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: white; font-size: 18px; margin-bottom: 5px; }
.portfolio-overlay span { color: var(--accent-light); font-size: 13px; }

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-card .quote {
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 15px;
}
.testimonial-card p {
  color: var(--text-light);
  font-size: 15px;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author .name { font-weight: 700; font-size: 15px; color: var(--gray-800); }
.testimonial-author .role { font-size: 13px; color: var(--text-light); }
.testimonial-stars { color: var(--orange); font-size: 13px; margin-bottom: 15px; }

/* === CTA === */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(59,130,246,0.08);
  border-radius: 50%;
}
.cta h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.cta p { font-size: 18px; opacity: 0.8; margin-bottom: 35px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: #ea580c; transform: translateY(-2px); }

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 25px; }
.blog-card-body .meta { color: var(--gray-400); font-size: 13px; margin-bottom: 10px; }
.blog-card-body h3 { font-size: 18px; color: var(--gray-800); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { color: var(--text-light); font-size: 14px; }
.blog-card-body .read-more { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; }

/* === FOOTER === */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h4 { color: white; font-size: 16px; margin-bottom: 20px; font-weight: 700; }
.footer-brand span { font-size: 22px; font-weight: 800; color: white; display: block; margin-bottom: 15px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}
.footer-social a:hover { background: var(--accent); color: white; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* === WA FLOAT === */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1) rotate(5deg); }

/* === WHY CHOOSE US === */
.why-us { background: var(--light); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.why-card {
  background: white;
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.why-icon {
  width: 65px; height: 65px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 24px;
  margin: 0 auto 20px;
}
.why-card h4 { font-size: 17px; margin-bottom: 10px; color: var(--primary); }
.why-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* === COUNTER === */
.counter-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a365d 100%);
  padding: 70px 0;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: white;
}
.counter-item i { font-size: 32px; color: var(--accent-light); margin-bottom: 15px; display: block; }
.counter-number { font-size: 48px; font-weight: 800; display: block; margin-bottom: 5px; }
.counter-label { font-size: 14px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }

/* === PROCESS === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.process-number {
  font-size: 48px; font-weight: 900;
  color: rgba(59,130,246,0.1);
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
}
.process-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 24px;
  margin: 20px auto 20px;
  position: relative; z-index: 1;
}
.process-step h4 { font-size: 17px; margin-bottom: 10px; color: var(--primary); }
.process-step p { font-size: 14px; color: #666; line-height: 1.7; }

/* === TEAM === */
.team { background: var(--light); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.team-photo {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-social {
  position: absolute;
  bottom: -50px;
  left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  transition: var(--transition);
}
.team-card:hover .team-social { bottom: 0; }
.team-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px;
  transition: var(--transition);
}
.team-social a:hover { background: var(--accent); }
.team-info { padding: 20px; text-align: center; }
.team-info h4 { font-size: 17px; margin-bottom: 5px; color: var(--primary); }
.team-info span { font-size: 13px; color: #888; }

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.blog-img { position: relative; height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-category {
  position: absolute; top: 15px; left: 15px;
  background: var(--accent); color: white;
  padding: 4px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.blog-body { padding: 25px; }
.blog-date { font-size: 13px; color: #999; display: block; margin-bottom: 10px; }
.blog-body h4 { font-size: 17px; margin-bottom: 10px; color: var(--primary); line-height: 1.4; }
.blog-body p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 15px; }
.blog-read-more { font-size: 14px; color: var(--accent); font-weight: 600; }
.blog-read-more:hover { color: var(--primary); }
.section-footer { text-align: center; margin-top: 35px; }
.btn-outline-accent {
  display: inline-block; padding: 12px 30px;
  border: 2px solid var(--accent); color: var(--accent);
  border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: var(--transition);
}
.btn-outline-accent:hover { background: var(--accent); color: white; }

/* === FAQ === */
.faq { background: var(--light); }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
}
.faq-question {
  padding: 20px 25px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 15px;
  color: var(--primary);
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question i { transition: var(--transition); font-size: 13px; color: #999; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 25px 20px; font-size: 14px; color: #666; line-height: 1.8; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 20px;
    gap: 5px;
  }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 32px; }
  .hero-image { display: none; }
  .hero-stats { gap: 20px; }
  .hero-stat-item .number { font-size: 24px; }
  .services-grid, .portfolio-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-number { font-size: 36px; }
  section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .trust-logos { gap: 25px; }
}
