:root {
  --bg-dark: #000000;
  --bg-card: rgba(13, 14, 21, 0.65);
  --bg-card-hover: rgba(20, 22, 33, 0.85);
  --accent-blue: #2563EB;
  --accent-blue-bright: #3B82F6;
  --accent-blue-deep: #1D4ED8;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-active: rgba(37, 99, 235, 0.4);
  --text-white: #FFFFFF;
  --text-gray-light: #D1D5DB;
  --text-gray-muted: #9CA3AF;
  --text-gray-dim: #6B7280;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Fixed Background Canvas Scroll Animation
   ========================================================================== */
#animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
}

/* Subtle Vignette / Gradient Overlay to ensure maximum readability */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Left Vertical Floating Rail
   ========================================================================== */
.side-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 54px;
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 32px 0;
  pointer-events: auto;
}

.side-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 80px;
}

.side-icon {
  color: var(--text-gray-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.25s ease;
}

.side-icon:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.side-text-icon {
  font-family: var(--font-tech);
  font-size: 14px;
}

.side-copyright {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.side-copyright span {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-gray-dim);
  text-transform: uppercase;
  font-weight: 500;
}

/* ==========================================================================
   Main Page Wrapper
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px 68px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  font-family: var(--font-tech);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent-blue-bright);
  text-decoration: none;
  line-height: 1;
  transition: transform 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.header-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sub-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-gray-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.main-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-gray-light);
  font-weight: 700;
  text-transform: uppercase;
}

.accent-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-blue-bright);
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  min-height: calc(100vh - 110px);
  padding: 40px 0 48px 0;
  position: relative;
}

.hero-typography {
  flex: 1;
  min-width: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 12rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  max-width: 36vw;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
  user-select: none;
}

.title-white {
  color: #FFFFFF;
}

.title-blue {
  color: var(--accent-blue);
}

.hero-intro-card {
  width: 320px;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 12px;
}

.intro-heading-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intro-greeting {
  font-size: 12px;
  color: var(--text-gray-muted);
  font-weight: 500;
}

.intro-name {
  font-family: var(--font-tech);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.04em;
}

.intro-underline {
  width: 100%;
  height: 2px;
  background: var(--accent-blue);
  margin-top: 6px;
}

.intro-bio {
  font-size: 12.5px;
  color: var(--text-gray-light);
  line-height: 1.6;
  font-weight: 400;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-blue-bright);
  text-decoration: none;
  margin-top: 8px;
  transition: all 0.25s ease;
}

.cta-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* ==========================================================================
   3-Column Info Grid Section (About / Services / Stats)
   ========================================================================== */
.info-grid-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.info-col {
  padding: 36px 30px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.info-col:last-child {
  border-right: none;
}

.section-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-blue-bright);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.about-col .col-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-white);
  margin-bottom: 16px;
}

.about-col .col-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-gray-light);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.service-icon {
  color: var(--text-gray-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.service-content h4 {
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 2px;
}

.service-content p {
  font-size: 12px;
  color: var(--text-gray-muted);
  line-height: 1.4;
}

.statement-banner {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.accent-text {
  color: var(--accent-blue-bright);
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: auto;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-number {
  font-family: var(--font-tech);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-blue-bright);
  line-height: 1;
}

.stat-meta {
  display: flex;
  flex-direction: column;
}

.stat-bold {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-white);
}

.stat-sub {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-gray-muted);
}

/* ==========================================================================
   Selected Work Section
   ========================================================================== */
.work-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.header-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-blue-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-action-link:hover {
  color: var(--text-white);
  transform: translateX(3px);
}

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

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.card-preview {
  height: 200px;
  position: relative;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.preview-number {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-blue-bright);
}

/* Mockup Variations */
.banking-preview {
  background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.25), rgba(13, 14, 21, 0.95));
}

.preview-inner-mockup {
  width: 90%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banking-preview .mock-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue-bright);
  display: block;
}

.banking-preview h3 {
  font-family: var(--font-tech);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.mockup-widgets {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.widget-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--accent-blue);
  border-top-color: transparent;
}

.widget-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.widget-bars span {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.widget-bars span:first-child { width: 85%; background: var(--accent-blue-bright); }
.widget-bars span:nth-child(2) { width: 60%; }
.widget-bars span:last-child { width: 40%; }

/* Fashion Mockup */
.fashion-preview {
  background: radial-gradient(circle at 50% 50%, rgba(30, 30, 40, 0.8), #090A0F);
}

.fashion-header h3 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  line-height: 1.2;
  color: #E2E8F0;
  font-weight: 500;
}

.mockup-fashion-silhouette {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border-radius: 50%;
  align-self: flex-end;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Light SaaS Mockup */
.dashboard-preview {
  background: #F8FAFC;
}

.dashboard-preview .preview-number {
  color: #0284C7;
}

.light-mockup .light-heading {
  font-family: var(--font-body);
  font-size: 13px;
  color: #1E293B;
  line-height: 1.3;
}

.mockup-chart-rows {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chart-row {
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  width: 90%;
}

.chart-row.sm {
  width: 65%;
  background: #38BDF8;
}

.chart-dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.chart-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284C7;
  display: inline-block;
}

.chart-dots i:nth-child(2) { background: #38BDF8; }
.chart-dots i:last-child { background: #CBD5E1; }

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.project-name {
  font-family: var(--font-tech);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.project-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-blue-bright);
  text-align: right;
  line-height: 1.3;
}

.project-desc {
  font-size: 12px;
  color: var(--text-gray-muted);
  line-height: 1.5;
  padding-right: 24px;
}

.card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--text-gray-dim);
  transition: all 0.25s ease;
}

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

/* ==========================================================================
   My Process Section
   ========================================================================== */
.process-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-subtitle-accent {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-blue-bright);
  text-transform: uppercase;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.process-step {
  display: flex;
  flex-direction: column;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-num {
  font-family: var(--font-tech);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-blue-bright);
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.step-title {
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 11.5px;
  color: var(--text-gray-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
  padding: 60px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.footer-heading {
  font-family: var(--font-tech);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-subtext {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-gray-dim);
  text-transform: uppercase;
}

.contact-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-gray-light);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.contact-link-item svg {
  color: var(--text-gray-dim);
}

.contact-link-item:hover:not(.non-interactive) {
  color: var(--accent-blue-bright);
}

.contact-link-item:hover:not(.non-interactive) svg {
  color: var(--accent-blue-bright);
}

.non-interactive {
  cursor: default;
}

.qr-connect-card {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  background: rgba(13, 14, 21, 0.7);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue-bright);
  text-transform: uppercase;
}

.qr-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 6px;
  overflow: hidden;
}

.qr-code-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    min-height: 0;
  }
  .hero-title {
    max-width: none;
  }
  .info-grid-section {
    grid-template-columns: 1fr;
  }
  .info-col {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  .side-rail {
    display: none;
  }
  .site-header {
    flex-direction: column;
    gap: 16px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}
