/* Krova Theme v2 — Full Stylesheet with Animations */

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

:root {
  --black:       #111111;
  --black-2:     #161616;
  --black-3:     #1a1a1a;
  --black-4:     #222222;
  --black-5:     #2a2a2a;
  --green:       #00e676;
  --green-glow:  rgba(0,230,118,0.18);
  --green-dim:   rgba(0,230,118,0.12);
  --green-faint: rgba(0,230,118,0.06);
  --white:       #f8f8f8;
  --grey-1:      #888888;
  --grey-2:      #555555;
  --grey-3:      #333333;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --font:        system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --r:           8px;
  --r-lg:        14px;
  --r-xl:        20px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ================================================
   SCROLL REVEAL SYSTEM
   ================================================ */
.krova-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.krova-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.krova-reveal--delay-1 { --delay: 80ms; }
.krova-reveal--delay-2 { --delay: 160ms; }
.krova-reveal--delay-3 { --delay: 240ms; }
.krova-reveal--delay-4 { --delay: 320ms; }

/* Stagger within grids — applied by JS */
.feat-grid .krova-reveal:nth-child(1) { --delay: 0ms; }
.feat-grid .krova-reveal:nth-child(2) { --delay: 70ms; }
.feat-grid .krova-reveal:nth-child(3) { --delay: 140ms; }
.feat-grid .krova-reveal:nth-child(4) { --delay: 70ms; }
.feat-grid .krova-reveal:nth-child(5) { --delay: 140ms; }
.feat-grid .krova-reveal:nth-child(6) { --delay: 210ms; }

/* ================================================
   NAVIGATION
   ================================================ */
.krova-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background .3s var(--ease-in-out), backdrop-filter .3s, border-color .3s;
  border-bottom: 0.5px solid transparent;
}
.krova-nav.scrolled {
  background: rgba(17,17,17,0.94);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
  max-width: 1280px; margin: 0 auto;
}
.nav-logo-link { display: flex; align-items: center; }
.krova-logo-img { display: block; }
.nav-links ul, .nav-menu { display: flex; gap: 32px; list-style: none; }
.nav-links a, .nav-menu a { font-size: 13px; color: var(--grey-1); transition: color .2s; letter-spacing: .01em; }
.nav-links a:hover, .nav-menu a:hover { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.btn-ghost {
  font-size: 13px; color: var(--white); padding: 8px 18px;
  border-radius: var(--r); border: 0.5px solid var(--grey-3);
  background: transparent; cursor: pointer; font-family: var(--font);
  transition: border-color .2s, background .2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--grey-1); background: rgba(255,255,255,.04); color: var(--white); }

.btn-green {
  font-size: 13px; font-weight: 600; color: var(--black);
  padding: 9px 20px; border-radius: var(--r);
  background: var(--green); border: none; cursor: pointer;
  font-family: var(--font); display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-green:hover { background: #1aeb85; color: var(--black); transform: translateY(-1px); }
.btn-green:active { transform: translateY(0); }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all .25s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu drawer */
.nav-drawer {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black-2); z-index: 199; padding: 100px 32px 40px;
  flex-direction: column; gap: 8px; overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { font-size: 22px; font-weight: 500; color: var(--white); padding: 12px 0; border-bottom: 0.5px solid var(--border); display: block; }

/* ================================================
   HERO — FULL BLEED WITH BG IMAGE
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--black);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* parallax effect */
  overflow: hidden;
}

/* When hero has a background image */
.hero--has-image {
  background-color: #0a0a0a;
}
.hero--has-image .hero-inner { position: relative; z-index: 2; }

/* Dark overlay on hero image */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.40) 40%,
    rgba(10,10,10,0.75) 85%,
    rgba(10,10,10,1.00) 100%
  );
}

/* Green vignette edge — electric green seeping in from sides */
.hero--has-image::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 0% 100%, rgba(0,230,118,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 100% 0%, rgba(0,230,118,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 860px;
  padding: 160px 40px 100px;
  width: 100%;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,230,118,0.1);
  border: 0.5px solid rgba(0,230,118,0.4);
  color: var(--green);
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 68px; font-weight: 500;
  letter-spacing: -3px; line-height: 1.02;
  color: var(--white); margin-bottom: 28px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero h1 em { color: var(--green); font-style: normal; }

.hero-sub {
  font-size: 19px; color: rgba(248,248,248,0.75);
  line-height: 1.65; max-width: 560px;
  margin: 0 auto 48px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

.btn-hero {
  background: var(--green); color: var(--black);
  font-size: 15px; font-weight: 700;
  padding: 16px 36px; border-radius: var(--r);
  border: none; cursor: pointer; font-family: var(--font);
  display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 0 0 var(--green-glow);
}
.btn-hero:hover {
  background: #1aeb85; color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,230,118,0.3);
}
.btn-hero:active { transform: translateY(0); }

.btn-hero-ghost {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  color: var(--white); font-size: 15px;
  padding: 16px 36px; border-radius: var(--r);
  border: 0.5px solid rgba(255,255,255,0.2);
  cursor: pointer; font-family: var(--font);
  display: inline-block;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  color: var(--white); transform: translateY(-2px);
}

.hero-note { font-size: 12px; color: rgba(255,255,255,0.35); }

/* Animated scroll hint arrow */
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-hint span {
  display: block; width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: rotate(45deg) translateY(0); }
  50% { opacity: 0.8; transform: rotate(45deg) translateY(5px); }
}

/* ================================================
   MOCK CALLSHEET
   ================================================ */
.mockup-section {
  background: #0a0a0a;
  border-bottom: 0.5px solid var(--border);
  padding: 80px 48px;
  display: flex; justify-content: center;
}
.mock-wrap { width: 100%; max-width: 680px; }
.mock-label { font-size: 11px; color: var(--grey-2); letter-spacing: .09em; text-transform: uppercase; text-align: center; margin-bottom: 22px; }
.mock-card { background: var(--black-2); border: 0.5px solid var(--black-5); border-radius: var(--r-lg); overflow: hidden; }
.mock-header { background: var(--black-3); border-bottom: 0.5px solid var(--black-4); padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.mock-prod { font-size: 14px; font-weight: 500; }
.mock-badge-sent { background: var(--green-dim); color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 4px 11px; border-radius: 20px; }
.mock-body { padding: 4px 0; }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 0.5px solid rgba(255,255,255,0.04); transition: background .15s; }
.mock-row:last-child { border-bottom: none; }
.mock-row:hover { background: rgba(255,255,255,0.02); }
.mock-person { display: flex; align-items: center; gap: 13px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--black-4); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--grey-2); flex-shrink: 0; letter-spacing: .03em; }
.avatar.green { background: var(--green-faint); color: var(--green); }
.person-name { font-size: 13px; font-weight: 500; color: var(--white); }
.person-role { font-size: 11px; color: var(--grey-2); margin-top: 1px; }
.mock-right { display: flex; align-items: center; gap: 16px; }
.mock-time { font-size: 12px; color: var(--grey-2); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.status { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 5px; letter-spacing: .04em; }
.status.confirmed { background: rgba(0,230,118,.1); color: var(--green); }
.status.pending { background: rgba(255,87,34,.1); color: #ff7043; }
.status.sent { background: rgba(255,255,255,.05); color: var(--grey-2); }

/* ================================================
   PROOF BAR
   ================================================ */
.proof-bar { display: flex; justify-content: center; gap: 56px; padding: 48px; flex-wrap: wrap; border-bottom: 0.5px solid var(--border); }
.proof-item { text-align: center; }
.proof-num { font-size: 32px; font-weight: 500; color: var(--green); letter-spacing: -1px; line-height: 1; }
.proof-label { font-size: 12px; color: var(--grey-2); margin-top: 5px; }

/* ================================================
   FEATURES
   ================================================ */
.features { padding: 100px 48px; }
.features-inner { max-width: 1040px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 44px; font-weight: 500; letter-spacing: -1.8px; line-height: 1.08; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--grey-1); max-width: 460px; margin: 0 auto; line-height: 1.65; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--black-4); border-radius: var(--r-lg); overflow: hidden; }
.feat-item { background: var(--black); padding: 36px 30px; transition: background .2s; }
.feat-item:hover { background: var(--black-2); }
.feat-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--black-3); border: 0.5px solid var(--black-5); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; margin-bottom: 22px; padding: 11px; }
.fi-line { display: block; height: 3px; border-radius: 2px; background: var(--green); }
.feat-item h3 { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.feat-item p { font-size: 13px; color: var(--grey-1); line-height: 1.68; }
.feat-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 10px; margin-top: 14px; letter-spacing: .06em; }
.feat-tag.free { background: var(--green-faint); color: var(--green); }
.feat-tag.pro { background: rgba(255,255,255,.05); color: var(--grey-1); }
.feat-tag.soon { background: rgba(255,255,255,.03); color: var(--grey-2); }

/* ================================================
   CALLOUT — TIMESHEETS
   ================================================ */
.callout { background: #0a0a0a; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 100px 48px; }
.callout-inner { max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.callout-text h2 { font-size: 40px; font-weight: 500; letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 18px; }
.callout-text h2 em { color: var(--green); font-style: normal; }
.callout-text > p { font-size: 15px; color: var(--grey-1); line-height: 1.75; margin-bottom: 28px; }
.callout-points { display: flex; flex-direction: column; gap: 14px; }
.callout-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 13px; color: var(--grey-1); line-height: 1.55; }
.callout-points li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 5px; }
.callout-visual { background: var(--black-2); border: 0.5px solid var(--black-5); border-radius: var(--r-lg); padding: 26px; }
.ts-header { font-size: 10px; font-weight: 700; color: var(--grey-2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.ts-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 0.5px solid rgba(255,255,255,.04); font-size: 12px; }
.ts-row:last-child { border-bottom: none; }
.ts-label { color: var(--grey-1); }
.ts-value { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--white); }
.ts-value.green { color: var(--green); }
.ts-value.ok { color: var(--grey-2); }
.ts-value.warn { color: #ff7043; }

/* ================================================
   PRICING
   ================================================ */
.pricing { padding: 100px 48px; }
.pricing-inner { max-width: 940px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 64px; }
.price-card { background: var(--black-2); border: 0.5px solid var(--black-5); border-radius: var(--r-lg); padding: 36px 30px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: var(--green); }
.price-card.featured:hover { box-shadow: 0 16px 48px rgba(0,230,118,0.12); }
.price-tier { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 20px; }
.price-badge { display: inline-block; background: var(--green); color: var(--black); font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 10px; margin-bottom: 14px; letter-spacing: .07em; }
.price-amount { font-size: 46px; font-weight: 500; letter-spacing: -2px; line-height: 1; }
.price-amount sub { font-size: 14px; font-weight: 400; color: var(--grey-2); letter-spacing: 0; vertical-align: middle; }
.price-desc { font-size: 13px; color: var(--grey-2); margin: 16px 0 26px; line-height: 1.6; }
.price-feats { display: flex; flex-direction: column; gap: 11px; flex: 1; margin-bottom: 30px; }
.pf { font-size: 12px; color: var(--grey-1); display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.pf::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 5px; }
.pf.dim { color: var(--grey-2); }
.pf.dim::before { background: var(--black-5); }
.price-btn {
  display: block; width: 100%; padding: 14px; border-radius: var(--r);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  font-family: var(--font); text-align: center;
  background: var(--black-3); color: var(--white);
  border: 0.5px solid var(--black-5);
  transition: background .2s, border-color .2s, transform .15s;
}
.price-btn:hover { background: var(--black-4); color: var(--white); border-color: var(--grey-3); }
.price-card.featured .price-btn { background: var(--green); color: var(--black); border: none; }
.price-card.featured .price-btn:hover { background: #1aeb85; color: var(--black); transform: translateY(-1px); }

/* ================================================
   QUOTE
   ================================================ */
.quote-section { background: #0a0a0a; border-top: 0.5px solid var(--border); padding: 90px 48px; text-align: center; }
.quote-section blockquote { max-width: 640px; margin: 0 auto; }
.quote-section blockquote p { font-size: 26px; font-weight: 400; line-height: 1.5; letter-spacing: -.4px; font-style: italic; color: var(--white); margin-bottom: 20px; }
.quote-section blockquote cite { font-size: 13px; color: var(--grey-2); font-style: normal; }

/* ================================================
   FOOTER CTA
   ================================================ */
.footer-cta { padding: 110px 48px; text-align: center; }
.footer-cta h2 { font-size: 50px; font-weight: 500; letter-spacing: -2px; margin-bottom: 18px; line-height: 1.05; }
.footer-cta h2 em { color: var(--green); font-style: normal; }
.footer-cta p { font-size: 17px; color: var(--grey-1); margin-bottom: 44px; }

/* ================================================
   FOOTER
   ================================================ */
.krova-footer { border-top: 0.5px solid var(--border); padding: 44px 48px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; flex-wrap: wrap; gap: 24px; }
.footer-tagline { font-size: 12px; color: var(--grey-2); margin-top: 8px; }
.footer-menu { display: flex; gap: 28px; list-style: none; }
.footer-menu a { font-size: 12px; color: var(--grey-2); transition: color .2s; }
.footer-menu a:hover { color: var(--white); }

/* ================================================
   INNER PAGES
   ================================================ */
.site-main { padding: 140px 48px 80px; }
.content-wrap { max-width: 740px; margin: 0 auto; }
.entry-title { font-size: 42px; font-weight: 500; letter-spacing: -1.5px; margin-bottom: 28px; }
.entry-content { font-size: 16px; color: var(--grey-1); line-height: 1.85; }
.entry-content h2 { font-size: 26px; font-weight: 500; color: var(--white); margin: 2.2em 0 .8em; letter-spacing: -.5px; }
.entry-content h3 { font-size: 18px; font-weight: 500; color: var(--white); margin: 1.8em 0 .6em; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content a { color: var(--green); border-bottom: 0.5px solid rgba(0,230,118,.3); }
.entry-content a:hover { border-bottom-color: var(--green); }
.entry-content ul { padding-left: 20px; margin-bottom: 1.4em; }
.entry-content li { margin-bottom: .5em; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .callout-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 50px; letter-spacing: -2px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 16px 24px; }
  .nav-links, .nav-right .btn-ghost { display: none; }
  .nav-burger { display: flex; }

  .hero { background-attachment: scroll; } /* disable parallax on mobile */
  .hero h1 { font-size: 38px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  .hero-inner { padding: 130px 24px 80px; }

  .mockup-section { padding: 56px 24px; }
  .proof-bar { gap: 32px; padding: 40px 24px; }
  .features { padding: 72px 24px; }
  .feat-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 32px; }
  .callout { padding: 72px 24px; }
  .pricing { padding: 72px 24px; }
  .quote-section { padding: 72px 24px; }
  .quote-section blockquote p { font-size: 20px; }
  .footer-cta { padding: 80px 24px; }
  .footer-cta h2 { font-size: 36px; }
  .krova-footer { padding: 36px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-main { padding: 110px 24px 60px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-hero, .btn-hero-ghost { width: 100%; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ================================================
   PRINT
   ================================================ */
@media print {
  .krova-nav, .hero-scroll-hint, .nav-burger { display: none; }
  body { background: white; color: black; }
}
