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

:root {
  --navy: #0d1b40;
  --navy2: #0a1628;
  --blue: #2563eb;
  --blue2: #1d4ed8;
  --blue-light: #eef2ff;
  --blue-card: #f0f5ff;
  --text: #0d1b40;
  --muted: #4b5563;
  --white: #ffffff;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 28px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1rem; color: var(--navy);
  text-decoration: none; letter-spacing: -0.01em;
}
.logo img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.logo-light { color: rgba(255,255,255,0.85); }
nav ul { list-style: none; display: flex; gap: 36px; align-items: center; }
nav ul a { text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav ul a:hover { color: var(--navy); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; padding: 12px 28px 20px; gap: 0; border-top: 1px solid var(--border); background: #fff; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 0; color: var(--navy); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }

/* HERO */
.hero {
  background: var(--navy);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 22px;
}
.hero-text p {
  color: rgba(255,255,255,0.7); font-size: 1rem;
  max-width: 500px; margin-bottom: 36px; line-height: 1.75;
}
.btn-primary {
  display: inline-block; background: var(--blue); color: var(--white);
  padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); }

.hero-photo { flex-shrink: 0; }
.photo-circle {
  width: 320px; height: 320px; border-radius: 50%;
  overflow: hidden; border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 0 8px rgba(37,99,235,0.2);
}
.photo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* SECTION LABELS */
.section-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-label-light {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 10px;
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800;
  color: var(--navy); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 48px;
}

/* CLAUDE CODE PROJECTS */
.cc-projects { padding: 100px 0; background: var(--navy); }
.cc-projects .section-label { color: rgba(255,255,255,0.5); }
.cc-projects h2 { color: var(--white); margin-bottom: 14px; }
.section-sub { color: rgba(255,255,255,0.55); font-size: 0.95rem; max-width: 620px; margin-bottom: 56px; line-height: 1.75; }
.cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cc-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  display: flex; flex-direction: column; gap: 12px;
}
.cc-card:hover { border-color: rgba(37,99,235,0.6); transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.cc-featured { border-color: rgba(37,99,235,0.4); background: rgba(37,99,235,0.1); grid-column: span 1; }
.cc-featured:hover { border-color: rgba(37,99,235,0.8); }
.cc-inprogress { border-color: rgba(234,179,8,0.25); background: rgba(234,179,8,0.04); }
.cc-inprogress:hover { border-color: rgba(234,179,8,0.5); }
.cc-card-top { display: flex; align-items: center; justify-content: space-between; }
.cc-icon { font-size: 1.8rem; }
.cc-status { font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; letter-spacing: 0.05em; text-transform: uppercase; }
.cc-status.live { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.cc-status.building { background: rgba(234,179,8,0.15); color: #fbbf24; border: 1px solid rgba(234,179,8,0.25); }
.cc-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.cc-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; flex: 1; }
.cc-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cc-stack span {
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px;
  border-radius: 100px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.65);
}

/* WORK */
.work { padding: 100px 0; background: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
  background: var(--blue-card);
  border-radius: 16px; overflow: hidden;
  border: 1px solid #dbeafe;
  transition: transform 0.25s, box-shadow 0.25s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(37,99,235,0.12); }
.work-img { width: 100%; height: 240px; overflow: hidden; background: #e8f0fe; }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-label {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; font-size: 0.92rem; font-weight: 600; color: var(--navy);
}
.check-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: var(--blue); color: #fff;
  border-radius: 50%; font-size: 0.7rem; font-weight: 800; flex-shrink: 0;
}

/* SERVICES */
.services { padding: 100px 0; background: var(--blue-card); border-top: 1px solid #dbeafe; }
.services h2 { margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,99,235,0.1); }
.featured-card { border-color: var(--blue); background: linear-gradient(135deg, #eff6ff, #eef2ff); grid-column: span 1; position: relative; }
.featured-card::after { content: 'New'; position: absolute; top: 20px; right: 20px; background: var(--blue); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.sc-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

/* ABOUT */
.about { padding: 100px 0; background: var(--white); border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; }
.about-photo { flex-shrink: 0; }
.about-photo img {
  width: 300px; height: 380px; object-fit: cover; object-position: top;
  border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 16px; }
.about-values { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.av { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; color: var(--navy); }

/* TOOLS STRIP */
.tools-strip { padding: 48px 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.tools-label {
  text-align: center; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.tools-track { overflow: hidden; }
.tools-inner {
  display: flex; gap: 16px; width: max-content;
  animation: scroll-tools 90s linear infinite;
}
.tools-inner span {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.85); padding: 10px 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
}
.tools-inner span img {
  width: 18px; height: 18px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.85;
}
@keyframes scroll-tools { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CONTACT */
.contact { padding: 100px 0; background: var(--navy); }
.contact-inner { max-width: 600px; }
.contact h2 { color: var(--white); }
.contact p { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 36px; line-height: 1.75; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline {
  display: inline-block; border: 2px solid rgba(255,255,255,0.25);
  color: var(--white); padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* FOOTER */
footer { padding: 32px 0; background: var(--navy2); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { display: flex; justify-content: center; }
  .photo-circle { width: 240px; height: 240px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { display: flex; justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .cc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  nav ul { display: none; }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .cc-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 60px; }
}
