/**
 * Theme Name: OpcBoss
 * Theme URI: https://opcboss.com
 * Author: OpcBoss Team
 * Author URI: https://opcboss.com
 * Description: A modern WordPress theme for tech companies
 * Version: 1.0.0
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: opcboss
 * Domain Path: /languages
 * Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 *
 * OpcBoss is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
 * Underscores is distributed under the terms of the GNU GPL v2 or later.
 */

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables (Design Tokens)
   2. Reset & Base Styles
   3. Layout & Grid System
   4. Typography
   5. Components
      5.1 Buttons
      5.2 Cards
      5.3 Forms
      5.4 Navigation
   6. Header & Footer
   7. Page Sections
      7.1 Hero Section
      7.2 Services Section
      7.3 Portfolio Section
      7.4 Stats Section
      7.5 CTA Section
   8. Utility Classes
   9. Responsive Styles
   10. Animations
   ============================================ */

/* ============================================
   1. CSS Variables (Design Tokens)
   ============================================ */
:root {
  /* Colors - Dark Theme */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #12121a;
  --color-bg-tertiary: #1a1a25;
  --color-bg-card: rgba(255, 255, 255, 0.03);
  
  /* Brand Colors */
  --color-brand-primary: #0066ff;
  --color-brand-secondary: #6366f1;
  --color-brand-accent: #00f0ff;
  
  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  
  /* Border Colors */
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(0, 102, 255, 0.5);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  --gradient-brand: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  --gradient-cta: linear-gradient(135deg, #0066ff 0%, #6366f1 50%, #00f0ff 100%);
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, Monaco, monospace;
  
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.65vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.4vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
  --text-6xl: clamp(3.75rem, 3rem + 3.75vw, 5rem);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Layout */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 5vw, 2rem);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
  --shadow-glow-lg: 0 0 60px rgba(0, 102, 255, 0.4);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Z-index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* ============================================
   2. Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Selection */
::selection {
  background-color: var(--color-brand-primary);
  color: var(--color-text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-primary);
}

/* ============================================
   3. Layout & Grid System
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 960px;
}

.container-wide {
  max-width: 1440px;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

/* ============================================
   4. Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-brand {
  color: var(--color-brand-primary);
}

.text-accent {
  color: var(--color-brand-accent);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.font-mono {
  font-family: var(--font-mono);
}

/* ============================================
   5. Components
   ============================================ */

/* 5.1 Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}

.btn--secondary {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-brand-primary);
  background: rgba(0, 102, 255, 0.1);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-secondary);
}

.btn--light {
  background: var(--color-text-primary);
  color: var(--color-bg-primary);
}

.btn--light:hover {
  background: var(--color-text-secondary);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-text-primary);
}

.btn--outline-light:hover {
  background: var(--color-text-primary);
  color: var(--color-bg-primary);
}

.btn--lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

.btn--sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
}

/* 5.2 Cards */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: var(--text-xl);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-brand-primary);
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-md);
}

/* 5.3 Forms */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--color-text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-brand-primary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* 5.4 Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  display: block;
  padding: var(--space-sm) 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.is-active,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: var(--color-text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after,
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after {
  width: 100%;
}

/* Mobile Navigation - Hidden by default */
.mobile-navigation {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-primary);
  z-index: var(--z-fixed);
  padding: var(--space-2xl) var(--container-padding);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-navigation:not([hidden]) {
  transform: translateX(0);
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-nav-menu a {
  font-size: var(--text-xl);
  padding: var(--space-sm) 0;
  display: block;
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.mobile-nav-menu a:hover,
.mobile-nav-menu .current-menu-item a {
  color: var(--color-text-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-sm);
  z-index: var(--z-modal);
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   6. Header & Footer
   ============================================ */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 15, 0.95);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  font-size: var(--text-2xl);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-logo span {
  color: var(--color-text-primary);
  -webkit-text-fill-color: var(--color-text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Footer */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand__logo {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-brand__text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-brand-primary);
  transform: translateY(-2px);
}

.footer-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-brand-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ============================================
   7. Page Sections
   ============================================ */

/* 7.1 Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero-section__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-section__particles canvas {
  width: 100%;
  height: 100%;
}

.hero-section__content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-cube {
  width: 400px;
  height: 400px;
  position: relative;
}

.code-cube::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    opacity: 0.5; 
    transform: scale(1); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.1); 
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 7.2 Services Section */
.services-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-primary);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* 7.3 Portfolio Section */
.portfolio-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-secondary);
}

.portfolio-section .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-brand-primary);
  font-weight: 600;
  white-space: nowrap;
}

.link-arrow:hover {
  gap: var(--space-md);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.05);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.portfolio-card__tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.portfolio-card__tag {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--color-brand-accent);
}

/* 7.4 Stats Section */
.stats-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--text-5xl);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
}

/* 7.5 CTA Section */
.cta-section {
  padding: var(--space-5xl) 0;
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-4xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   8. Utility Classes
   ============================================ */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.py-5xl {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

/* ============================================
   9. Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header .container {
    height: 64px;
  }
  
  /* Hide desktop nav on mobile */
  .main-navigation {
    display: none;
  }
  
  /* Show mobile menu when active */
  .mobile-navigation {
    display: block;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .mobile-navigation {
    top: 64px;
  }
  
  .hero-section__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .code-cube {
    width: 280px;
    height: 280px;
  }
  
  .services-grid,
  .portfolio-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .cta-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .btn--lg {
    width: 100%;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}

/* ============================================
   7.6 Page Content (Privacy Policy & Terms)
   ============================================ */
.page-content-wrapper {
  padding: var(--space-4xl) 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content-wrapper .entry-header {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.page-content-wrapper .entry-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

.page-content-wrapper .entry-content {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.page-content-wrapper .entry-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.page-content-wrapper .entry-content h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.page-content-wrapper .entry-content p {
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
}

.page-content-wrapper .entry-content ul,
.page-content-wrapper .entry-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.page-content-wrapper .entry-content li {
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
}

/* ============================================
   10. Animations
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease forwards;
}

/* Stagger Animation Delays */
[data-animate] {
  opacity: 0;
}

[data-animate].is-visible {
  opacity: 1;
}

[data-animate-delay="1"] { animation-delay: 0.1s; }
[data-animate-delay="2"] { animation-delay: 0.2s; }
[data-animate-delay="3"] { animation-delay: 0.3s; }
[data-animate-delay="4"] { animation-delay: 0.4s; }
