/* === RS Monompia Landing Page — Custom Styles === */

:root {
  --bg-dark: #0a0e1a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(6, 182, 212, 0.5);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* === Gradient Text === */
.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Glassmorphism === */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* === Navbar === */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.navbar-custom.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.6rem 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transition: width 0.3s ease;
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  color: var(--text-secondary);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* === Section General === */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* === About Section === */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card .stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
  margin-bottom: 1.2rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

/* === WeCare CTA === */
.wecare-cta {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.08));
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wecare-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.wecare-cta > * {
  position: relative;
  z-index: 1;
}

.wecare-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.wecare-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.wecare-mockup {
  max-width: 500px;
  margin: 2rem auto;
  padding: 1.5rem;
}

.wecare-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.wecare-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

.wecare-feature svg {
  width: 18px;
  height: 18px;
}

/* === News === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  overflow: hidden;
  transition: all 0.4s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.3);
}

.news-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image svg {
  width: 48px;
  height: 48px;
  color: var(--accent-cyan);
  opacity: 0.5;
}

.news-body {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.news-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

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

.contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* === Footer === */
footer {
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 14, 26, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 40px;
}

.footer-brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 350px;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.footer-social a:hover svg {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* === Animations === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* === Glow Orbs Background === */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  top: 10%;
  left: -100px;
  animation: float-orb 8s ease-in-out infinite;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-blue);
  bottom: 10%;
  right: -150px;
  animation: float-orb 10s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* === Halaman Cek Resume Pulang === */
.resume-body {
  min-height: 100vh;
}

.resume-hero {
  padding-top: 9rem;
  padding-bottom: 3rem;
}

.resume-form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
}

.resume-form-card form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.resume-form-card .form-group {
  flex: 1 1 280px;
  margin-bottom: 0;
}

.resume-form-card .btn-primary {
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.resume-alert {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
  font-size: 0.92rem;
}

/* === Tautan QR Code resume pulang === */
.resume-notice {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #bae6fd;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* === Captcha cek resume pulang === */
.captcha-wajib {
  color: #f87171;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}

.captcha-row img {
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #f5f8fc;
}

.btn-captcha {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-secondary, #cbd5e1);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.btn-captcha:hover {
  background: rgba(148, 163, 184, 0.22);
}

.captcha-soal {
  margin: 0 0 0.6rem 0;
  font-size: 1.05rem;
  color: var(--text-primary, #e2e8f0);
}

.captcha-help {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.8rem;
}

.resume-section {
  padding-top: 0;
}

.resume-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.resume-ok {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.resume-ok strong {
  color: var(--accent-cyan);
}

.resume-toolbar .btn-secondary {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.resume-paper {
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  padding: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  overflow-x: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.resume-paper h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  color: #111111;
  margin: 0;
}

.resume-doc table {
  width: 100%;
  border-collapse: collapse;
}

.resume-kop img {
  width: 100%;
  height: auto;
  display: block;
}

.resume-head {
  margin: 10px 0;
}

.resume-head td {
  vertical-align: top;
  padding: 2px 0;
}

.resume-head .resume-title {
  width: 40%;
  text-align: center;
}

.resume-head .lbl {
  width: 20%;
}

.resume-tbl {
  margin-bottom: 14px;
}

.resume-tbl td,
.resume-tbl th {
  border: 1px solid #000000;
  padding: 4px 6px;
  vertical-align: top;
  text-align: left;
}

.resume-tbl th {
  background: #f1f5f9;
  font-weight: 600;
}

.resume-sub {
  font-weight: bold;
  margin: 14px 0 6px;
}

.resume-empty {
  font-style: italic;
}

.resume-sign td {
  height: 90px;
}

.resume-kode {
  font-size: 11px;
  color: #334155;
  letter-spacing: 0.5px;
}

.resume-note {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

@media print {
  body.resume-body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .navbar-custom,
  .resume-hero,
  .resume-toolbar,
  .resume-note,
  footer,
  .glow-orb {
    display: none !important;
  }

  .resume-section {
    padding: 0 !important;
  }

  .resume-paper {
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .resume-doc {
    font-size: 10pt;
  }

  .resume-tbl tr {
    page-break-inside: avoid;
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-cta {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 4rem 1.5rem;
  }

  .wecare-cta {
    padding: 2.5rem 1.5rem;
  }
}
