/*
Theme Name:  Versikasi
Theme URI:   https://versikasi.com
Author:      Versikasi Studio
Author URI:  https://versikasi.com
Description: Custom landing page theme untuk Digital Tools & Templates — dirancang untuk creators, solopreneurs, dan side hustlers.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: versikasi
Tags:        one-page, dark, custom-background, custom-logo, full-width-template
*/

/* ─────────────────────────────────────────────
   RESET & VARIABLES
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0b09;
  --bg2: #141210;
  --bg3: #1c1a16;
  --accent: #f5a623;
  --accent2: #ff6b35;
  --text: #f0ece3;
  --muted: #8a8070;
  --border: rgba(245,166,35,0.15);
  --card-bg: #181611;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12,11,9,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #0c0b09;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #ffc04a; transform: translateY(-1px); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 12px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-rotate {
  display: block;
  color: var(--accent);
  min-height: 1.1em;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
  max-width: 520px;
  margin: 24px auto 40px;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.4s ease both;
}

.btn-primary {
  background: var(--accent);
  color: #0c0b09;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(245,166,35,0);
}
.btn-primary:hover {
  background: #ffc04a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,166,35,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(240,236,227,0.2);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: rgba(240,236,227,0.5);
  background: rgba(240,236,227,0.05);
}

.hero-trust {
  margin-top: 60px;
  font-size: 13px;
  color: var(--muted);
  animation: fadeUp 0.7s 0.5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   STATS STRIP
───────────────────────────────────────────── */
.stats-strip {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 64px;
  animation: fadeUp 0.7s 0.6s ease both;
}
.stat-item {
  padding: 0 40px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ─────────────────────────────────────────────
   MARQUEE
───────────────────────────────────────────── */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 48px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.marquee-dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  display: inline-block;
}

/* ─────────────────────────────────────────────
   SECTIONS GLOBAL
───────────────────────────────────────────── */
section { padding: 100px 5%; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 460px;
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   PRODUCTS
───────────────────────────────────────────── */
.products-bg { background: var(--bg); }

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.15);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
}

.product-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--bg3) 0%, #221e16 100%);
}

/* Demo placeholders */
.demo-thumb {
  background: repeating-linear-gradient(
    45deg,
    #1a1812 0px, #1a1812 10px,
    #1e1c14 10px, #1e1c14 20px
  ) !important;
  border: 2px dashed rgba(245,166,35,0.25);
}
.demo-thumb-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.demo-icon { font-size: 28px; opacity: 0.5; }
.demo-thumb-label span {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.8;
  letter-spacing: 0.3px;
}
.demo-thumb-label small {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

/* Product thumb image (when using actual img tag) */
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-info { padding: 20px; }

.product-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.product-price.free { color: var(--accent); }

.product-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  padding: 7px 16px;
  border-radius: 50px;
  transition: background 0.2s;
}
.product-card:hover .product-btn {
  background: rgba(245,166,35,0.2);
}

/* ─────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────── */
.services-bg { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,0.3);
}

.service-icon {
  width: 52px; height: 52px;
  background: rgba(245,166,35,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}

.service-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.service-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.service-link:hover { gap: 12px; }

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at 100% 100%, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────────── */
.cta-section {
  background: var(--bg);
  padding: 80px 5%;
}
.cta-inner {
  background: linear-gradient(135deg, #1a1710 0%, #221e12 100%);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-inner p {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 5% 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-nav h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-btn {
  width: 38px; height: 38px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-btn:hover {
  background: rgba(245,166,35,0.12);
  color: var(--accent);
  border-color: rgba(245,166,35,0.3);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  color: var(--muted);
  font-size: 13px;
}
.footer-copy span { color: var(--accent); }

/* ─────────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.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; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .products-header { flex-direction: column; align-items: flex-start; }
  .stats-strip { flex-wrap: wrap; gap: 32px; }
  .stat-item { border-right: none; padding: 0 20px; }
  .cta-inner { padding: 48px 28px; }
  .footer-top { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
}
