/* ============================================================
   Azka Indie Satu - Futuristic Design System
   Palette: Deep navy ink + electric cyan accent + amber brand accent
   ============================================================ */

:root {
  --color-bg: #070b14;
  --color-surface: #0b1120;
  --color-surface-2: #0f172a;
  --color-border: #1e293b;
  --color-border-glow: rgba(34, 211, 238, 0.3);
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-accent: #22d3ee;
  --color-accent-hover: #06b6d4;
  --color-brand: #f59e0b;
  --container-max: 1200px;
  --nav-height: 72px;
}

/* ---------- Keyframes ---------- */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

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

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient-x {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background ambient glow - subtle identity motif */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(34, 211, 238, 0.12),
      transparent
    ),
    radial-gradient(
      ellipse 60% 40% at 90% 80%,
      rgba(245, 158, 11, 0.06),
      transparent
    );
  pointer-events: none;
  z-index: 0;
}

/* Grid texture overlay (subtle, futuristic blueprint) */
.bg-grid {
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- Container ---------- */
.container-x {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Typography ---------- */
.font-display {
  font-family: "Space Grotesk", system-ui, sans-serif;
}
.font-body {
  font-family: "Inter", system-ui, sans-serif;
}

.text-gradient {
  background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none;
  min-height: 44px;
}
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #050810;
  box-shadow:
    0 0 20px rgba(34, 211, 238, 0.35),
    0 4px 14px rgba(34, 211, 238, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(34, 211, 238, 0.5),
    0 8px 24px rgba(34, 211, 238, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.15);
}
.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}
.navbar .container-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--color-text);
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.brand-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  display: block;
}
.brand-tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a:not(.btn) {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--color-accent);
  background: rgba(34, 211, 238, 0.08);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.icon-svg {
  width: 20px;
  height: 20px;
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    black,
    transparent
  );
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 500;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}
.hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}
.hero-visual img {
  border-radius: 16px;
  box-shadow:
    0 0 60px rgba(34, 211, 238, 0.2),
    0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 5rem 0;
  z-index: 1;
}
.section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}
.section h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

/* ---------- Cards ---------- */
.fut-card {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.8),
    rgba(11, 17, 32, 0.9)
  );
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.fut-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 211, 238, 0.5),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fut-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow:
    0 0 30px rgba(34, 211, 238, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.3);
}
.fut-card:hover::before {
  opacity: 1;
}
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}
.fut-card h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.fut-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Feature Row ---------- */
.feature-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--color-border);
  transition: all 0.25s ease;
}
.feature-row:hover {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(15, 23, 42, 0.8);
}
.feature-row .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.feature-row h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.feature-row p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.12),
    rgba(245, 158, 11, 0.08)
  );
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(
    ellipse 60% 80% at 50% 50%,
    black,
    transparent
  );
  pointer-events: none;
}

/* ---------- Client Marquee ---------- */
.marquee-section {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: marquee 45s linear infinite;
}
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}
.client-item {
  flex-shrink: 0;
  width: 340px;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.9),
    rgba(11, 17, 32, 0.95)
  );
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.client-item:hover {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}
.client-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--color-surface-2);
}
.client-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.client-item:hover .client-thumb img {
  transform: scale(1.05);
}
.client-body {
  padding: 1.25rem;
}
.client-body h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-text);
}
.client-body p {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.client-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.client-link:hover {
  gap: 0.7rem;
}

/* Fade edges for marquee */
.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg), transparent);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg), transparent);
}

/* ---------- Form ---------- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  min-height: 44px;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.form-control::placeholder {
  color: #64748b;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Tabs ---------- */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
  min-height: 44px;
}
.tab-btn:hover {
  color: var(--color-text);
}
.tab-btn.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.tab-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fade-up 0.4s ease both;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: rgba(5, 8, 16, 0.8);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
  z-index: 1;
}
.footer h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.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(--color-border);
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  color: var(--color-accent);
  border-color: rgba(34, 211, 238, 0.4);
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 2rem;
  position: relative;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: var(--color-accent);
  text-decoration: none;
}
.breadcrumbs .sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}
.page-header h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Blog Card ---------- */
.blog-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.blog-thumb {
  display: block;
  height: 180px;
  background-size: cover;
  background-position: center;
}
.blog-body {
  padding: 1.25rem;
}
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}
.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.blog-body h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-body h3 a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-body h3 a:hover {
  color: var(--color-accent);
}
.blog-body p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- Info Item (contact) ---------- */
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.info-item .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.info-item h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.info-item p,
.info-item a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}
.info-item a:hover {
  color: var(--color-accent);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.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;
}

/* ---------- Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-ring {
  width: 44px;
  height: 44px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Floating animation ---------- */
.float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem;
    gap: 0.3rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }
  .cta-banner {
    padding: 2.5rem 1.25rem;
  }
  .client-item {
    width: 280px;
  }
  .client-thumb {
    height: 160px;
  }
}
