/* ===========================
   INQUISITIVE VISION — STYLES
=========================== */

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

:root {
  --bg: #080b10;
  --bg2: #0d1117;
  --bg3: #111720;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #f0ece4;
  --muted: #6b7280;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: default;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ---- SECTIONS ---- */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}

.section-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 40px 60px;
}

/* ---- NAV ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: transparent;
  transition: background 0.4s;
}

#navbar.scrolled {
  background: rgba(8,11,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  pointer-events: none;
}

.dot { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
  will-change: width;
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* ---- NAV RIGHT (lang + hamburger) ---- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.2s;
}

.lang-btn:hover { color: var(--white); }
.lang-btn.active { color: var(--gold); }

.lang-sep {
  color: var(--border);
  font-size: 0.7rem;
  opacity: 0.6;
}

.mobile-lang {
  margin-top: 16px;
  justify-content: center;
}

.mobile-lang .lang-btn {
  font-size: 1rem;
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  will-change: transform;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-link {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--gold); }

/* ---- HERO ---- */
#hero { flex-direction: column; text-align: center; }

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Orbs are now STATIC — no CSS animation = no continuous repaint */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
  pointer-events: none;
}

.orb1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, #c9a84c55, transparent 70%);
  top: -150px; left: -150px;
}

.orb2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #1e40af33, transparent 70%);
  bottom: -80px; right: 5%;
}

#gridCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
}

.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 6px 18px;
  border-radius: 50px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title .line { display: block; }
.hero-title .italic { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--gold);
  color: #080b10;
  padding: 13px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
  will-change: transform;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary.full { width: 100%; text-align: center; }
.btn-primary.full-w { width: 100%; text-align: center; display: block; }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost.full-w { width: 100%; text-align: center; display: block; }

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- SECTION HEADER ---- */
.section-num {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}

.section-header { margin-bottom: 56px; }

/* ---- PROJECTS ---- */
#projects { background: var(--bg2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  will-change: transform;
}

.project-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.3); }

.card-img {
  height: 175px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-mockup {
  width: 74%;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px;
}

.mockup-bar { height: 6px; background: rgba(201,168,76,0.4); border-radius: 2px; margin-bottom: 6px; width: 40%; }
.mockup-hero { height: 38px; background: rgba(255,255,255,0.06); border-radius: 3px; margin-bottom: 6px; }
.mockup-row { height: 6px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-bottom: 5px; }
.mockup-row.short { width: 60%; }

.card-location {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 0.73rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.card-body { padding: 20px; }

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-body p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }

.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.card-tags span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ---- ABOUT ---- */
#about { background: var(--bg); }

.about-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.about-section-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.about-avatar {
  position: relative;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2535, #0d1117);
  border: 2px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  overflow: hidden;
}

/* When you add your photo, the img will fill this perfectly */
.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-badge {
  background: var(--gold);
  color: #080b10;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
}

.about-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.about-role {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.about-text {
  font-size: 0.97rem;
  color: rgba(240,236,228,0.75);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-text strong { color: var(--white); font-weight: 500; }

.about-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

/* ---- PRICING ---- */
#pricing { background: var(--bg2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  will-change: transform;
}

.pricing-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.2); }

.pricing-card.featured {
  border-color: rgba(201,168,76,0.5);
  background: linear-gradient(160deg, #13191f, #0d1117);
  transform: translateY(-8px);
}

.pricing-card.featured:hover { transform: translateY(-12px); }

.pricing-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #080b10;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-top { display: flex; flex-direction: column; gap: 6px; }

.pricing-name { font-size: 0.73rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.pricing-price {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price span { font-size: 2.3rem; font-weight: 700; color: var(--white); line-height: 1; }
.pricing-note { font-size: 0.73rem; color: var(--muted); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li { font-size: 0.86rem; color: rgba(240,236,228,0.8); line-height: 1.4; }
.pricing-features li.muted { color: var(--muted); text-decoration: line-through; opacity: 0.5; }

.pricing-retainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.retainer-text { font-size: 0.88rem; color: rgba(240,236,228,0.7); }
.retainer-text strong { color: var(--white); }
.gold { color: var(--gold); }

/* ---- CONTACT ---- */
#contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(201,168,76,0.5); }

.form-success {
  color: var(--gold);
  font-size: 0.9rem;
  text-align: center;
  display: none;
  padding: 10px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-icon {
  font-size: 1.1rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.contact-item a,
.contact-item span { font-size: 0.93rem; color: var(--white); text-decoration: none; transition: color 0.25s; }

.contact-item a:hover { color: var(--gold); }

.contact-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.5;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ---- FOOTER ---- */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 22px 48px; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; }
footer p { font-size: 0.78rem; color: var(--muted); }

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .projects-grid, .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-grid { margin-bottom: 28px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

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

  .about-left {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 24px;
  }

  .about-section-label { align-items: flex-start; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-inner { padding: 88px 24px 48px; }
  #navbar { padding: 16px 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .pricing-retainer { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  html { scroll-snap-type: none; }
  .about-stats { gap: 18px; }
  .hero-title { letter-spacing: -1.5px; }
}

/* ===== TEMPLATE CARD ENHANCEMENTS ===== */
.card-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.project-card:hover .card-screenshot {
  transform: scale(1.03);
}
.card-img {
  overflow: hidden;
}
.card-themes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-bottom: 10px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.card-themes__colors {
  display: flex;
  gap: 5px;
  align-items: center;
}
.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
  cursor: pointer;
}
.swatch:hover {
  transform: scale(1.3);
  border-color: var(--gold);
}
.card-themes__region {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.card-themes__region:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.card-themes__region svg {
  opacity: 0.5;
}
.card-themes__region:hover svg {
  opacity: 1;
  stroke: var(--gold);
}
