/* ─────────────────────────────────────────────────────────────
   Pucco · style.css
   ───────────────────────────────────────────────────────────── */

/* ── Tokens ── */
:root {
  --color-bg:          #0d0f14;
  --color-bg-raised:   #13161e;
  --color-bg-card:     #181c27;
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-border-mid:  rgba(255, 255, 255, 0.12);

  --color-text:        #e8eaf0;
  --color-muted:       #7a8099;
  --color-faint:       #3d4260;

  --color-accent:      #4f6ef7;
  --color-accent-2:    #7b5cf0;
  --color-accent-glow: rgba(79, 110, 247, 0.18);

  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'DM Serif Display', Georgia, serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --max-w:       1120px;
  --nav-h:       68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── Inline link ── */
.inline-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-link:hover { color: #7b9bff; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border: 1.5px solid var(--color-accent);
}
.btn--primary:hover {
  background: #6278f9;
  border-color: #6278f9;
  box-shadow: 0 0 24px var(--color-accent-glow);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-mid);
}
.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--color-muted);
  border: 1.5px solid transparent;
}
.btn--ghost:hover {
  color: var(--color-text);
  border-color: var(--color-border-mid);
}

.btn--lg {
  padding: 14px 30px;
  font-size: 15px;
}

/* ── Section shared ── */
.section {
  padding-block: clamp(64px, 10vw, 120px);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(79, 110, 247, 0.3);
  border-radius: 100px;
  background: rgba(79, 110, 247, 0.08);
}

.section__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section__header p {
  color: var(--color-muted);
  font-size: 17px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--color-text); }
.nav__links .btn { margin-left: 8px; }

/* ── HERO ── */
.hero {
  padding-top: calc(var(--nav-h) + clamp(72px, 12vw, 128px));
  padding-bottom: clamp(72px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 110, 247, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(123, 92, 240, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 760px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── WORK ── */
.work { background: var(--color-bg); }

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
}

.project--reverse { direction: rtl; }
.project--reverse > * { direction: ltr; }

.project--kosy {
  background: linear-gradient(140deg, rgba(123, 92, 240, 0.06) 0%, var(--color-bg-card) 60%);
  border-color: rgba(123, 92, 240, 0.2);
}

.project__divider {
  height: 1px;
  background: var(--color-border);
  margin-block: clamp(32px, 5vw, 56px);
}

.project__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.project__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.project__badge--blue {
  color: var(--color-accent);
  background: rgba(79, 110, 247, 0.1);
  border-color: rgba(79, 110, 247, 0.3);
}

.project__badge--purple {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.3);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.project__text h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}

.project__desc {
  color: var(--color-muted);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.project__tags li {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 4px 12px;
}

.project__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project__placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.08) 0%, rgba(123, 92, 240, 0.08) 100%);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.project__screenshot {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  display: block;
}

.project__placeholder--teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-color: rgba(20, 184, 166, 0.2);
  color: #2dd4bf;
}

.project__placeholder--purple {
  background: linear-gradient(135deg, rgba(123, 92, 240, 0.1) 0%, rgba(167, 139, 250, 0.08) 100%);
  border-color: rgba(123, 92, 240, 0.25);
  color: #a78bfa;
}

/* ── Work split labels ── */
.work__split-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.work__split-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
}

.work__split-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.work__split-label--personal {
  margin-top: 64px;
}

.work__split-label--personal span {
  color: var(--color-muted);
}

/* ── SERVICES ── */
.services {
  background: var(--color-bg-raised);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--color-border-mid);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.card--accent {
  border-color: rgba(79, 110, 247, 0.3);
  background: linear-gradient(160deg, rgba(79, 110, 247, 0.07) 0%, var(--color-bg-card) 60%);
  position: relative;
}


.card__icon {
  width: 44px;
  height: 44px;
  background: rgba(79, 110, 247, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.card p {
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__list li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
  color: var(--color-muted);
}

.card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 12px;
}

/* ── GrowthMentor callout ── */
.gm-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.07) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  transition: border-color 0.18s, box-shadow 0.18s;
  cursor: pointer;
}

.gm-callout:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.08);
}

.gm-callout__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(34, 197, 94, 0.7);
  margin-bottom: 4px;
}

.gm-callout__name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.gm-callout__sub {
  font-size: 13px;
  color: var(--color-muted);
}

.gm-callout__cta {
  font-size: 14px;
  font-weight: 500;
  color: rgba(34, 197, 94, 0.8);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}

.gm-callout:hover .gm-callout__cta { color: #4ade80; }

/* ── TESTIMONIALS ── */
.testimonial-section {
  background: var(--color-bg);
  padding-block: clamp(48px, 8vw, 96px);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.testimonials__grid--two {
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.testimonial {
  position: relative;
  padding: 36px 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.testimonial--featured {
  grid-column: 1 / -1;
  border-color: var(--color-border-mid);
  background: linear-gradient(140deg, rgba(79, 110, 247, 0.05) 0%, var(--color-bg-card) 60%);
}

.testimonial__quote {
  width: 28px;
  height: auto;
  color: var(--color-accent);
  opacity: 0.35;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.testimonial--featured .testimonial__quote {
  width: 36px;
}

.testimonial blockquote {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
  flex: 1;
}

.testimonial--featured blockquote {
  font-size: clamp(16px, 2vw, 18px);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b5bdb, #7048e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.testimonial__title {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

.testimonial__meta {
  font-size: 11px;
  color: var(--color-faint);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .testimonials__grid,
  .testimonials__grid--two { grid-template-columns: 1fr; }
  .testimonial--featured { grid-column: 1; }
  .testimonial { padding: 28px 24px; }
  .gm-callout { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── EXPERIENCE ── */
.experience {
  background: var(--color-bg-raised);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.past-roles {
  margin-top: clamp(48px, 8vw, 80px);
}

.past-roles__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-faint);
  margin-bottom: 32px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--color-border);
  margin-left: 8px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 0 28px 36px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.timeline__item:last-child { border-bottom: none; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 36px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-faint);
  border: 2px solid var(--color-bg-raised);
}

.timeline__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.timeline__period {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
}

.timeline__company {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.timeline__content h4 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.timeline__type {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-faint);
  margin-left: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.timeline__content p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline__tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-faint);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 3px 10px;
}

/* ── EDUCATION ── */
.edu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.edu__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: 0.6;
}

.edu__icon svg { width: 100%; height: 100%; }

.edu__degree {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.edu__school {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 3px;
}

/* ── ABOUT ── */
.about {
  background: var(--color-bg);
}

.about__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: start;
}

.about__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.about__avatar--photo {
  object-fit: cover;
  border: 2px solid var(--color-border-mid);
}

.about__text .section__label { display: inline-block; margin-bottom: 12px; }

.about__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
}

.about__headline {
  font-size: 14px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.about__text p {
  color: var(--color-muted);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 640px;
}

.about__text .btn { margin-top: 8px; }

/* ── CONTACT ── */
.contact {
  background: var(--color-bg-raised);
  border-top: 1px solid var(--color-border);
}

.contact__inner { text-align: center; }

.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 640px;
  margin-inline: auto;
  margin-top: 40px;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
}

.contact__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 32px var(--color-accent-glow);
  transform: translateY(-2px);
}

.contact__card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(79, 110, 247, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

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

.contact__card-text { flex: 1; min-width: 0; }

.contact__card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-faint);
  margin-bottom: 3px;
}

.contact__card-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact__card-arrow {
  font-size: 18px;
  color: var(--color-faint);
  transition: color 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.contact__card:hover .contact__card-arrow {
  color: var(--color-accent);
  transform: translateX(3px);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: 28px;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.footer__copy {
  font-size: 13px;
  color: var(--color-faint);
  flex: 1;
}

.footer__nav {
  display: flex;
  gap: 20px;
}

.footer__nav a {
  font-size: 13px;
  color: var(--color-muted);
  transition: color 0.15s;
}

.footer__nav a:hover { color: var(--color-text); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .project,
  .project--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }

  .project__visual { order: -1; }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav__links a:not(.btn) { display: none; }
  .testimonial { padding: 32px 28px; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .contact__actions { flex-direction: column; }
}
