/*
Theme Name: Codelupo
Theme URI: https://codelupo.pl
Author: Codelupo
Author URI: https://codelupo.pl
Description: Software house dla przedsiębiorstw - Aplikacje enterprise. Szablon WordPress wizualnie identyczny z wersją Lovable.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codelupo
Tags: one-page, custom-logo, translation-ready
*/

/* ========================================
   CSS VARIABLES (Design Tokens)
   ======================================== */
:root {
  --background: 0 0% 100%;
  --foreground: 220 20% 10%;
  --card: 220 15% 98%;
  --card-foreground: 220 20% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 20% 10%;
  --primary: 45 100% 50%;
  --primary-foreground: 220 20% 10%;
  --secondary: 220 15% 96%;
  --secondary-foreground: 220 20% 25%;
  --muted: 220 15% 94%;
  --muted-foreground: 220 10% 45%;
  --accent: 220 15% 92%;
  --accent-foreground: 220 20% 10%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 15% 90%;
  --input: 220 15% 90%;
  --ring: 45 100% 50%;
  --radius: 0.75rem;

  --gold: 45 100% 50%;
  --gold-light: 45 100% 60%;
  --gold-dark: 45 100% 42%;

  --gradient-gold: linear-gradient(135deg, hsl(45 100% 50%), hsl(38 95% 45%));
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%), hsl(220 15% 98%));

  --shadow-sm: 0 1px 2px hsl(220 20% 10% / 0.04);
  --shadow-md: 0 4px 12px hsl(220 20% 10% / 0.06);
  --shadow-lg: 0 12px 40px hsl(220 20% 10% / 0.08);
  --shadow-gold: 0 8px 30px hsl(45 100% 50% / 0.25);

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-gradient {
  background-image: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}


/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn-default:hover {
  background-color: hsl(var(--gold-dark));
}

.btn-hero {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-gold);
}

.btn-hero:hover {
  box-shadow: 0 12px 40px hsl(45 100% 50% / 0.35);
  transform: translateY(-2px);
}

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

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

.btn-hero-outline {
  background: transparent;
  color: hsl(var(--foreground));
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border: 2px solid hsl(var(--foreground));
  border-radius: 0.75rem;
}

.btn-hero-outline:hover {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar-logo img {
  height: 2.5rem;
  width: auto;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.navbar-links a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: hsl(var(--foreground));
}

.navbar-cta {
  display: none;
}

.navbar-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

.navbar-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border));
  animation: fadeIn 0.3s ease-out forwards;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: hsl(var(--foreground));
}

.mobile-menu .btn {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
  .navbar-cta {
    display: block;
  }
  .navbar-mobile-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(hsl(var(--foreground)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground)) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-glow {
  position: absolute;
  top: 33%;
  right: 25%;
  width: 600px;
  height: 600px;
  background: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.hero-badge span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

.hero p.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
}

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

.hero-stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-stat-value svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.hero-stat-value span {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.hero-stat-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero p.hero-subtitle {
    font-size: 1.25rem;
  }
  .hero-stat-value span {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.section-bg-card {
  position: absolute;
  inset: 0;
  background: hsl(var(--card) / 0.5);
}

.section-bg-background {
  position: absolute;
  inset: 0;
  background: hsl(var(--background));
}

.section-label {
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.section-desc {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* ========================================
   SERVICES
   ======================================== */
.services-header {
  max-width: 42rem;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border-radius: 1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-lg);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: hsl(var(--primary) / 0.15);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.service-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
  opacity: 0;
  transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
  opacity: 1;
  color: hsl(var(--primary));
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.service-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

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

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

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-section {
  padding: 7rem 0;
  background: hsl(var(--background));
}

.portfolio-header {
  max-width: 48rem;
  margin-bottom: 3.5rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.portfolio-header .section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.portfolio-header .section-desc {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Filters */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.portfolio-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.portfolio-filter svg {
  width: 0.875rem;
  height: 0.875rem;
}

.portfolio-filter:hover {
  border-color: hsl(var(--primary) / 0.4);
  color: hsl(var(--foreground));
  background: hsl(var(--primary) / 0.04);
}

.portfolio-filter.active {
  background: var(--gradient-gold);
  border-color: hsl(var(--gold-dark));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 16px hsl(45 100% 50% / 0.2);
  font-weight: 600;
}

.portfolio-filter.active svg {
  color: hsl(var(--primary-foreground));
}

/* Grid */
.portfolio-grid {
  display: grid;
  gap: 1.75rem;
}

/* Card */
.portfolio-card {
  border-radius: 1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: hsl(var(--primary) / 0.25);
  box-shadow: 0 20px 60px hsl(220 20% 10% / 0.08), 0 4px 16px hsl(220 20% 10% / 0.04);
  transform: translateY(-6px);
}

.portfolio-card.portfolio-hidden {
  display: none;
}

/* Screenshot Area */
.portfolio-screenshot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}

.portfolio-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-screenshot img {
  transform: scale(1.06);
}

.portfolio-screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(145deg, hsl(220 15% 97%), hsl(220 15% 94%));
  position: relative;
  overflow: hidden;
}

.portfolio-screenshot-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(hsl(var(--foreground)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground)) 1px, transparent 1px);
  background-size: 20px 20px;
}

.portfolio-screenshot-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: hsl(var(--primary) / 0.04);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-screenshot-placeholder::after {
  width: 160px;
  height: 160px;
  background: hsl(var(--primary) / 0.06);
}

.portfolio-screenshot-placeholder svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--muted-foreground) / 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.portfolio-card:hover .portfolio-screenshot-placeholder svg {
  color: hsl(var(--primary) / 0.5);
  transform: scale(1.1);
}

.portfolio-screenshot-placeholder span {
  font-size: 0.6875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground) / 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
}

/* Screenshot Overlay */
.portfolio-screenshot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(220 20% 10% / 0);
  backdrop-filter: blur(0px);
  transition: all 0.35s ease;
  opacity: 0;
  z-index: 2;
}

.portfolio-card:hover .portfolio-screenshot-overlay {
  background: hsl(220 20% 10% / 0.55);
  backdrop-filter: blur(4px);
  opacity: 1;
}

.portfolio-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-body);
  transform: translateY(10px);
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 20px hsl(220 20% 10% / 0.15);
}

.portfolio-card:hover .portfolio-overlay-btn {
  transform: translateY(0);
}

a.portfolio-overlay-btn:hover {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-gold);
}

.portfolio-overlay-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

.portfolio-overlay-btn--disabled {
  opacity: 0.6;
  cursor: default;
}

/* Card Body */
.portfolio-card-body {
  padding: 1.375rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.portfolio-category {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--gold-dark));
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-category svg {
  width: 0.6875rem;
  height: 0.6875rem;
}

.portfolio-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  font-size: 0.6875rem;
  font-weight: 500;
}

.portfolio-client-badge svg {
  width: 0.6875rem;
  height: 0.6875rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  line-height: 1.3;
  transition: color 0.2s ease;
}

.portfolio-card:hover .portfolio-title {
  color: hsl(var(--gold-dark));
}

.portfolio-desc {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--primary));
  transition: all 0.2s ease;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.portfolio-link:hover {
  gap: 0.625rem;
  color: hsl(var(--gold-dark));
}

.portfolio-link svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s ease;
}

.portfolio-link:hover svg {
  transform: translate(2px, -2px);
}

/* Portfolio counter */
.portfolio-count {
  text-align: center;
  margin-top: 2.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.portfolio-count strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

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

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-header .section-title {
    font-size: 3rem;
  }
}

@media (max-width: 639px) {
  .portfolio-filters {
    gap: 0.375rem;
    justify-content: flex-start;
  }
  .portfolio-filter {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
  }
  .portfolio-header .section-title {
    font-size: 1.875rem;
  }
  .portfolio-card-body {
    padding: 1.125rem 1.25rem 1.25rem;
  }
}

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: grid;
  gap: 5rem;
  align-items: center;
}

.about-text .section-desc {
  margin-bottom: 2.5rem;
}

.about-features {
  display: grid;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.about-feature span {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.about-stat-card {
  padding: 2rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  text-align: center;
  transition: all 0.3s ease;
}

.about-stat-card:hover {
  box-shadow: var(--shadow-lg);
}

.about-stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.about-stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.about-stat-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.about-stat-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

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

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

/* ========================================
   TECHNOLOGIES
   ======================================== */
.technologies {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.technologies-bg {
  position: absolute;
  inset: 0;
  background: hsl(var(--card) / 0.5);
}

.technologies-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, hsl(var(--border)), transparent);
}

.technologies-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.technologies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: all 0.3s ease;
  cursor: default;
}

.tech-tag:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.technologies-process {
  display: grid;
  gap: 2rem;
  margin-top: 6rem;
}

.tech-process-step {
  text-align: center;
  position: relative;
}

.tech-process-step .step-number {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 700;
  color: hsl(var(--primary) / 0.2);
  margin-bottom: 1rem;
  line-height: 1;
}

.tech-process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.tech-process-step p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.tech-process-line {
  display: none;
}

@media (min-width: 768px) {
  .technologies-process {
    grid-template-columns: repeat(4, 1fr);
  }
  .tech-process-step {
    position: relative;
  }
  .tech-process-line {
    display: block;
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, hsl(var(--primary) / 0.5), transparent);
  }
  .tech-process-step:last-child .tech-process-line {
    display: none;
  }
}

/* ========================================
   PROCESS
   ======================================== */
.process-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 5rem;
}

.process-wrapper {
  position: relative;
}

.process-line {
  display: none;
}

.process-grid {
  display: grid;
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.process-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsl(var(--background));
  border: 2px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.process-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
}

.process-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-gold);
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.process-step p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.7;
}

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

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .process-line {
    display: block;
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;
    height: 1px;
    background: hsl(var(--border));
  }
}

/* ========================================
   CONTACT
   ======================================== */
.contact-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 4rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.contact-info-item .contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.contact-info-item:hover .contact-icon,
a.contact-info-item:hover .contact-icon {
  border-color: hsl(var(--primary) / 0.3);
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.contact-info-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-info-value {
  color: hsl(var(--foreground));
  font-weight: 500;
  transition: color 0.2s ease;
}

a.contact-info-item:hover .contact-info-value {
  color: hsl(var(--primary));
}

/* CTA Card */
.contact-cta-card {
  display: flex;
  align-items: center;
}

.contact-cta-inner {
  width: 100%;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.contact-cta-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-gold);
}

.contact-cta-icon svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--foreground));
}

.contact-cta-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.contact-cta-inner > p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-cta-list {
  margin-bottom: 2rem;
}

.contact-cta-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.contact-cta-list li:last-child {
  margin-bottom: 0;
}

.contact-cta-list .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  flex-shrink: 0;
}

.contact-cta-inner .btn {
  width: 100%;
}

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

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid hsl(var(--border));
  position: relative;
  overflow: hidden;
}

.site-footer .footer-bg {
  position: absolute;
  inset: 0;
  background: hsl(var(--card) / 0.5);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.footer-brand p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  max-width: 28rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-brand img {
  height: 2rem;
  width: auto;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: hsl(var(--foreground));
}

.footer-col ul li {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  position: relative;
  z-index: 10;
}

.footer-bottom p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.3);
}

.footer-social a svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
  }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}
