/* ========================================
   int32 solutions — Global Styles
   ======================================== */

:root {
  --bg-dark: #2a2e33;
  --bg-alt: #31363b;
  --bg-card: #31363b;
  --bg-pill: #3a3f44;
  --text-body: #b9bcc0;
  --text-heading: #e8eaed;
  --text-white: #ffffff;
  --accent: #5ba4cf;
  --accent-hover: #72b5da;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.3);
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --nav-height: 64px;
  --container-max: 1080px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-dark);
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ========================================
   Fade-in Animations
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(42, 46, 51, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white) !important;
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--accent) !important;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-body);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   Hero
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
}

.hero-content {
  text-align: center;
  max-width: 640px;
}

.hero-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(91, 164, 207, 0.15), 0 0 40px rgba(91, 164, 207, 0.08);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-name {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-socials a {
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  transition: all var(--transition);
}

.hero-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(91, 164, 207, 0.06);
}

.hero-brand {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(185, 188, 192, 0.5);
  letter-spacing: 0.04em;
}

/* ========================================
   Service Cards
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ========================================
   Clients Grid
   ======================================== */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 22px 24px;
  transition: border-color var(--transition);
}

.client-card:hover {
  border-color: rgba(91, 164, 207, 0.2);
}

.client-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.client-desc {
  font-size: 0.875rem;
  color: var(--text-body);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(91, 164, 207, 0.1);
  border: 1px solid rgba(91, 164, 207, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-left: 16px;
}

/* ========================================
   Ventures
   ======================================== */

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.venture-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--bg-dark);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 36px 32px;
  transition: all var(--transition);
  color: inherit;
  text-decoration: none;
}

.venture-card:hover {
  border-color: rgba(91, 164, 207, 0.25);
  box-shadow: var(--shadow-hover);
  color: inherit;
}

.venture-card:hover .venture-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.venture-name {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.venture-desc {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
}

.venture-arrow {
  color: var(--text-body);
  flex-shrink: 0;
  margin-left: 16px;
  margin-top: 4px;
  transition: all var(--transition);
}

/* ========================================
   Timeline
   ======================================== */

.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-card);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ========================================
   Tech Stack
   ======================================== */

.tech-categories {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tech-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.tech-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  min-width: 100px;
  padding-top: 6px;
  flex-shrink: 0;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-pill);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-card);
  letter-spacing: 0.01em;
}

/* ========================================
   Awards
   ======================================== */

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.award {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border-card);
  border-radius: 10px;
}

.award svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.award-title {
  display: block;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.award-source {
  display: block;
  font-size: 0.8rem;
  color: var(--text-body);
}

/* ========================================
   Contact
   ======================================== */

.contact-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg-dark);
  box-shadow: 0 4px 16px rgba(91, 164, 207, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-location {
  font-size: 0.875rem;
  color: rgba(185, 188, 192, 0.6);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  display: block;
  margin-bottom: 8px;
}

.footer-left p {
  font-size: 0.8rem;
  color: rgba(185, 188, 192, 0.5);
  line-height: 1.6;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 0.8rem;
  color: rgba(185, 188, 192, 0.5);
  transition: color var(--transition);
}

.footer-right a:hover {
  color: var(--text-body);
}

/* ========================================
   Mobile Responsive
   ======================================== */

@media (max-width: 768px) {

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-name {
    font-size: 2rem;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(42, 46, 51, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* Hamburger animation */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Grids */
  .services-grid,
  .clients-grid,
  .ventures-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  /* Tech rows stacked */
  .tech-row {
    flex-direction: column;
    gap: 8px;
  }

  .tech-label {
    min-width: auto;
    padding-top: 0;
  }

  /* Footer stacked */
  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    gap: 20px;
  }

  /* Cards padding */
  .card {
    padding: 24px 20px;
  }

  .venture-card {
    padding: 28px 24px;
  }

  /* Contact buttons stack */
  .contact-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-name {
    font-size: 1.75rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-avatar {
    width: 120px;
    height: 120px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .client-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tag {
    margin-left: 0;
  }
}