:root {
    --navy: #001F3F;
    --blue: #007BFF;
    --blue-mid: #0055cc;
    --glow: #3399ff;
    --dark: #000d1a;
    --card: #001830;
    --border: rgba(0,123,255,0.2);
    --text: #c8d8e8;
    --muted: #6a8caa;
    --white: #f0f6ff;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ── NOISE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    background: rgba(0, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: -0.02em;
  }

  .nav-logo span { color: var(--blue); }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--white); }

  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 4rem 6rem;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,123,255,0.12) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0,85,204,0.08) 0%, transparent 60%);
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,123,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,123,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  }

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

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease both;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--blue);
  }

  .hero h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.1s ease both;
  }

  .hero h1 .highlight {
    background: linear-gradient(135deg, var(--blue) 0%, var(--glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s 0.2s ease both;
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeUp 0.8s 0.3s ease both;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid var(--blue);
  }

  .btn-primary:hover {
    background: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,123,255,0.3);
  }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s;
  }

  .btn-ghost:hover {
    border-color: var(--blue);
    color: var(--white);
  }

  /* floating phone mockup */
  .hero-visual {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    animation: float 6s ease-in-out infinite, fadeUp 1s 0.4s ease both;
  }

  .phone-frame {
    width: 220px;
    height: 440px;
    background: linear-gradient(160deg, #0a2540 0%, #001020 100%);
    border-radius: 36px;
    border: 2px solid rgba(0,123,255,0.3);
    box-shadow:
      0 0 60px rgba(0,123,255,0.15),
      inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
  }

  .phone-notch {
    width: 80px;
    height: 20px;
    background: #000d1a;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
  }

  .phone-screen {
    padding: 8px;
    height: calc(100% - 20px);
  }

  .phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    margin-bottom: 8px;
  }

  .phone-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  }

  .phone-username {
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    color: var(--white);
    font-weight: 600;
  }

  .phone-bell {
    font-size: 0.7rem;
  }

  .phone-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 0 4px;
    margin-bottom: 8px;
  }

  .tile {
    background: rgba(0,123,255,0.15);
    border: 1px solid rgba(0,123,255,0.25);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.45rem;
    color: var(--text);
  }

  .tile-icon { font-size: 1rem; margin-bottom: 4px; }
  .tile-label { font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

  .phone-quote {
    margin: 0 4px;
    padding: 8px;
    background: rgba(0,123,255,0.08);
    border-left: 2px solid var(--blue);
    border-radius: 0 6px 6px 0;
    font-size: 0.42rem;
    color: var(--muted);
    font-style: italic;
  }

  .phone-nav {
    position: absolute;
    bottom: 8px;
    left: 8px; right: 8px;
    display: flex;
    justify-content: space-around;
    padding: 6px;
    background: rgba(0,10,20,0.8);
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  .phone-nav-icon { font-size: 0.9rem; }

  .phone-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    pointer-events: none;
  }

  /* ── STATS BAR ── */
  .stats-bar {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .stat-item {
    flex: 1;
    padding: 2rem 4rem;
    border-right: 1px solid var(--border);
  }

  .stat-item:last-child { border-right: none; }

  .stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.3rem;
  }

  .stat-number span { color: var(--blue); }

  .stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  /* ── SECTIONS ── */
  section {
    position: relative;
    z-index: 1;
    padding: 6rem 4rem;
  }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
  }

  .section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--blue);
  }

  .section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
  }

  /* ── FEATURED PROJECT ── */
  .featured {
    background: linear-gradient(180deg, var(--dark) 0%, #000d1a 100%);
  }

  .featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .featured-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0,123,255,0.15);
    color: var(--blue);
    border: 1px solid rgba(0,123,255,0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }

  .featured-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .featured-desc {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }

  .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0,123,255,0.08);
    border: 1px solid rgba(0,123,255,0.2);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--text);
    font-weight: 400;
  }

  .project-links {
    display: flex;
    gap: 1rem;
  }

  /* app screens mockup */
  .screens-mockup {
    position: relative;
    height: 480px;
  }

  .screen-card {
    position: absolute;
    background: linear-gradient(160deg, #0a2540 0%, #001020 100%);
    border: 1px solid rgba(0,123,255,0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }

  .screen-main {
    width: 200px;
    height: 380px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 40px rgba(0,123,255,0.2), 0 20px 60px rgba(0,0,0,0.6);
  }

  .screen-left {
    width: 170px;
    height: 320px;
    top: 60px;
    left: 0;
    z-index: 2;
    transform: rotate(-6deg);
    opacity: 0.75;
  }

  .screen-right {
    width: 170px;
    height: 320px;
    top: 60px;
    right: 0;
    z-index: 2;
    transform: rotate(6deg);
    opacity: 0.75;
  }

  /* mock screen content */
  .mock-dashboard { padding: 12px; height: 100%; display: flex; flex-direction: column; gap: 6px; }
  .mock-topbar { display: flex; justify-content: space-between; align-items: center; }
  .mock-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #007BFF, #003399); }
  .mock-uname { font-size: 0.5rem; font-family: 'Syne', sans-serif; font-weight: 700; color: var(--white); }
  .mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; flex: 1; }
  .mock-tile {
    background: rgba(0,123,255,0.18);
    border: 1px solid rgba(0,123,255,0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  .mock-tile-icon { font-size: 0.9rem; }
  .mock-tile-text { font-size: 0.38rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
  .mock-quote-bar { padding: 5px 8px; background: rgba(0,123,255,0.06); border-left: 2px solid var(--blue); border-radius: 0 4px 4px 0; }
  .mock-quote-text { font-size: 0.36rem; color: var(--muted); font-style: italic; }
  .mock-tabbar { display: flex; justify-content: space-around; padding: 5px; background: rgba(0,10,20,0.9); border-radius: 8px; }
  .mock-tab-icon { font-size: 0.8rem; }

  /* health screen */
  .mock-health { padding: 10px; height: 100%; display: flex; flex-direction: column; gap: 5px; }
  .mock-screen-title { font-family: 'Syne', sans-serif; font-size: 0.55rem; font-weight: 800; color: var(--white); text-align: center; text-transform: uppercase; letter-spacing: 0.1em; }
  .mock-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1; }
  .mock-metric {
    background: rgba(0,123,255,0.12);
    border: 1px solid rgba(0,123,255,0.2);
    border-radius: 8px;
    padding: 6px;
    text-align: center;
  }
  .mock-metric-val { font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 800; color: var(--white); }
  .mock-metric-label { font-size: 0.35rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

  /* community screen */
  .mock-community { padding: 10px; height: 100%; display: flex; flex-direction: column; gap: 6px; }
  .mock-input-bar { height: 20px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 6px; padding: 0 6px; display: flex; align-items: center; gap: 4px; }
  .mock-input-text { font-size: 0.38rem; color: var(--muted); }
  .mock-feed { flex: 1; display: flex; flex-direction: column; gap: 4px; }
  .mock-post { padding: 5px; background: rgba(0,123,255,0.08); border-radius: 6px; border: 1px solid var(--border); }
  .mock-post-user { display: flex; align-items: center; gap: 3px; margin-bottom: 2px; }
  .mock-post-avatar { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #007BFF, #003399); }
  .mock-post-name { font-size: 0.35rem; font-weight: 500; color: var(--white); }
  .mock-post-text { font-size: 0.35rem; color: var(--muted); }

  /* ── FEATURE HIGHLIGHTS ── */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .feature-card {
    padding: 1.8rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
    cursor: default;
  }

  .feature-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,123,255,0.1);
  }

  .feature-icon {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .feature-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
  }

  .feature-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
  }

  /* ── OTHER PROJECTS ── */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
  }

  .project-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,123,255,0.1);
  }

  .project-thumb {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
  }

  .project-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
  }

  .thumb-blue::before { background: linear-gradient(135deg, #007BFF, #003399); }
  .thumb-green::before { background: linear-gradient(135deg, #00c853, #007a33); }
  .thumb-purple::before { background: linear-gradient(135deg, #7c3aed, #4c1d95); }

  .project-info {
    padding: 1.4rem;
  }

  .project-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
  }

  .status-active { background: rgba(0,200,83,0.12); color: #00c853; border: 1px solid rgba(0,200,83,0.3); }
  .status-complete { background: rgba(0,123,255,0.12); color: var(--blue); border: 1px solid rgba(0,123,255,0.3); }
  .status-wip { background: rgba(255,165,0,0.12); color: #ffa500; border: 1px solid rgba(255,165,0,0.3); }

  .project-card-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
  }

  .project-card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .mini-tag {
    padding: 0.2rem 0.6rem;
    background: rgba(0,123,255,0.07);
    border: 1px solid rgba(0,123,255,0.15);
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--muted);
  }

  .project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.2s;
  }

  .project-card-link:hover { gap: 0.7rem; }

  /* ── SKILLS ── */
  .skills-section {
    background: linear-gradient(180deg, #000d1a 0%, var(--dark) 100%);
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .skill-group {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .skill-group-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }

  .skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text);
  }

  .skill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
  }

  /* ── ABOUT ── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
  }

  .about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
  }

  .about-card-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0,123,255,0.05) 0%, transparent 100%);
  }

  .about-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
  }

  .about-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.2rem;
  }

  .about-role {
    font-size: 0.85rem;
    color: var(--blue);
  }

  .about-card-body {
    padding: 1.5rem 2rem;
  }

  .about-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,123,255,0.08);
    font-size: 0.85rem;
  }

  .about-detail:last-child { border-bottom: none; }
  .about-detail-label { color: var(--muted); min-width: 80px; }
  .about-detail-value { color: var(--white); }

  .about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1.5rem;
  }

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

  /* ── CONTACT ── */
  .contact-section {
    text-align: center;
    padding: 8rem 4rem;
  }

  .contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
  }

  .contact-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,123,255,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .contact-email {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    margin: 1.5rem 0;
    transition: color 0.2s;
  }

  .contact-email:hover { color: var(--glow); }

  .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
  }

  .social-link:hover {
    border-color: var(--blue);
    color: var(--white);
  }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 1;
    padding: 2rem 4rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  footer p {
    font-size: 0.8rem;
    color: var(--muted);
  }

  .footer-stack {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
  }

  /* ── SCREEN SHOWCASE ── */
  .screen-showcase {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  /* Phone frame */
  .showcase-phone-frame {
    width: 220px;
    background: linear-gradient(160deg, #0d2240 0%, #050f1e 100%);
    border-radius: 36px;
    border: 2px solid rgba(0,123,255,0.35);
    box-shadow: 0 0 50px rgba(0,123,255,0.15), 0 20px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    position: sticky;
    top: 100px;
  }

  .showcase-notch {
    width: 80px;
    height: 20px;
    background: #020d18;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
  }

  .showcase-screen {
    width: 100%;
    aspect-ratio: 9/19.5;
    overflow: hidden;
  }

  .showcase-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: opacity 0.25s ease;
  }

  .showcase-screen img.fading { opacity: 0; }

  /* Panel */
  .showcase-panel {
    display: flex;
    flex-direction: column;
  }

  /* Tabs */
  .showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }

  .stab {
    padding: 0.4rem 0.9rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    font-size: 0.78rem;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
  }

  .stab:hover {
    border-color: var(--blue);
    color: var(--white);
  }

  .stab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    font-weight: 500;
  }

  /* Info panels */
  .showcase-info { position: relative; }

  .sinfo {
    display: none;
  }

  .sinfo.active { display: block; }

  .sinfo-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
  }

  .sinfo-desc {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .sinfo-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .sinfo-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
  }

  .sinfo-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    margin-top: 0.45rem;
  }

  @media (max-width: 960px) {
    .screen-showcase { grid-template-columns: 1fr; }
    .showcase-phone-frame { position: static; width: 180px; margin: 0 auto; }
  }
  .fff-media {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .fff-video-label,
  .fff-ss-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
  }

  .fff-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }

  .fff-video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .fff-ss-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }

  .fff-ss-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
  }

  .fff-ss-item img {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.25s;
    background: var(--card);
  }

  .fff-ss-item:hover img {
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,123,255,0.2);
  }

  .fff-ss-item span {
    font-size: 0.65rem;
    color: var(--muted);
    text-align: center;
  }

  /* lightbox */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
  }

  .lightbox.open { display: flex; }

  .lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  .lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
  }

  @media (max-width: 960px) {
    .fff-ss-strip { grid-template-columns: repeat(4, 1fr); }
  }

  /* ── BIZFE CARD ── */
  .bizfe-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
  }

  .bizfe-module-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(124,58,237,0.12);
    color: #a78bfa;
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
  }

  .bizfe-pretitle {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
  }

  .bizfe-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
  }

  .bizfe-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }

  /* LO grid */
  .lo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .lo-item {
    padding: 0.9rem;
    background: rgba(0,123,255,0.05);
    border: 1px solid rgba(0,123,255,0.12);
    border-radius: 10px;
  }

  .lo-num {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
  }

  .lo-text {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.5;
  }

  /* Browser mockup */
  .browser-frame {
    background: #000d1a;
    border: 1px solid rgba(0,123,255,0.25);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.08);
  }

  .browser-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    background: #001020;
    border-bottom: 1px solid rgba(0,123,255,0.15);
  }

  .browser-dots { display: flex; gap: 5px; }
  .dot { width: 10px; height: 10px; border-radius: 50%; }
  .dot-red    { background: #ff5f57; }
  .dot-yellow { background: #febc2e; }
  .dot-green  { background: #28c840; }

  .browser-url {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 0.25rem 0.8rem;
    font-size: 0.72rem;
    color: var(--muted);
    font-family: 'DM Sans', monospace;
  }

  .browser-content {
    display: flex;
    height: 300px;
  }

  /* BizFE sidebar */
  .biz-sidebar {
    width: 110px;
    background: #010e1f;
    border-right: 1px solid rgba(0,123,255,0.1);
    padding: 1rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
  }

  .biz-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #a78bfa;
    padding: 0 0.4rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
  }

  .biz-nav-item {
    font-size: 0.65rem;
    color: var(--muted);
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    cursor: default;
    transition: all 0.2s;
  }

  .biz-nav-active {
    background: rgba(124,58,237,0.15);
    color: #a78bfa;
    border: 1px solid rgba(124,58,237,0.25);
  }

  /* BizFE main content */
  .biz-main {
    flex: 1;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    overflow: hidden;
  }

  .biz-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .biz-page-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
  }

  .biz-user-pill {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.5rem; font-weight: 700; color: white;
  }

  .biz-stats-row {
    display: flex;
    gap: 0.5rem;
  }

  .biz-stat {
    flex: 1;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
  }

  .biz-stat-val {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--white);
  }

  .biz-stat-label {
    font-size: 0.45rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .biz-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--white);
  }

  .biz-badge {
    font-size: 0.5rem;
    padding: 0.15rem 0.5rem;
    background: rgba(0,123,255,0.15);
    color: var(--blue);
    border: 1px solid rgba(0,123,255,0.3);
    border-radius: 20px;
  }

  .biz-table {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
  }

  .biz-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr 1fr;
    padding: 0.35rem 0.6rem;
    font-size: 0.55rem;
    color: var(--muted);
    border-bottom: 1px solid rgba(0,123,255,0.06);
    gap: 0.3rem;
    align-items: center;
  }

  .biz-row:last-child { border-bottom: none; }

  .biz-row-head {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0,123,255,0.05);
  }

  .biz-status-ok   { color: #00c853; }
  .biz-status-pend { color: #ffa500; }

  .biz-api-pill {
    font-size: 0.5rem;
    color: #00c853;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
  }

  @media (max-width: 960px) {
    .bizfe-card { grid-template-columns: 1fr; }
    .lo-grid { grid-template-columns: 1fr; }
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%       { transform: translateY(calc(-50% - 12px)) translateX(0); }
  }

  /* scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* stagger children */
  .stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
  .stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
  .stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
  .stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
  .stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
  .stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

  @media (max-width: 960px) {
    nav { padding: 1.2rem 2rem; }
    section { padding: 4rem 2rem; }
    .hero { padding: 8rem 2rem 4rem; }
    .hero-visual { display: none; }
    .featured-grid { grid-template-columns: 1fr; }
    .screens-mockup { height: 300px; display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-bar { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }
