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

:root {
  --bg:        #09090b;
  --surface:   #111113;
  --surface2:  #18181b;
  --border:    rgba(255,255,255,0.07);
  --accent:    #7c6af7;
  --accent2:   #a78bfa;
  --pink:      #f472b6;
  --text:      #f4f4f5;
  --muted:     #71717a;
  --muted2:    #52525b;
  --r:         18px;
  --r-lg:      24px;
  --ease:      cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted2); }

/* ─── Typography ────────────────────────────────────── */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p  { color: #a1a1aa; line-height: 1.75; }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}

/* ─── Glass ─────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
}

/* ─── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #9c7cf8 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(124,106,247,0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,106,247,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.large { padding: 16px 40px; font-size: 1rem; }
.btn-primary.full  { width: 100%; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ─── Nav ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(9,9,11,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent2), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent2);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.btn-nav-cta {
  background: linear-gradient(135deg, var(--accent), #9c7cf8);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.btn-nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  overflow: hidden;
  text-align: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,106,247,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244,114,182,0.12) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation: drift 10s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 600px;
}

.avatar-wrap { position: relative; display: inline-block; }
.avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(124,106,247,0.4);
  overflow: hidden;
}
.avatar-ph { font-size: 3.2rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.status-dot {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid var(--bg);
  box-shadow: 0 0 10px rgba(34,197,94,0.6);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 10px rgba(34,197,94,0.6); }
  50%       { box-shadow: 0 0 20px rgba(34,197,94,0.9); }
}

.hero-pre { font-size: 1rem; color: var(--muted); font-weight: 300; margin-bottom: -12px; }

.hero-name {
  font-size: clamp(3.5rem, 12vw, 6rem);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 30%, var(--accent2) 70%, var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 380px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: rgba(255,255,255,0.15); color: var(--text); }
.chip-accent {
  background: rgba(124,106,247,0.12);
  border-color: rgba(124,106,247,0.3);
  color: var(--accent2);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--muted2);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--muted);
  border-radius: 2px;
  animation: scroll-wheel 2.2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes scroll-wheel { 0%,100% { opacity: 1; transform: translateY(0); } 60% { opacity: 0; transform: translateY(6px); } }

/* ─── Sections ──────────────────────────────────────── */
.section { padding: 100px 0; }
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header p { margin-top: 8px; }

/* ─── Photos ────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.photo-main  { grid-row: 1 / 3; }
.photo-wide  { grid-column: 1 / 3; grid-row: 3; }

.photo-item { border-radius: var(--r); overflow: hidden; height: 100%; }
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.photo-item img:hover { transform: scale(1.03); }

.photo-ph {
  width: 100%; height: 100%;
  border-radius: var(--r);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.photo-ph:hover { transform: scale(1.02); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

.g1 { background: linear-gradient(145deg, #1e1240 0%, #2d1659 50%, #1a0f3a 100%); }
.g2 { background: linear-gradient(145deg, #0f2027 0%, #203a43 50%, #2c5364 100%); }
.g3 { background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.g4 { background: linear-gradient(145deg, #1f0a2e 0%, #2d1145 50%, #190828 100%); }

.ph-emoji { font-size: 2.8rem; }
.ph-cap   { font-size: 0.8rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; font-weight: 500; }

.photo-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,106,247,0.1), transparent 60%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: inherit;
  pointer-events: none;
}

/* ─── About ─────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

.about-card {
  border-radius: var(--r-lg);
  padding: 36px;
  height: 100%;
}
.about-card p { font-size: 1rem; }

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fact-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.fact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,106,247,0.4);
  box-shadow: 0 8px 30px rgba(124,106,247,0.15);
}
.fact-icon { font-size: 1.5rem; }
.fact-text { font-size: 0.78rem; color: var(--muted); line-height: 1.3; }

.looking-card {
  border-radius: var(--r-lg);
  padding: 36px;
}
.looking-card p { font-size: 1rem; margin-top: 12px; }

.callout {
  margin-top: 22px;
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  background: rgba(124,106,247,0.06);
  border-radius: 0 14px 14px 0;
  font-size: 1rem;
  color: var(--accent2);
  font-weight: 500;
  font-style: italic;
}

/* ─── CTA Banner ────────────────────────────────────── */
.cta-banner { padding: 80px 0; }

.cta-card {
  position: relative;
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-card h2 { margin-bottom: 12px; }
.cta-card p  { margin-bottom: 32px; }

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,106,247,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Contact Form ──────────────────────────────────── */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  padding: 40px;
}

/* ─── Forms shared ──────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group + .form-group { margin-top: 18px; }

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #a1a1aa;
}
.optional { color: var(--muted2); font-weight: 400; }

input, textarea, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--muted2); }
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,106,247,0.15);
  background: rgba(255,255,255,0.06);
}
input:valid:not(:placeholder-shown) {
  border-color: rgba(34,197,94,0.4);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-primary + .form-success,
.btn-primary + * + .form-error { margin-top: 16px; }

.form-success {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 12px;
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 500;
  animation: fade-in 0.4s var(--ease);
}
.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 12px;
  color: #f87171;
  font-size: 0.9rem;
  animation: fade-in 0.4s var(--ease);
}

/* Spinner */
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Modal ─────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.hidden { display: none; }

.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in 0.25s var(--ease);
}

.modal-box {
  position: relative;
  width: 100%; max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  padding: 40px;
  animation: slide-up 0.3s var(--ease);
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

.modal-close {
  position: absolute; top: 18px; right: 20px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--muted); font-size: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--text); background: var(--surface); }

.modal-header { margin-bottom: 28px; }
.modal-header h3 { margin-bottom: 6px; }
.modal-header p  { font-size: 0.9rem; }

/* ─── Footer ────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent2), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer p { font-size: 0.9rem; color: var(--muted); }
.footer-sub { font-size: 0.8rem; color: var(--muted2); margin-top: 4px; }

/* ─── AOS (scroll animations) ───────────────────────── */
.aos {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.aos.visible { opacity: 1; transform: translateY(0); }

.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
}
.hero-reveal.visible {
  animation: fade-up 0.7s var(--ease) forwards;
}

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Utility ───────────────────────────────────────── */
.hidden { display: none !important; }

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 680px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 90px 20px 60px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 140px;
  }
  .photo-main  { grid-column: 1 / 3; grid-row: 1; }
  .photo-wide  { grid-column: 1 / 3; }

  .about-layout { grid-template-columns: 1fr; }
  .facts-grid   { grid-template-columns: repeat(3, 1fr); }

  .contact-form { padding: 28px 20px; }
  .modal-box    { padding: 28px 20px; }
  .form-row     { grid-template-columns: 1fr; }
  .cta-card     { padding: 48px 24px; }

  .section { padding: 70px 0; }
}

@media (max-width: 400px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
}
