/* ══════════════════════════════════════════════
   PORTFOLIO — MAIN STYLESHEET
   Author: Dev Portfolio
   Version: 1.0
══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg:          #080b14;
  --bg-card:     #0e1220;
  --bg-card2:    #131829;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(99,102,241,0.35);

  --text:        #e8eaf6;
  --text-muted:  #7c8ba1;
  --text-dim:    #4b5568;

  --primary:     #6366f1;
  --primary-lt:  #818cf8;
  --accent:      #22d3ee;
  --accent2:     #f472b6;
  --green:       #4ade80;

  --grad:        linear-gradient(135deg, #6366f1, #22d3ee);
  --grad-warm:   linear-gradient(135deg, #f472b6, #6366f1);

  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.2);

  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:   'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ── Typography ── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.55);
}

.btn-outline {
  border: 1.5px solid var(--border-glow);
  color: var(--primary-lt);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(99,102,241,0.12);
  border-color: var(--primary-lt);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.full-width { width: 100%; justify-content: center; }


/* ═══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.nav-header.scrolled {
  background: rgba(8,11,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-right: auto;
}
.logo-bracket { color: var(--primary-lt); }

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta { padding: 9px 22px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6366f1, transparent);
  top: -200px; left: -150px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #22d3ee, transparent);
  bottom: -100px; right: -100px;
  opacity: 0.2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollLine 2s ease infinite;
}


/* ═══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(14,18,32,0.8) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-wrap {
  position: relative;
  padding: 20px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(99,102,241,0.08), transparent 70%);
  pointer-events: none;
}

.about-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
}
.avatar-initials {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(99,102,241,0.4);
  animation: spin 20s linear infinite;
}

.about-card-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
}
.chip-ai  { background: rgba(99,102,241,0.15); color: var(--primary-lt); border: 1px solid rgba(99,102,241,0.25); }
.chip-js  { background: rgba(250,204,21,0.1);  color: #fbbf24;           border: 1px solid rgba(250,204,21,0.25); }
.chip-full{ background: rgba(34,211,238,0.1);  color: var(--accent);     border: 1px solid rgba(34,211,238,0.25); }

.floating-tag {
  position: absolute;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.tag-1 { top: 0; right: -20px; animation-delay: 0s; }
.tag-2 { bottom: 60px; left: -20px; animation-delay: 0.8s; }
.tag-3 { bottom: 0; right: 20px; animation-delay: 1.6s; }

.about-text .section-title { text-align: left; }
.about-text .section-eyebrow { text-align: left; }

.about-body {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0 36px;
}

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

.highlight-icon {
  width: 40px; height: 40px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-lt);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.highlight strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.highlight span {
  color: var(--text-muted);
  font-size: 0.85rem;
}


/* ═══════════════════════════════════════════
   SKILLS
══════════════════════════════════════════ */
.skills {
  background: var(--bg);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.skill-card--ai::before    { background: var(--grad); }
.skill-card--frontend::before { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.skill-card--backend::before  { background: linear-gradient(90deg, #4ade80, #22d3ee); }
.skill-card--product::before  { background: linear-gradient(90deg, #f472b6, #a855f7); }

.skill-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.skill-card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(99,102,241,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-lt);
  margin-bottom: 20px;
}
.skill-card--frontend .skill-card-icon { background: rgba(251,191,36,0.1); color: #fbbf24; }
.skill-card--backend  .skill-card-icon { background: rgba(74,222,128,0.1); color: #4ade80; }
.skill-card--product  .skill-card-icon { background: rgba(244,114,182,0.1); color: #f472b6; }

.skill-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skill-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.skill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary-lt);
  flex-shrink: 0;
}
.skill-card--frontend .skill-dot { background: #fbbf24; }
.skill-card--backend  .skill-dot { background: #4ade80; }
.skill-card--product  .skill-dot { background: #f472b6; }

/* Tech badges */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tech-badge {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.tech-badge:hover {
  border-color: var(--border-glow);
  color: var(--primary-lt);
  background: rgba(99,102,241,0.08);
}


/* ═══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.projects {
  background: linear-gradient(180deg, rgba(14,18,32,0.5) 0%, var(--bg) 100%);
}

/* Filter */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(99,102,241,0.15);
  border-color: var(--border-glow);
  color: var(--primary-lt);
}

/* Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card.featured {
  grid-column: 1 / -1;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.project-card.hide {
  display: none;
}

.project-card.featured .project-card-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.project-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Browser mockup */
.project-browser {
  background: #050810;
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  margin-left: 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  padding: 3px 12px;
  border-radius: 6px;
  flex: 1;
  max-width: 200px;
}

/* Project preview panels */
.project-preview {
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

/* LiveAssist preview */
.project-preview--liveassist {
  min-height: 260px;
  background: linear-gradient(135deg, #0c0f1e, #1a1040);
  position: relative;
}
.preview-chat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(99,102,241,0.15);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-lt);
}
.chat-avatar {
  width: 24px; height: 24px;
  background: var(--grad);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: #fff;
}
.chat-status { color: var(--green); font-size: 0.7rem; margin-left: auto; }
.chat-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  max-width: 85%;
  line-height: 1.4;
}
.chat-bubble.bot {
  background: rgba(99,102,241,0.15);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.chat-bubble.user {
  background: var(--grad);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.intent-chip {
  display: inline-block;
  background: rgba(74,222,128,0.15);
  color: var(--green);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.preview-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius);
}
.metric-val {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-lbl { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* GetImg preview */
.project-preview--getimg {
  background: linear-gradient(135deg, #0d0f1e, #0a1628);
  min-height: 180px;
}
.getimg-models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.model-pill {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.model-pill.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.getimg-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.getimg-prompt i { color: var(--primary-lt); }
.getimg-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.gallery-img {
  height: 50px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--bg-card2), rgba(99,102,241,0.15));
  animation: shimmer 2s ease-in-out infinite;
}
.g1 { animation-delay: 0s; }
.g2 { animation-delay: 0.3s; }
.g3 { animation-delay: 0.6s; }
.g4 { animation-delay: 0.9s; }

/* Floorplan preview */
.project-preview--floorplan {
  background: linear-gradient(135deg, #0e1520, #0a1a20);
}
.fp-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.fp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.fp-step i { color: var(--accent); font-size: 1rem; }
.fp-arrow { color: var(--text-dim); font-size: 0.9rem; }
.fp-outputs {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}
.fp-output {
  background: rgba(34,211,238,0.07);
  border: 1px solid rgba(34,211,238,0.15);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sycamore preview */
.project-preview--sycamore {
  background: linear-gradient(135deg, #071a0f, #0d1f15);
}
.syc-hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.syc-headline {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.syc-sub { font-size: 0.75rem; color: var(--green); }
.syc-cards {
  display: flex;
  gap: 8px;
}
.syc-card {
  flex: 1;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.15);
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

/* Ore Akinde preview */
.project-preview--ore {
  background: linear-gradient(135deg, #1a0d0d, #1a0820);
  justify-content: space-between;
}
.ore-hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ore-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f472b6;
}
.ore-headline {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.ore-swatches {
  display: flex;
  gap: 8px;
}
.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.s1 { background: #d4a5a5; }
.s2 { background: #8b5cf6; }
.s3 { background: #10b981; }
.s4 { background: #f59e0b; }
.ore-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f472b6;
  text-transform: uppercase;
}

/* Continental preview */
.project-preview--continental {
  background: linear-gradient(135deg, #0e1320, #071020);
  justify-content: space-between;
}
.cont-overlay {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cont-headline {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.cont-sub { font-size: 0.72rem; color: var(--text-muted); }
.cont-offices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cont-offices span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Project info */
.project-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tag {
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
}
.tag-ai     { background: rgba(99,102,241,0.15); color: var(--primary-lt); }
.tag-saas   { background: rgba(34,211,238,0.12); color: var(--accent); }
.tag-fintech{ background: rgba(74,222,128,0.12); color: var(--green); }
.tag-js     { background: rgba(251,191,36,0.12); color: #fbbf24; }
.tag-ecomm  { background: rgba(244,114,182,0.12); color: #f472b6; }
.tag-corp     { background: rgba(148,163,184,0.12); color: #94a3b8; }
.tag-ios      { background: rgba(10,132,255,0.15);  color: #3b9eff; border: 1px solid rgba(10,132,255,0.25); }
.tag-wellness { background: rgba(255,149,0,0.12);   color: #ff9500; }
.tag-tracker  { background: rgba(52,199,89,0.12);   color: #34c759; }

/* ── iOS skill card ── */
.skill-card--ios::before  { background: linear-gradient(90deg, #3b9eff, #0a84ff); }
.skill-card--ios .skill-card-icon { background: rgba(10,132,255,0.12); color: #3b9eff; }
.skill-card--ios .skill-dot       { background: #3b9eff; }

/* ── iOS phone mockup shared styles ── */
.ios-phone-ui {
  background: #0a0a12;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
}
.ios-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px 4px;
  background: rgba(255,255,255,0.04);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.ios-screen {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Gratitude preview ── */
.project-preview--gratitude {
  background: linear-gradient(135deg, #1a0f28, #0e1a10);
  min-height: 180px;
  display: flex;
  align-items: center;
  padding: 18px;
}
.grat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.grat-icon { color: #ff9500; font-size: 1rem; }
.grat-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.grat-entries {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.grat-entry {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 6px 10px;
}
.grat-entry i { color: #ff9500; font-size: 0.7rem; }
.grat-streak {
  font-size: 0.74rem;
  font-weight: 700;
  color: #ff9500;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,149,0,0.1);
  border: 1px solid rgba(255,149,0,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  align-self: flex-start;
}

/* ── SinceWhen preview ── */
.project-preview--sincewhen {
  background: linear-gradient(135deg, #0a1520, #051510);
  min-height: 180px;
  display: flex;
  align-items: center;
  padding: 18px;
}
.sw-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.sw-icon { color: #34c759; font-size: 1rem; }
.sw-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.sw-entries {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sw-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 6px 10px;
}
.sw-label { color: var(--text-muted); }
.sw-days  { color: #34c759; font-weight: 700; }

.project-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

/* Project metrics (featured card) */
.project-metrics {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.p-metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary-lt);
}
.p-metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.project-tech span {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.project-btn { padding: 10px 24px; font-size: 0.88rem; margin-top: auto; align-self: flex-start; }


/* ═══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(14,18,32,0.6) 100%);
}

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

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-item:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(99,102,241,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-lt);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 2px;
}
.contact-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.availability-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius);
  margin-top: 4px;
}
.avail-dot {
  width: 12px; height: 12px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.availability-badge strong { display: block; color: var(--green); font-size: 0.9rem; margin-bottom: 2px; }
.availability-badge span { font-size: 0.8rem; color: var(--text-muted); }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 12px;
  min-height: 20px;
}
.form-note.success { color: var(--green); }
.form-note.error   { color: #f87171; }


/* ═══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.83rem; color: var(--text-dim); }
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  border-color: var(--border-glow);
  color: var(--primary-lt);
  transform: translateY(-2px);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--grad);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); }


/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes scrollLine {
  0%   { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%  { opacity: 0.3; transform: scaleY(0.5); }
  100% { opacity: 1; transform: scaleY(1); }
}
@keyframes shimmer {
  0%,100% { opacity: 0.5; }
  50%     { opacity: 1; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { display: none; } /* simplify on tablet */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-card.featured .project-card-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(8,11,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-stats { gap: 24px; }
  .hero-scroll { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Skills */
  .skills-grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
}
