/* ===================================================================
   SAMIUL DEV - STANDARD ENTERPRISE WEB ARCHITECTURE
   Color Palette: Deep Electric & Royal Blues + High-Energy Vivid Orange
   Off-white backgrounds (#f8fafc), Dark Navy Headings (#0f172a)
   Clean Multi-Page System & Mobile-First Navigation
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,600;0,6..72,700;0,6..72,800;1,6..72,600;1,6..72,700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand Palette - Studio Royal Blues & High-Energy Vivid Orange */
  --primary-blue: #0d47a1;
  --blue-700: #0a3880;
  --blue-600: #1565c0;
  --blue-500: #1976d2;
  --blue-400: #42a5f5;
  --blue-soft: #eef5fc;
  --blue-glow: rgba(21, 101, 192, 0.28);

  --accent-orange: #ff6d00;
  --orange-hover: #e65100;
  --orange-light: #ff9100;
  --orange-soft: #fff3e0;
  --orange-glow: rgba(255, 109, 0, 0.35);

  /* Backgrounds & Surfaces (Warm Off-White Studio Aesthetic) */
  --bg-main: #fbfbf9;
  --bg-warm: #f6f5f0;
  --bg-white: #ffffff;
  --bg-dark: #0a1024;
  --bg-dark-card: #0f172a;
  --bg-subtle: #f0eee8;

  /* Typography */
  --text-main: #0b1329;
  --text-muted: #526077;
  --text-light: #8e9bb0;
  --text-inverse: #ffffff;

  /* Borders & Shadows */
  --border-subtle: #e5e4de;
  --border-light: rgba(229, 228, 222, 0.85);
  --shadow-sm: 0 2px 10px rgba(11, 19, 41, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(11, 19, 41, 0.08), 0 6px 12px -4px rgba(11, 19, 41, 0.04);
  --shadow-lg: 0 22px 42px -6px rgba(13, 71, 161, 0.14), 0 10px 18px -4px rgba(11, 19, 41, 0.04);
  --shadow-orange: 0 12px 28px rgba(255, 109, 0, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-serif: 'Newsreader', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: var(--blue-400);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-600);
}

::selection {
  background: rgba(255, 109, 0, 0.25);
  color: var(--orange-hover);
}

/* ===================================================================
   1. SITE HEADER & NAVIGATION
   Requirements:
   - Left: SamiulDev Logo (clicking opens home)
   - Right: Software, Services, Projects, About & Orange Contact button
   - Mobile: Easy-to-use toggle menu
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-blue), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px var(--blue-glow);
  position: relative;
}

.brand-logo-badge::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--accent-orange);
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-name span {
  color: var(--accent-orange);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Menu: Software, Services, Projects, About, Contact */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

/* Orange Contact Button */
.btn-nav-contact {
  background: linear-gradient(135deg, var(--accent-orange), var(--orange-hover));
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s var(--ease-spring);
}

.btn-nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 109, 0, 0.42);
}

.btn-nav-contact::after {
  display: none !important;
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--orange-hover));
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 109, 0, 0.42);
}

.btn-secondary {
  background: var(--blue-soft);
  color: var(--primary-blue);
  border-color: rgba(21, 101, 192, 0.15);
}

.btn-secondary:hover {
  background: #bbdefb;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-link-action {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-link-action:hover {
  color: var(--accent-orange);
  transform: translateX(3px);
}

/* ===================================================================
   2. HOME HERO: STUDIO ARCHITECTURE & OVERLAPPING LIVE WORK PREVIEW
   Headline — “Websites, web apps, and software. Built by Samiul.”
   Description — “I build websites for brands, web apps for businesses, and software for everyday work.”
   Primary button — “View projects” → /projects
   Secondary link — “Explore software” → /software
   Visual: JerseyBhai browser frame + AratHisab business dashboard
   =================================================================== */
.hero-studio-section {
  padding: 75px 28px 85px;
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
}

.hero-studio-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 52px;
}

.hero-studio-left {
  display: flex;
  flex-direction: column;
}

.studio-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-serif-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.8vw, 4.1rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-serif-headline span {
  color: var(--primary-blue);
  font-style: italic;
  font-weight: 700;
}

.hero-studio-desc {
  font-size: 1.22rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 530px;
  margin-bottom: 34px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.32);
  transition: all 0.25s var(--ease-spring);
}

.btn-hero-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 109, 0, 0.42);
}

.btn-hero-primary .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
}

.btn-hero-secondary .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-hero-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

/* RIGHT HERO: VISUAL MOCKUP CANVAS (JERSEYBHAI + ARATHISAB) */
.hero-studio-right {
  position: relative;
  width: 100%;
}

.visual-mockup-canvas {
  position: relative;
  width: 100%;
  padding-bottom: 24px;
}

.browser-mock-window {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 42px -10px rgba(11, 19, 41, 0.16);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
}

.browser-mock-window.main-window {
  width: 90%;
  background: #ffffff;
  border-color: #cbd5e1;
}

.browser-mock-window.main-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -10px rgba(11, 19, 41, 0.22);
}

.browser-mock-header {
  height: 38px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.browser-mock-header.dark {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

.mock-traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-traffic-lights .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-traffic-lights .dot.red { background: #ff5f56; }
.mock-traffic-lights .dot.yellow { background: #ffbd2e; }
.mock-traffic-lights .dot.green { background: #27c93f; }

.mock-address-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.76rem;
  color: #475569;
  font-family: var(--font-mono);
  max-width: 220px;
}

.mock-address-bar.dark {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

.mock-tag-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 0.04em;
}

.mock-tag-label.orange {
  color: var(--accent-orange);
}

.browser-mock-viewport {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
}

.browser-mock-viewport .mock-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlapping Offset Window: AratHisab Business Dashboard */
.browser-mock-window.floating-app-window {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 66%;
  border-color: #334155;
  background: #0b132b;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.42);
  z-index: 5;
}

.browser-mock-window.floating-app-window:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.55);
}

/* ===================================================================
   3. SELECTED PROJECTS SECTION (3 Projects)
   • JerseyBhai (Website)
   • AratHisab (Business Management Web App)
   • Neonlab (Hospital & Diagnostic Management Web App)
   =================================================================== */
.selected-projects-section {
  padding: 85px 28px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.selected-projects-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-headline-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-eyebrow-tag {
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.section-title-text {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.link-all-projects {
  font-size: 1rem;
  font-weight: 850;
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.link-all-projects:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.projects-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.project-portfolio-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-spring);
}

.project-portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
}

.card-mock-frame {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.card-mock-frame.dark-theme {
  background: #0f172a;
}

.mini-window-bar {
  height: 30px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.mini-window-bar.dark {
  background: #0a0f1d;
  border-bottom: 1px solid #1e293b;
}

.mini-dots {
  display: flex;
  gap: 5px;
}

.mini-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
}

.mini-domain {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #64748b;
}

.mini-window-bar.dark .mini-domain {
  color: #94a3b8;
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-portfolio-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-portfolio-body {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #e0f2fe;
  color: #0369a1;
  margin-bottom: 12px;
}

.card-category-pill.app-pill {
  background: #fff3e0;
  color: #c2410c;
}

.card-category-pill.health-pill {
  background: #ecfdf5;
  color: #047857;
}

.card-project-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 10px;
}

.card-project-summary {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-action-row {
  margin-top: auto;
}

.btn-visit-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-visit-site:hover {
  color: var(--accent-orange);
  transform: translateX(3px);
}

.btn-visit-site .ext-icon {
  font-size: 1.05rem;
}

/* ===================================================================
   4. TWIN SHOWCASE SECTION (Website Templates & Free Software)
   =================================================================== */
.twin-showcase-section {
  padding: 85px 28px;
  background: var(--bg-main);
}

.twin-showcase-container {
  max-width: 1280px;
  margin: 0 auto;
}

.twin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.twin-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-spring);
}

.twin-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
}

.twin-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.twin-badge-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.twin-badge-pill.orange-pill {
  background: #fff3e0;
  color: var(--accent-orange);
}

.twin-badge-pill.green-pill {
  background: #ecfdf5;
  color: #059669;
}

.twin-micro-note {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Templates Preview Graphic Skeleton */
.templates-preview-graphic {
  width: 100%;
  height: 180px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.tpl-real-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  height: 100%;
}

.tpl-thumb-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tpl-thumb-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-orange);
}

.tpl-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.tpl-thumb-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpl-card-skeleton {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.tpl-bar {
  width: 40%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 6px;
  margin-bottom: 12px;
}

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

.tpl-box {
  height: 55px;
  background: #f1f5f9;
  border-radius: 6px;
}

.tpl-card-skeleton.offset-1 {
  height: 40px;
  background: #ffffff;
}

/* Software Preview Graphic */
.software-preview-graphic {
  width: 100%;
  height: 180px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.software-screenshot-frame {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.software-shot-img {
  width: 100%;
  height: calc(100% - 30px);
  object-fit: cover;
  display: block;
}

.twin-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.twin-card-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 8px;
}

.coming-soon-notice-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius-sm);
  color: #b45309;
  font-size: 0.88rem;
  font-weight: 750;
  margin-bottom: 14px;
}

.software-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.software-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.software-sub-tag {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--primary-blue);
}

.twin-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.twin-card-action {
  margin-top: auto;
}

.twin-link-btn {
  font-size: 0.98rem;
  font-weight: 850;
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.twin-link-btn.orange-btn {
  color: var(--accent-orange);
}

.twin-link-btn:hover {
  transform: translateX(4px);
}

/* ===================================================================
   5. NARROW NAVY CONTACT STRIP & FOOTER
   =================================================================== */
.studio-contact-banner {
  background: #0b1329;
  color: #ffffff;
  padding: 42px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-contact-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.studio-contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 4px;
}

.studio-contact-sub {
  font-size: 0.96rem;
  color: #cbd5e1;
}

.btn-studio-discuss {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 109, 0, 0.35);
  transition: all 0.25s var(--ease-spring);
  white-space: nowrap;
}

.btn-studio-discuss:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 109, 0, 0.45);
}

/* FOOTER */
.site-footer {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 50px 28px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav-list a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--accent-orange);
}

.footer-bottom-copy {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================================================================
   PAGE HERO BANNER (FOR SUBPAGES)
   =================================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, #0a183d 0%, #0d47a1 100%);
  color: #ffffff;
  padding: 65px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 109, 0, 0.25);
  filter: blur(60px);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.page-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 109, 0, 0.2);
  border: 1px solid rgba(255, 109, 0, 0.4);
  color: #ffb74d;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 12px;
}

.page-title span {
  color: var(--accent-orange);
}

.page-desc {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.section-wrapper {
  padding: 80px 28px;
}

.section-wrapper.bg-light {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ===================================================================
   STANDARDIZED SOFTWARE SHOWCASE STYLES
   =================================================================== */
.software-page-hero {
  padding: 55px 24px 50px;
}

.software-page-hero .page-title {
  margin-bottom: 0;
}

.software-showcase-section {
  padding: 60px 24px 100px;
  background: var(--bg-main);
}

.software-showcase-container {
  max-width: 960px;
  margin: 0 auto;
}

.software-simple-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.software-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 36px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.software-item-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-orange);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.software-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-400);
  box-shadow: 0 16px 36px rgba(13, 71, 161, 0.1);
}

.software-item-card:hover::before {
  opacity: 1;
}

.software-item-icon-box {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  padding: 10px;
  transition: transform 0.3s var(--ease-spring);
}

.software-item-card:hover .software-item-icon-box {
  transform: scale(1.06);
}

.software-item-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.software-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.software-item-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #fff3e0;
  color: var(--accent-orange);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.software-item-name {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0;
  transition: color 0.2s ease;
}

.software-item-card:hover .software-item-name {
  color: var(--primary-blue);
}

.software-item-tagline {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.software-item-action {
  flex-shrink: 0;
}

.software-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 109, 0, 0.25);
}

.software-item-card:hover .software-item-btn {
  background: var(--orange-hover);
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.35);
}

.software-item-btn .arrow-icon {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.software-item-card:hover .software-item-btn .arrow-icon {
  transform: translateX(4px);
}

@media (max-width: 680px) {
  .software-item-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 18px;
  }
  .software-item-action {
    width: 100%;
  }
  .software-item-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   PDF BLUSTER PRO STANDALONE PAGE SPECIFIC STYLES
   =================================================================== */
.pdf-product-hero {
  padding: 70px 28px 60px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.pdf-hero-screenshot-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pdf-hero-screenshot-box img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--blue-soft);
  color: var(--primary-blue);
  font-size: 0.84rem;
  font-weight: 750;
}

.pdf-download-card {
  background: #ffffff;
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 15px 35px rgba(255, 109, 0, 0.12);
  margin-bottom: 40px;
}

.release-notes-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.suggest-form-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.alert-message {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 650;
  display: none;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===================================================================
   RESPONSIVE (DESKTOP & MOBILE)
   Mobile order: Intro & buttons -> Work preview -> Selected projects -> Templates & Software -> Contact
   =================================================================== */
@media (max-width: 990px) {
  .hero-studio-section {
    padding: 50px 20px 65px;
  }
  .hero-studio-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-studio-left {
    order: 1;
  }
  .hero-studio-right {
    order: 2;
  }
  .browser-mock-window.main-window {
    width: 100%;
  }
  .browser-mock-window.floating-app-window {
    position: static;
    width: 100%;
    margin-top: 18px;
  }
  .visual-mockup-canvas {
    padding-bottom: 0;
  }
  .pdf-product-hero {
    grid-template-columns: 1fr;
  }
  .studio-contact-banner {
    padding: 36px 20px;
  }
  .studio-contact-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .btn-studio-discuss {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   COMPREHENSIVE OPTIMIZED SUBPAGE STYLES
   Projects, Templates, Services, and About
   =================================================================== */

/* --- 1. PROJECTS PAGE ARCHITECTURE --- */
.projects-container {
  max-width: 1280px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.28);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-spring);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--blue-soft);
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-preview-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid var(--primary-blue);
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preview-sm:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

/* --- 2. TEMPLATES PAGE ARCHITECTURE --- */
.templates-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.template-item-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-spring);
  position: relative;
}

.template-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
}

.template-item-thumb {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.template-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.template-item-card:hover .template-item-thumb img {
  transform: scale(1.03);
}

.template-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.template-item-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.template-item-title {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 8px;
}

.template-item-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.template-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.template-specs-list li {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-specs-list li span.dot {
  color: var(--accent-orange);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
}

.template-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.template-contact-btn {
  padding: 9px 20px !important;
  font-size: 0.88rem !important;
  font-weight: 800;
  border-radius: var(--radius-full) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.templates-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.template-cat-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-spring);
  position: relative;
}

.template-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.template-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--accent-orange);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.template-cat-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  color: #059669;
}

.template-cat-title {
  font-size: 1.3rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 10px;
}

.template-cat-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.template-features-mini {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.template-features-mini li {
  font-size: 0.86rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-features-mini li span.check {
  color: var(--accent-orange);
  font-weight: 800;
}

.template-early-access-box {
  background: linear-gradient(135deg, #0b1329 0%, #0d47a1 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 50px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.template-early-access-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.template-early-access-box p {
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* --- 3. SERVICES PAGE ARCHITECTURE --- */
.services-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.service-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.service-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-blue);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
}

.service-pillar-card:hover::before {
  opacity: 1;
}

.service-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--primary-blue);
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-pillar-card:nth-child(2) .service-icon-badge {
  background: var(--orange-soft);
  color: var(--accent-orange);
}

.service-pillar-card:nth-child(3) .service-icon-badge {
  background: #ecfdf5;
  color: #059669;
}

.service-pillar-card:nth-child(4) .service-icon-badge {
  background: #f3e8ff;
  color: #9333ea;
}

.service-pillar-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 12px;
}

.service-pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.service-deliverables-list li {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.service-deliverables-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-orange);
}

.service-bottom-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-meta-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* Workflow Step Section */
.workflow-section {
  padding: 60px 0;
}

.workflow-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.workflow-step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 850;
  color: var(--accent-orange);
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 4. ABOUT PAGE ARCHITECTURE --- */
.about-studio-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-bio-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow-sm);
}

.about-bio-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-bio-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.philosophy-item {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.philosophy-item h4 {
  font-size: 1.02rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.philosophy-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.about-sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-avatar-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.about-avatar-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 3px solid var(--accent-orange);
  padding: 8px;
  margin: 0 auto 18px;
  display: block;
}

.about-avatar-name {
  font-size: 1.4rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 4px;
}

.about-avatar-title {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--primary-blue);
  margin-bottom: 16px;
  display: block;
}

.tech-stack-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.tech-tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 750;
}

.about-quick-stat-box {
  background: linear-gradient(135deg, #0b1329 0%, #0d47a1 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 850;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-stat-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* --- 5. CONTACT PAGE ARCHITECTURE --- */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.contact-info-panel h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  transition: all 0.25s var(--ease-spring);
}

.info-item:hover {
  border-color: var(--primary-blue);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.info-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--primary-blue);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.contact-form-panel h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.btn-whatsapp-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-action:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42);
}

.btn-email-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.28);
}

.btn-email-action:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.38);
}

@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .about-studio-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-menu-wrapper {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px 28px;
    border-bottom: 2px solid var(--primary-blue);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 99;
  }
  .nav-menu-wrapper.mobile-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-links a {
    width: 100%;
    padding: 8px 0;
    font-size: 1.05rem;
  }
  .btn-nav-contact {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav-list {
    flex-direction: column;
    gap: 12px;
  }
}
