*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #0a0a0f;
    --bg2: #111118;
    --surface: #16161f;
    --border: #2a2a3a;
    --accent: #4fffb0;
    --accent2: #7c6dfa;
    --text: #e8e8f0;
    --muted: #6a6a8a;
    --card-bg: #13131c;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inconsolata', monospace;
    font-size: 16px;
    line-height: 1.6;
    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: 1000;
    opacity: 0.4;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
  }
  nav.scrolled {
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(12px);
    border-color: var(--border);
  }
  .logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--text);
    letter-spacing: -0.5px;
  }
  .logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta {
    background: var(--accent);
    color: #000;
    padding: 10px 22px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
  }

.project-info a {
    text-decoration: none;
    color: inherit;
    display: block;
    }

  .nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 80%);
  }
  .hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,255,176,0.08) 0%, transparent 70%);
    top: 50%; left: 55%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .hero-glow2 {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,109,250,0.07) 0%, transparent 70%);
    top: 30%; left: 30%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 2; max-width: 820px; }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    padding: 6px 16px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 32px;
    animation: fadeDown 0.6s ease both;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
  h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(42px, 7vw, 84px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -2px;
    margin-bottom: 28px;
    animation: fadeDown 0.6s 0.1s ease both;
  }
  h1 em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
  }
  .hero-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 48px;
    line-height: 1.7;
    animation: fadeDown 0.6s 0.2s ease both;
  }
  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeDown 0.6s 0.3s ease both;
  }
  .btn-primary {
    background: var(--accent);
    color: #000;
    padding: 16px 36px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: opacity 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
  .btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 16px 36px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
  }
  .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

  .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    animation: fadeDown 0.6s 0.4s ease both;
  }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
  }
  .stat-label { color: var(--muted); font-size: 13px; margin-top: 4px; }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── SECTIONS ── */
  section { padding: 100px 60px; }
  .section-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
  }
  h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .section-desc {
    color: var(--muted);
    max-width: 500px;
    font-size: 17px;
    margin-bottom: 64px;
  }

  /* ── SERVICES ── */
  .services { background: var(--bg2); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
  }
  .service-card {
    background: var(--card-bg);
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    cursor: default;
  }
  .service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .service-card:hover { background: var(--surface); }
  .service-card:hover::after { transform: scaleX(1); }
  .service-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    font-size: 22px;
    margin-bottom: 24px;
    transition: border-color 0.3s;
  }
  .service-card:hover .service-icon { border-color: var(--accent); }
  .service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .service-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
  .service-num {
    position: absolute;
    top: 20px; right: 24px;
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    color: var(--border);
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  /* ── PORTFOLIO ── */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
  }
  .project-card:hover { border-color: var(--accent2); transform: translateY(-4px); }
  .project-card.featured { grid-column: span 2; }
  .project-preview {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    display: flex; align-items: center; justify-content: center;
  }
  .project-card.featured .project-preview { height: 320px; }
  .project-preview-inner {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
  }
  /* Decorative mock UI inside cards */
  .mock-ui {
    position: absolute;
    inset: 16px;
    border: 1px solid var(--border);
    padding: 16px;
    overflow: hidden;
  }
  .mock-bar {
    height: 8px;
    border-radius: 2px;
    background: var(--border);
    margin-bottom: 10px;
  }
  .mock-bar.accent { background: var(--accent); opacity: 0.6; width: 40%; }
  .mock-bar.short { width: 60%; }
  .mock-bar.xshort { width: 30%; }
  .mock-row {
    display: flex; gap: 8px; margin-bottom: 10px;
  }
  .mock-block {
    flex: 1; height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .mock-block.tall { height: 70px; }
  .mock-block.accent { background: rgba(79,255,176,0.08); border-color: var(--accent); flex: 0.5; }
  .mock-chart {
    display: flex; align-items: flex-end; gap: 6px;
    height: 60px; margin-top: 12px;
  }
  .mock-bar-v {
    flex: 1;
    background: var(--border);
    border-radius: 2px 2px 0 0;
    transition: height 0.3s;
  }
  .mock-bar-v:nth-child(3) { background: var(--accent); opacity: 0.7; }
  .project-info { padding: 28px 32px; }
  .project-tags {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent2);
    border: 1px solid rgba(124,109,250,0.3);
    padding: 3px 10px;
  }
  .project-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .project-card p { color: var(--muted); font-size: 15px; }

  /* ── PROCESS ── */
  .process { background: var(--bg2); }
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    margin-top: 16px;
  }
  .step {
    padding: 40px 36px;
    border-right: 1px solid var(--border);
    position: relative;
  }
  .step:last-child { border-right: none; }
  .step-num {
    font-family: 'Syne', sans-serif;
    font-size: 64px;
    font-weight: 800;
    color: var(--surface);
    line-height: 1;
    margin-bottom: 20px;
    -webkit-text-stroke: 1px var(--border);
  }
  .step h3 {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

  /* ── SKILLS ── */
  .skills-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
  }
  .skills-left { flex: 1; }
  .skills-right { flex: 1; }
  .skill-group { margin-bottom: 36px; }
  .skill-group-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 16px;
  }
  .skill-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .skill-pill {
    border: 1px solid var(--border);
    padding: 6px 16px;
    font-size: 13px;
    color: var(--text);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    cursor: default;
  }
  .skill-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(79,255,176,0.05);
  }
  .terminal {
    background: #0d0d14;
    border: 1px solid var(--border);
    padding: 32px;
    font-size: 14px;
    line-height: 2;
  }
  .terminal-bar {
    display: flex; gap: 8px; margin-bottom: 20px;
  }
  .terminal-dot {
    width: 12px; height: 12px; border-radius: 50%;
  }
  .t-green { color: var(--accent); }
  .t-purple { color: var(--accent2); }
  .t-muted { color: var(--muted); }
  .t-cursor::after {
    content: '▋';
    animation: blink 1s step-end infinite;
    color: var(--accent);
  }
  @keyframes blink { 50% { opacity: 0; } }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--bg2); }
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .review-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 32px;
    transition: border-color 0.3s;
  }
  .review-card:hover { border-color: var(--accent2); }
  .review-stars { color: var(--accent); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
  .review-text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
  }
  .review-author { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; }
  .review-role { color: var(--muted); font-size: 13px; }

  /* ── CTA ── */
  .cta-section {
    text-align: center;
    padding: 120px 60px;
    position: relative;
    overflow: hidden;
  }
  .cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(79,255,176,0.04) 0%, transparent 70%);
  }
  .cta-section h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 20px; }
  .cta-section p { color: var(--muted); font-size: 18px; margin-bottom: 48px; }
  .cta-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }
  .contact-item {
    display: flex; align-items: center; gap: 12px;
    color: var(--muted);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-item:hover { color: var(--accent); }
  .contact-icon {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: border-color 0.2s;
  }
  .contact-item:hover .contact-icon { border-color: var(--accent); }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 32px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--border); }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    section, .hero, .cta-section { padding: 80px 24px; }
    footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
    .services-grid, .portfolio-grid, .process-steps, .reviews-grid { grid-template-columns: 1fr; }
    .project-card.featured { grid-column: span 1; }
    h1 { letter-spacing: -1px; }
    .hero-stats { gap: 28px; }
    .skills-wrap { flex-direction: column; }
    .step { border-right: none; border-bottom: 1px solid var(--border); }
    .step:last-child { border-bottom: none; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
  }