@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Premium Color Palette */
  --color-bg-dark: #020813;
  --color-bg-light: #061226;
  --color-primary: #0ea5e9;
  --color-primary-glow: rgba(14, 165, 233, 0.5);
  --color-accent: #38bdf8;
  --color-accent-glow: rgba(56, 189, 248, 0.5);
  
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Background Elements */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6, .brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Header */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(2, 8, 19, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-main);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.brand-title {
  font-size: 20px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  display: block;
  font-size: 11px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

nav.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav.main-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

nav.main-nav a:hover {
  color: #fff;
}

nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav.main-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.kicker {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--color-accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1,
.hero h2 {
  font-size: 56px;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero p.lead strong {
  color: #fff;
  font-weight: 500;
}

.hero-icon-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.play-btn-wrapper {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
}

.icon-link {
  color: var(--color-text-muted);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.icon-link:hover {
  color: var(--color-primary);
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary-glow);
  transform: translateY(-3px);
}

.icon-link svg {
  width: 20px;
  height: 20px;
}

.hero-right {
  position: relative;
}

.hero-right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.hero-right img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-border);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Sections General */
.section {
  padding: 100px 0;
  position: relative;
}

.section h2 {
  font-size: 40px;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -1px;
}

.section > p.lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 18px;
}

/* SEO — layanan air bersih & tangki */
.seo-section .seo-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin: -32px auto 48px;
  max-width: 560px;
}

.capacity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.capacity-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-accent);
}

.seo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.seo-feature {
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.seo-feature h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.seo-feature p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-block {
  max-width: 720px;
  margin: 0 auto 32px;
}

.faq-block > h3 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  padding: 14px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  color: var(--color-text-muted);
  font-size: 15px;
  padding-bottom: 12px;
  line-height: 1.6;
}

.faq-item p:last-child {
  padding-bottom: 16px;
}

.faq-item ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item li {
  margin: 6px 0;
}

.faq-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.faq-item a:hover {
  color: var(--color-accent);
}

.seo-cta {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-muted);
}

.seo-cta a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.seo-cta a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .capacity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seo-features {
    grid-template-columns: 1fr;
  }
}

/* App Download Cards */
.app-download-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.app-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(14, 165, 233, 0.1);
}

.app-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #fff;
}

.app-card p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.play-badge-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.play-badge-link:hover {
  transform: scale(1.05);
}

.play-badge {
  height: 52px;
}

/* Contact Section */
.contact-grid-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.contact-block h4 {
  font-size: 14px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  margin-top: 24px;
}

.contact-block h4:first-child {
  margin-top: 0;
}

.contact-block p {
  font-size: 16px;
  color: #fff;
}

.contact-block a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-block a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px var(--color-accent-glow);
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 100%;
  min-height: 260px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 24px;
  background: rgba(2, 8, 19, 0.8);
  position: relative;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-logo strong {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  color: #fff;
  display: block;
}

.footer-left p.muted {
  color: var(--color-text-muted);
  max-width: 320px;
  font-size: 14px;
}

.footer-links h5, .footer-social h5 {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.social-handle {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-icon-row {
    justify-content: center;
  }
  .hero h1,
  .hero h2 {
    font-size: 48px;
  }
  .contact-grid-simple {
    grid-template-columns: 1fr;
  }
}

/* ——— Tim pendiri (founders.html) ——— */
.founders-page main {
  padding-top: var(--header-height);
}

.page-hero {
  padding: 56px 0 32px;
  position: relative;
  z-index: 1;
}

.page-hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  opacity: 1;
  transform: none;
}

.page-hero h1 {
  font-size: 48px;
  letter-spacing: -1px;
  margin: 16px 0 20px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
}

.page-hero .lead {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.founders-section {
  padding-top: 24px;
  padding-bottom: 100px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.founder-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.founder-photo {
  aspect-ratio: 5 / 6;
  background: rgba(2, 8, 19, 0.5);
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.founder-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.founder-body h2 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
}

.founder-title {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.founder-bio {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.founder-highlights {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.founder-highlights li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.founder-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.founder-links {
  margin-top: auto;
  padding-top: 8px;
}

.founder-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.founder-link:hover {
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-accent);
}

.founders-upload-hint {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px dashed var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}

.founders-upload-hint code {
  font-size: 12px;
  color: var(--color-accent);
  background: rgba(14, 165, 233, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

nav.main-nav a[aria-current="page"] {
  color: #fff;
}

nav.main-nav a[aria-current="page"]::after {
  width: 100%;
}

@media (max-width: 992px) {
  .page-hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  nav.main-nav {
    display: none; /* Hide on very small screens for simplicity, or implement a hamburger */
  }
  .app-download-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero h1,
  .hero h2 {
    font-size: 40px;
  }
  .section {
    padding: 60px 0;
  }
}
