/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  background-color: #0d0f14;
  color: #e2e8f0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}
/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 0.5px solid #1e2433;
  position: sticky;
  top: 0;
  background-color: #0d0f14;
  z-index: 100;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e3a52;
  border: 1.5px solid #2a4a6b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #7dd3fc;
  flex-shrink: 0;
}
.nav-logo {
  font-size: 15px;
  font-weight: 500;
  color: #7dd3fc;
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #7dd3fc;
}
/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 6rem;
  border-bottom: 0.5px solid #1e2433;
}
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-badge {
  display: inline-block;
  font-size: 11px;
  color: #7dd3fc;
  border: 0.5px solid #2a4a6b;
  background: #0f1f33;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  width: fit-content;
}
.hero-text h1 {
  font-size: 40px;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.2;
}
.hero-text h1 span {
  color: #7dd3fc;
}
.hero-text p {
  font-size: 18px;
  color: #64748b;
  line-height: 1.8;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 0.5rem;
}
.btn-primary {
  font-size: 13px;
  padding: 9px 20px;
  background: #7dd3fc;
  color: #0a1628;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.85;
}
.btn-ghost {
  font-size: 13px;
  padding: 9px 20px;
  background: transparent;
  color: #94a3b8;
  border: 0.5px solid #1e2433;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: #7dd3fc;
  color: #7dd3fc;
}
.photo-frame {
  width: 320px;
  height: 420px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  border: 0.5px solid #2a4a6b;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 16px;
}
.photo-corner.tl {
  top: 10px;
  right: 10px;
  border-top: 1.5px solid #7dd3fc;
  border-right: 1.5px solid #7dd3fc;
}
.photo-corner.br {
  bottom: 10px;
  left: 10px;
  border-bottom: 1.5px solid #7dd3fc;
  border-left: 1.5px solid #7dd3fc;
}
/* ── Services ── */
.services {
  padding: 3rem 6rem;
  border-bottom: 0.5px solid #1e2433;
}
.section-label {
  font-size: 14px;
  color: #7dd3fc;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-card {
  background: #12161f;
  border: 0.5px solid #1e2433;
  border-radius: 10px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.service-card:hover {
  border-color: #2a4a6b;
}
.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #0f1f33;
  border: 0.5px solid #2a4a6b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7dd3fc;
  font-size: 15px;
}
.service-title {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}
.service-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
}
/* ── Projects ── */
.projects {
  padding: 3rem 6rem;
  border-bottom: 0.5px solid #1e2433;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.view-all {
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}
.view-all:hover {
  color: #7dd3fc;
}
/* Featured card */
.project-featured {
  background: #12161f;
  border: 0.5px solid #2a4a6b;
  border-radius: 12px;
  padding: 1.8rem;
  margin-bottom: 14px;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.project-featured-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project-featured-img {
  width: 280px;
  height: 160px;
  border-radius: 8px;
  background: #0f1f33;
  border: 0.5px solid #1e2433;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a4a6b;
  font-size: 11px;
  font-family: monospace;
}
.project-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.project-name {
  font-size: 20px;
  font-weight: 600;
  color: #f1f5f9;
}
.project-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-tag {
  font-size: 11px;
  color: #94a3b8;
  background: #0d0f14;
  border: 0.5px solid #1e2433;
  padding: 3px 10px;
  border-radius: 20px;
}
.project-links {
  display: flex;
  gap: 10px;
}
/* Badges */
.badge-featured {
  font-size: 10px;
  color: #0a1628;
  background: #7dd3fc;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.badge-live {
  font-size: 10px;
  color: #7dd3fc;
  background: #0f1f33;
  border: 0.5px solid #2a4a6b;
  padding: 2px 8px;
  border-radius: 10px;
}
.badge-production {
  font-size: 10px;
  color: #4ade80;
  background: #0a1f0f;
  border: 0.5px solid #166534;
  padding: 2px 8px;
  border-radius: 10px;
}
.badge-wip {
  font-size: 10px;
  color: #fbbf24;
  background: #1a1200;
  border: 0.5px solid #3d2e0a;
  padding: 2px 8px;
  border-radius: 10px;
}
.badge-cofounder {
  font-size: 10px;
  color: #a78bfa;
  background: #1a1033;
  border: 0.5px solid #3b2a6b;
  padding: 2px 8px;
  border-radius: 10px;
}
.badge-client {
  font-size: 10px;
  color: #a78bfa;
  background: #1a1033;
  border: 0.5px solid #3b2a6b;
  padding: 2px 8px;
  border-radius: 10px;
}
/* Project grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.project-card {
  background: #12161f;
  border: 0.5px solid #1e2433;
  border-radius: 10px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.project-card:hover {
  border-color: #2a4a6b;
}
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.project-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}
.project-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.project-card-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}
.divider {
  height: 0.5px;
  background: #1e2433;
}
.project-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
}
.project-features li {
  font-size: 11px;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}
.feature-dot {
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-dot.blue {
  color: #7dd3fc;
}
.feature-dot.yellow {
  color: #fbbf24;
}
.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.project-card-tag {
  font-size: 10px;
  color: #64748b;
  background: #0d0f14;
  border: 0.5px solid #1e2433;
  padding: 2px 8px;
  border-radius: 20px;
}
.project-card-links {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.link-sm {
  font-size: 11px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}
.link-sm:hover {
  color: #7dd3fc;
}
/* ── Tech Stack ── */
.tech-stack {
  padding: 3rem 6rem;
  border-bottom: 0.5px solid #1e2433;
}
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-pill {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 0.5px solid #1e2433;
  color: #94a3b8;
  background: #12161f;
}
.skill-pill.active {
  border-color: #2a4a6b;
  color: #7dd3fc;
  background: #0f1f33;
}
.skill-pill.learning {
  border: 0.5px dashed #3d2e0a;
  color: #fbbf24;
  background: #1a1200;
  display: flex;
  align-items: center;
  gap: 6px;
}
.learning-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
  flex-shrink: 0;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.stack-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 14px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #475569;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.blue { background: #7dd3fc; }
.legend-dot.yellow { background: #fbbf24; }
/* ── Blog ── */
.blog {
  padding: 3rem 6rem;
  border-bottom: 0.5px solid #1e2433;
}
.blog-featured {
  background: #12161f;
  border: 0.5px solid #2a4a6b;
  border-radius: 12px;
  padding: 1.8rem;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-featured-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-featured-blog {
  font-size: 10px;
  color: #0a1628;
  background: #7dd3fc;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.blog-category {
  font-size: 10px;
  color: #7dd3fc;
  background: #0f1f33;
  border: 0.5px solid #2a4a6b;
  padding: 2px 8px;
  border-radius: 10px;
}
.blog-date {
  font-size: 11px;
  color: #334155;
}
.blog-featured-title {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.4;
}
.blog-featured-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
}
.blog-divider {
  height: 0.5px;
  background: #1e2433;
}
.blog-angles {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
}
.blog-angles li {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}
.angle-dot {
  flex-shrink: 0;
  margin-top: 1px;
}
.angle-dot.blue { color: #7dd3fc; }
.angle-dot.yellow { color: #fbbf24; }
.blog-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-featured-meta {
  font-size: 13px;
  color: #334155;
}
/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.blog-card {
  background: #12161f;
  border: 0.5px solid #1e2433;
  border-radius: 10px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
  cursor: pointer;
}
.blog-card:hover {
  border-color: #2a4a6b;
}
.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-title {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.5;
}
.blog-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}
.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.blog-read-time {
  font-size: 13px;
  color: #334155;
}
.blog-arrow {
  font-size: 13px;
  color: #2a4a6b;
  transition: color 0.2s;
}
.blog-card:hover .blog-arrow {
  color: #7dd3fc;
}
/*___CONTACT___*/
.contact {
  padding: 3rem 6rem;
  border-bottom: 0.5px solid #1e2433;
}
.contact-wrapper {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-heading {
  font-size: 28px;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.3;
}
.contact-heading span {
  color: #7dd3fc;
}
.contact-subtext {
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
  max-width: 380px;
}
.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0.5rem;
}
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #12161f;
  border: 0.5px solid #1e2433;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.contact-link-item:hover {
  border-color: #2a4a6b;
}
.contact-link-item.no-link {
  cursor: default;
}
.contact-link-item.no-link:hover {
  border-color: #1e2433;
}
.contact-link-item.full-width {
  grid-column: 1 / -1;
}
.contact-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #0f1f33;
  border: 0.5px solid #2a4a6b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #7dd3fc;
  flex-shrink: 0;
}
.contact-link-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.contact-link-label {
  font-size: 10px;
  color: #475569;
}
.contact-link-value {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Form */
.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 11px;
  color: #475569;
  letter-spacing: 0.05em;
}
.form-input {
  background: #12161f;
  border: 0.5px solid #1e2433;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #e2e8f0;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus {
  border-color: #2a4a6b;
}
.form-input::placeholder {
  color: #334155;
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
.form-select {
  background: #12161f;
  border: 0.5px solid #1e2433;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #64748b;
  font-family: inherit;
  outline: none;
  width: 100%;
}
.btn-submit {
  font-size: 13px;
  padding: 11px 24px;
  background: #7dd3fc;
  color: #0a1628;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s;
}
.btn-submit:hover {
  opacity: 0.85;
}
/* ── Footer ── */
.footer {
  padding: 1.5rem 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 0.5px solid #1e2433;
}
/* ── Fade In On Load ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-text h1 {
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-text p {
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-btns {
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-photo {
  animation: fadeInUp 0.7s ease 0.2s both;
}
/* ── Card Hover Lift ── */
.service-card,
.project-card,
.project-featured,
.blog-card,
.blog-featured,
.contact-link-item {
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover,
.project-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.06);
  border-color: #2a4a6b;
}
.project-featured:hover,
.blog-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.08);
}
.btn-primary {
  transition: transform 0.2s, opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}
.btn-ghost {
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  transform: translateY(-2px);
}
/* ── Active Nav Link ── */
.nav-links a.active {
  color: #7dd3fc;
  border-bottom: 1.5px solid #7dd3fc;
  padding-bottom: 3px;
}
/* ── Typewriter Cursor ── */
.hero-text h1 span {
  border-right: 2px solid #7dd3fc;
  padding-right: 4px;
  animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink {
  50% { border-color: transparent; }
}
/* ── Responsive — Tablet (768px) ── */
@media (max-width: 768px) {
  /* NAV */
  .hamburger {
    display: block;
  }
    .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 57px;
    left: 0;
    right: 0;
    background: #0d0f14;
    border-bottom: 0.5px solid #1e2433;
    padding: 0.5rem 2rem;
    z-index: 99;
  }
    .nav-links.open {
    display: flex;
  }
   .nav-links li {
    padding: 0.7rem 0;
    border-bottom: 0.5px solid #1e2433;
  }
   .nav-links li:last-child {
    border-bottom: none;
  }
   .navbar {
    position: relative;
  }
    /* HERO */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    width: 100%;
    overflow: hidden;
  }
  .hero-text h1 {
  font-size: 24px;
  word-break: break-word;
}
  .hero-text {
    align-items: center;
    order: 1;
  }
  .hero-photo {
    order: 2;
  }
  .hero-text p {
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
  }
  .photo-frame {
    width: 270px;
    height: 330px;
  }
    /* SERVICES */
  .services {
    padding: 2rem 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
    /* PROJECTS */
  .projects {
    padding: 2rem 1.5rem;
  }
  .project-featured {
    flex-direction: column;
  }
  .project-featured-img {
    width: 100%;
    height: 160px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
    /* TECH STACK */
  .tech-stack {
    padding: 2rem 1.5rem;
  }
    /* BLOG */
  .blog {
    padding: 2rem 1.5rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
    /* CONTACT */
  .contact {
    padding: 2rem 1.5rem;
  }
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
    .contact-right {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-links {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .contact-link-item {
  min-width: 0;
  overflow: hidden;
}
.contact-link-value {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
    /* FOOTER */
  .footer {
    padding: 1.2rem 1.5rem;
    justify-content: center;
  }
}
/* ── Responsive — Mobile (480px) ── */
@media (max-width: 480px) {
  /* NAV */
  .nav-logo {
    font-size: 13px;
  }
    /* HERO */
  .hero {
    padding: 2rem 1.2rem;
  }
    /* HERO */
  .hero {
    padding: 2rem 1.2rem;
  }
  .hero-text h1 {
    font-size: 26px;
  }
  .photo-frame {
    width: 230px;
    height: 290px;
  }
    /* SERVICES */
  .services {
    padding: 1.5rem 1.2rem;
}
  /* PROJECTS */
  .projects {
    padding: 1.5rem 1.2rem;
  }
  /* TECH STACK */
  .tech-stack {
    padding: 1.5rem 1.2rem;
  }
  /* BLOG */
  .blog {
    padding: 1.5rem 1.2rem;
  }
    /* CONTACT */
  .contact {
    padding: 1.5rem 1.2rem;
  }
  .contact-links {
    grid-template-columns: 1fr 1fr;
  }
  /* FOOTER */
  .footer {
    padding: 1rem 1.2rem;
  }
}
a.blogs-arrow {
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
a.blogs-arrow:hover {
  color: #7dd3fc;
}
.project-featured-img {
  width: 280px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
  border: 0.5px solid #1e2433;
  flex-shrink: 0;
}