/* ==========================================================================
   ETALASE WEB — Official Portfolio & Digital Agency Stylesheet
   Design System: Modern Minimalist Digital Agency
   Target: Cloudflare Pages Free / Zero-dependency Static Site
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #002152;
  --primary-dark: #001638;
  --primary-light: #0A3273;
  --primary-surface: rgba(0, 33, 82, 0.04);

  --accent: #FE7804;
  --accent-text: #B44600; /* WCAG AA 5.2:1 contrast against white */
  --accent-hover: #FF8A24;
  --accent-soft: #FFF4EB;
  --accent-border: #FED7AA;
  --accent-glow: rgba(254, 120, 4, 0.25);

  --success: #10B981;
  --success-soft: #ECFDF5;

  /* Neutrals & Surfaces */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-dark-card: #001E47;

  /* Borders */
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Elevation / Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 33, 82, 0.04);
  --shadow-sm: 0 2px 4px -1px rgba(0, 33, 82, 0.06), 0 1px 2px -1px rgba(0, 33, 82, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(0, 33, 82, 0.07), 0 3px 6px -3px rgba(0, 33, 82, 0.05);
  --shadow-lg: 0 14px 28px -4px rgba(0, 33, 82, 0.09), 0 8px 12px -4px rgba(0, 33, 82, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(0, 33, 82, 0.14);
  --shadow-accent: 0 10px 24px -4px rgba(254, 120, 4, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --nav-height: 76px;
}

/* --------------------------------------------------------------------------
   2. Base & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.modal-open {
  overflow: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography & Headings
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.125rem, 4.5vw, 3.5rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-body);
}

.text-muted {
  color: var(--text-muted);
}

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

.text-white {
  color: var(--text-white);
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. Layout & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

.section-dark p {
  color: #CBD5E1;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Eyebrow & Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-pill.brand {
  background-color: var(--accent-soft);
  color: var(--accent-text);
  border: 1px solid var(--accent-border);
}

.badge-pill.dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FED7AA;
  border: 1px solid rgba(254, 120, 4, 0.4);
}

.badge-pill.navy {
  background-color: rgba(0, 33, 82, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 33, 82, 0.16);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.25;
}

.btn-primary {
  background-color: var(--accent);
  color: #001638;
  font-weight: 700;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #001638;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(254, 120, 4, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--primary);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}

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

.btn-dark {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-dark:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   5. Section 01: Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-wrap {
  display: none;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-cta-wrap {
    display: flex;
  }
}

/* Hamburger button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-drawer.open {
  display: block;
  opacity: 1;
}

.mobile-drawer-content {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 1.25rem 2rem;
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.625rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover {
  background-color: var(--bg-subtle);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   6. Section 02: Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--nav-height) + 2.5rem);
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(254, 120, 4, 0.04) 0%, rgba(0, 33, 82, 0.02) 40%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
  width: 100%;
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Layered Showcase Card */
.hero-visual {
  position: relative;
}

.hero-showcase-frame {
  position: relative;
  border-radius: var(--radius-xl);
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.hero-showcase-frame:hover {
  transform: translateY(-4px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.browser-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: var(--bg-main);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-left: 0.5rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #F1F5F9;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Floating micro-badges */
.floating-badge {
  position: absolute;
  padding: 0.65rem 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.floating-badge.badge-1 {
  bottom: -15px;
  left: 20px;
}

.floating-badge.badge-2 {
  top: 40px;
  right: -15px;
}

@media (max-width: 640px) {
  .floating-badge.badge-2 {
    display: none;
  }
}

.badge-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. Section 03: Trust & Value Proposition
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.trust-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.trust-card:hover .trust-icon-box {
  background-color: var(--accent);
  color: var(--text-white);
}

.trust-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
}

.trust-card p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Section 04: Services & Solutions
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 100%);
  position: relative;
}

.service-badge {
  position: absolute;
  top: -12px;
  right: 20px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.service-feature-item svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   9. Section 05: Featured Portfolio / Selected Works
   -------------------------------------------------------------------------- */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.portfolio-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-strong);
}

.portfolio-thumb-wrap {
  position: relative;
  background-color: #0F172A;
  overflow: hidden;
}

.portfolio-browser-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background-color: #1E293B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-browser-header .browser-url {
  background-color: #0F172A;
  color: #94A3B8;
  border-color: rgba(255, 255, 255, 0.1);
}

.portfolio-img-box {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0F172A;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img-box img {
  transform: scale(1.03);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 33, 82, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
  padding: 1rem;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.portfolio-title {
  font-size: 1.375rem;
  margin-bottom: 0.35rem;
}

.portfolio-tagline {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.portfolio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.portfolio-chip {
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.portfolio-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.btn-link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.btn-link-action:hover {
  color: var(--accent-text);
}

.btn-link-action.live-link {
  color: var(--accent-text);
}

.btn-link-action.live-link:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. Section 06: Why Choose Us
   -------------------------------------------------------------------------- */
.compare-table-wrap {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
}

.compare-table th {
  background-color: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-main);
}

.compare-table th.col-highlight {
  background-color: var(--primary);
  color: var(--text-white);
  border-bottom-color: var(--primary-light);
}

.compare-table td.col-highlight {
  background-color: rgba(0, 33, 82, 0.02);
  font-weight: 600;
  color: var(--primary);
  border-left: 1px solid rgba(0, 33, 82, 0.08);
  border-right: 1px solid rgba(0, 33, 82, 0.08);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .compare-table-wrap {
    overflow-x: auto;
  }
  .compare-table th,
  .compare-table td {
    padding: 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   11. Section 07: Work Process & SOP
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.process-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background-color: #00285E;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-step-num svg {
  color: rgba(255, 255, 255, 0.2);
}

.process-card h3 {
  font-size: 1.125rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.875rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.process-card.full-width {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, #001E47 0%, #00285E 100%);
  border-color: var(--accent-border);
}

/* --------------------------------------------------------------------------
   12. Section 08: Pricing & Service Packages
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 30px -5px rgba(254, 120, 4, 0.15);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDFB 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.pricing-price-wrap {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.pricing-unit {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.pricing-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.pricing-feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-feature-item.muted {
  color: #64748B;
  text-decoration: line-through;
}

.pricing-feature-item.muted svg {
  color: #64748B;
}

.pricing-notes-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-notes-box strong {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   13. Section 09: FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  gap: 1rem;
}

.faq-question-btn svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question-btn svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14. Section 10: Final Conversion CTA
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.final-cta-box {
  background: linear-gradient(135deg, #001A42 0%, #002152 60%, #0F2D6B 100%);
  border-radius: var(--radius-2xl);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(254, 120, 4, 0.2);
}

.final-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(254, 120, 4, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-title {
  color: var(--text-white);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.final-cta-desc {
  color: #CBD5E1;
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.final-cta-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   15. Section 11: Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
    gap: 3rem;
  }
}

.footer-col h3,
.footer-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #94A3B8;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-link {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--accent);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #CBD5E1;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #94A3B8;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   16. Portfolio Detail Modal & Device Switcher
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background-color: var(--bg-card);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-backdrop.open .modal-window {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background-color: var(--bg-card);
  z-index: 10;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: #FEE2E2;
  color: #DC2626;
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-device-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-subtle);
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.device-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.device-toggle-btn.active {
  background-color: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.modal-preview-viewport {
  background-color: #0F172A;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.modal-preview-frame {
  width: 100%;
  max-width: 100%;
  transition: max-width var(--transition-smooth);
}

.modal-preview-frame.is-mobile {
  max-width: 320px;
}

.modal-preview-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .modal-info-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.modal-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.modal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.modal-feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   17. Floating WhatsApp & Back to Top
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-wa-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #075E54; /* Official WhatsApp Dark Green for AAA contrast */
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 20px -2px rgba(7, 94, 84, 0.45);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.float-wa-btn:hover {
  background-color: #128C7E;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -2px rgba(7, 94, 84, 0.55);
}

.back-to-top-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   18. Reduced Motion Support
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
