/* ============================================================
   ENTERPRISE PORTFOLIO — Plamen Draganov
   Aesthetic: Dark luxury · editorial · structured
   ============================================================ */

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

:root {
  --bg:       #09090b;
  --bg2:      #0f0f12;
  --surface:  #141418;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);
  --gold:     #c9a96e;
  --gold2:    #e8d5b0;
  --viber:    #7360f2;
  --text:     #e4e4e7;
  --text2:    #71717a;
  --text3:    #3f3f46;
  --white:    #ffffff;
  --display:  'Cormorant Garamond', Georgia, serif;
  --body:     'Jost', system-ui, sans-serif;
  --r:        10px;
  --t:        0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  border-bottom: 1px solid var(--border);
  background: rgba(9,9,11,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--t);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 32px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.logo-name {
  font-family: var(--body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
}
.logo-sep {
  width: 1px; height: 20px;
  background: var(--border2);
  display: block;
}
.logo-sub {
  font-size: 11px; color: var(--text2);
  letter-spacing: 0.1em;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--text2); font-weight: 500;
  text-transform: uppercase;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-btn {
  background: none; border: 1px solid var(--border2);
  border-radius: 4px; padding: 5px 12px;
  font-family: var(--body); font-size: 11px;
  font-weight: 600; letter-spacing: 0.12em;
  color: var(--text2); cursor: pointer;
  transition: all var(--t);
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }

.nav-viber {
  display: flex; align-items: center; gap: 8px;
  background: var(--viber);
  color: var(--white);
  padding: 8px 18px; border-radius: var(--r);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em;
  transition: all var(--t);
}
.nav-viber:hover { background: #5a4bdb; transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-noise {
  position: absolute; inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.hero-lines {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,169,110,0.06) 0%, transparent 70%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
}

.hero-content { position: relative; max-width: 800px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: block;
}
.hero-name {
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-rule {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.hero-role {
  font-size: 14px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 17px; color: var(--text2);
  max-width: 520px; margin: 0 auto 44px;
  line-height: 1.8; font-weight: 300;
}
.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.cta-viber {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--viber);
  color: var(--white);
  padding: 16px 32px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  transition: all var(--t);
}
.cta-viber:hover { background: #5a4bdb; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(115,96,242,0.35); }
.cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border2);
  color: var(--text2);
  padding: 16px 32px; border-radius: var(--r);
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--t);
}
.cta-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-indicator span {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── METRICS ──────────────────────────────────────────────── */
.metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 40px 32px;
}
.metrics-wrap {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
}
.met {
  flex: 1; text-align: center;
  padding: 0 32px;
}
.met strong {
  display: block;
  font-family: var(--display);
  font-size: 52px; font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.met strong span { color: var(--gold); font-size: 32px; }
.met > span {
  display: block;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text2); margin-top: 8px;
}
.met-div {
  width: 1px; height: 64px;
  background: var(--border2);
  flex-shrink: 0;
}

/* ── SECTION HEADER ───────────────────────────────────────── */
.s-header {
  display: flex; align-items: flex-start; gap: 24px;
  margin-bottom: 60px;
}
.s-num {
  font-family: var(--display);
  font-size: 80px; font-weight: 600;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  user-select: none;
  flex-shrink: 0;
  margin-top: -10px;
}
.s-eye {
  display: block;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.s-header h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; color: var(--white);
  line-height: 1.05; letter-spacing: -0.5px;
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services { padding: 120px 0; }
.svc-list { border-top: 1px solid var(--border); }

.svc-item {
  display: flex; align-items: flex-start;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  transition: background var(--t);
  cursor: default;
}
.svc-item:hover { background: rgba(255,255,255,0.015); }
.svc-item:hover .svc-ico { color: var(--gold); }

.svc-left {
  width: 220px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-n {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--text3); font-weight: 500;
}
.svc-left h3 {
  font-family: var(--display);
  font-size: 26px; font-weight: 600;
  color: var(--white); line-height: 1.2;
}
.svc-mid { flex: 1; padding: 0 48px; }
.svc-mid p { color: var(--text2); font-size: 15px; line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-chips span {
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--text2);
  border: 1px solid var(--border2);
  padding: 4px 12px; border-radius: 100px;
}
.svc-ico {
  width: 56px; flex-shrink: 0;
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding-top: 4px;
  color: var(--text3);
  transition: color var(--t);
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about { padding: 120px 0; border-top: 1px solid var(--border); background: var(--bg2); }
.about-wrap {
  display: flex; gap: 80px; align-items: flex-start;
  flex-wrap: wrap;
}
.about-left { flex: 1; min-width: 300px; }
.about-left p { color: var(--text2); font-size: 15px; line-height: 1.85; margin-bottom: 16px; font-weight: 300; }

.skill-bars { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.sk { display: flex; align-items: center; gap: 14px; }
.sk > span:first-child { font-size: 12px; color: var(--text2); width: 140px; flex-shrink: 0; letter-spacing: 0.05em; }
.sk-track { flex: 1; height: 1px; background: var(--border2); position: relative; }
.sk-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transition: width 1.2s cubic-bezier(0.25,0.46,0.45,0.94);
}
.sk-pct { font-size: 11px; color: var(--text3); width: 36px; text-align: right; }

.about-right { flex-shrink: 0; }
.id-card {
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 36px;
  position: sticky; top: 100px;
}
.id-mono {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 24px; font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}
.id-name {
  font-family: var(--body);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white); margin-bottom: 4px;
}
.id-role { font-size: 12px; color: var(--text2); line-height: 1.5; margin-bottom: 24px; }
.id-hr { height: 1px; background: var(--border); margin-bottom: 24px; }
.id-rows { display: flex; flex-direction: column; gap: 14px; }
.id-row { display: flex; justify-content: space-between; align-items: center; }
.id-row > span:first-child { font-size: 11px; color: var(--text3); letter-spacing: 0.1em; text-transform: uppercase; }
.id-row strong { font-size: 13px; color: var(--text); font-weight: 500; }

.avail-badge {
  display: inline-flex; align-items: center; gap: 7px;
}
.pulse-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: #22c55e;
  position: relative;
}
.pulse-dot::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%; background: rgba(34,197,94,0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.8); opacity: 0; }
}

/* ── WHY ──────────────────────────────────────────────────── */
.why { padding: 120px 0; border-top: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: var(--r);
}
.wc {
  padding: 40px 36px;
  border: 1px solid transparent;
  transition: all var(--t);
  background: var(--surface);
}
.wc:hover { background: rgba(255,255,255,0.03); border-color: var(--border2); }
.wc-ico {
  width: 40px; height: 40px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.wc h4 {
  font-family: var(--display);
  font-size: 20px; font-weight: 600;
  color: var(--white); margin-bottom: 12px;
}
.wc p { font-size: 14px; color: var(--text2); line-height: 1.75; font-weight: 300; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.ct-body { max-width: 640px; }
.ct-desc {
  font-size: 17px; color: var(--text2);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 40px;
}
.viber-cta {
  display: flex; align-items: center; gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 28px 32px;
  transition: all var(--t);
  margin-bottom: 16px;
}
.viber-cta:hover {
  border-color: var(--viber);
  transform: translateX(6px);
  box-shadow: -4px 0 0 0 var(--viber);
}
.viber-cta-icon {
  width: 68px; height: 68px; flex-shrink: 0;
  background: var(--viber);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.viber-cta-info { flex: 1; }
.vcta-label {
  display: block;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text2); margin-bottom: 6px;
}
.vcta-num {
  display: block;
  font-family: var(--display);
  font-size: 32px; font-weight: 600;
  color: var(--white); letter-spacing: 0.02em;
}
.vcta-arrow {
  font-size: 22px; color: var(--text3);
  transition: all var(--t);
}
.viber-cta:hover .vcta-arrow { color: var(--viber); transform: translateX(4px); }
.ct-note {
  font-size: 12px; color: var(--text3);
  letter-spacing: 0.04em; padding-left: 4px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.ft-left { display: flex; flex-direction: column; gap: 4px; }
.ft-name {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; color: var(--white);
}
.ft-sub { font-size: 11px; color: var(--text3); letter-spacing: 0.08em; }
.ft-nav { display: flex; gap: 28px; }
.ft-nav a {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text2);
  transition: color var(--t);
}
.ft-nav a:hover { color: var(--white); }
.ft-right { font-size: 11px; color: var(--text3); text-align: right; }
.ft-right span { display: block; }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .svc-item { flex-wrap: wrap; }
  .svc-left { width: 100%; }
  .svc-mid { padding: 16px 0 0; }
  .svc-ico { display: none; }
  .metrics-wrap { flex-wrap: wrap; gap: 32px; }
  .met-div { display: none; }
  .about-wrap { flex-direction: column; }
  .id-card { width: 100%; position: static; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .ft-right { text-align: left; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 24px 60px; }
  .container { padding: 0 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .viber-cta { flex-wrap: wrap; }
  .vcta-num { font-size: 24px; }
}
