/*
Theme Name: Fota Pro
Theme URI: https://fotapro.pl
Author: Wiesław Kamiński
Author URI: https://fotapro.pl
Description: Nowoczesny motyw dla Fota Pro – usługi AI Photo & Video realizowane w 100% zdalnie.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: fota-pro
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --purple:       #7c3aed;
  --pink:         #ec4899;
  --gradient:     linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --dark:         #0f0a1e;
  --bg-light:     #f8f7ff;
  --white:        #ffffff;
  --text:         #1e1b2e;
  --text-muted:   #6b7280;
  --border:       rgba(124, 58, 237, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --nav-height:   72px;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(124, 58, 237, 0.10);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pink);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

p {
  line-height: 1.7;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.28s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline-dark:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  transition: color 0.3s ease;
}

.site-header.scrolled .site-logo .logo-text {
  color: var(--text);
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.current-menu-item {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav-menu a {
  color: var(--text);
}

.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a.current-menu-item {
  color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
}

.nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
  transition: all 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.site-header.scrolled .nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .hamburger:hover {
  background: rgba(124, 58, 237, 0.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.site-header.scrolled .hamburger span {
  background: var(--dark);
}

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

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

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

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  right: -320px;
  top: 0;
  width: 300px;
  height: 100vh;
  background: var(--dark);
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.mobile-menu nav a {
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active,
.mobile-menu nav a.current-menu-item {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-cta {
  margin-top: auto;
}

.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
}

.mobile-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.mobile-social a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  transition: color 0.2s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.hero-bg-orb-1 {
  width: 700px;
  height: 700px;
  background: rgba(124, 58, 237, 0.28);
  top: -30%;
  right: -15%;
}

.hero-bg-orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(236, 72, 153, 0.18);
  bottom: -20%;
  left: -10%;
}

.hero-bg-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.15);
  top: 20%;
  left: 30%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  padding: 40px 0 60px;
}

.hero-text-col {
  padding-top: 20px;
}

.hero-visual-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
}

.hero-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #ec4899;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.hero-cta-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ============================================================
   HERO AI VISUAL
   ============================================================ */
.hero-ai-visual {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

.hero-ai-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  position: absolute;
  transition: transform 6s ease-in-out;
  backdrop-filter: blur(10px);
}

.hero-ai-card-main {
  width: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

.hero-ai-card-main .ai-icon {
  font-size: 52px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.7));
  display: block;
}

.hero-ai-card-main h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.hero-ai-card-main p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.5;
}

.ai-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}

.ai-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  animation: progress-fill 3s ease-in-out infinite alternate;
}

@keyframes progress-fill {
  from { width: 20%; }
  to   { width: 90%; }
}

.hero-ai-card-sm {
  width: 150px;
  padding: 16px;
  z-index: 2;
}

.hero-ai-card-sm-1 {
  top: 8%;
  right: 0;
  animation: float1 5s ease-in-out infinite;
}

.hero-ai-card-sm-2 {
  bottom: 12%;
  left: -10px;
  animation: float2 6s ease-in-out infinite;
}

.hero-ai-card-sm .sm-icon {
  font-size: 26px;
  margin-bottom: 8px;
  display: block;
}

.hero-ai-card-sm p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.hero-ai-card-sm span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works {
  background: var(--white);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 56px;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
  z-index: 0;
  opacity: 0.3;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.step-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(124, 58, 237, 0.25);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.service-ai-tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-price {
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: block;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-link:hover {
  color: var(--pink);
  gap: 10px;
}

/* ============================================================
   ABOUT SECTION (HOME PREVIEW)
   ============================================================ */
.about-home {
  background: var(--white);
}

.about-home .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-home-img {
  position: relative;
}

.about-home-img-inner {
  background: var(--gradient);
  border-radius: 20px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.about-floating-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
  min-width: 100px;
}

.abn {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.2;
}

.abt {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

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

/* ============================================================
   PORTFOLIO PREVIEW GRID
   ============================================================ */
.portfolio-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 40px;
}

.portfolio-preview-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-preview-inner {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient);
}

.pp-icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.pp-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.p-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-preview-item:hover .p-overlay {
  opacity: 1;
}

.p-overlay h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.p-overlay span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  display: block;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(236, 72, 153, 0.15);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-band-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   BLOG GRID
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.blog-card-thumb {
  height: 180px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cat-pill {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.blog-card-meta span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.blog-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
}

.blog-card-body h3 a {
  color: var(--text);
  transition: color 0.2s ease;
}

.blog-card-body h3 a:hover {
  color: var(--purple);
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap 0.2s ease, color 0.2s ease;
}

.read-more:hover {
  color: var(--pink);
  gap: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 72px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .site-logo .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.footer-col h4 {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-anim].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-anim-delay="1"] { transition-delay: 0.1s; }
[data-anim-delay="2"] { transition-delay: 0.2s; }
[data-anim-delay="3"] { transition-delay: 0.3s; }
[data-anim-delay="4"] { transition-delay: 0.4s; }
[data-anim-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--white);
}

.ci-text h5 {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text);
}

.ci-text p,
.ci-text a {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ci-text a:hover {
  color: var(--purple);
}

.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #f9f8ff;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: var(--white);
}

.input-error {
  border-color: #dc2626 !important;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group .error-msg {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
}

.form-submit {
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.25);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4);
}

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

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

/* ============================================================
   PAGE HEROES (INNER PAGES)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(236, 72, 153, 0.15);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.page-hero .badge {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   SERVICES PAGE STYLES
   ============================================================ */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-page-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.spc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.spc-icon-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.spc-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.spc-icon-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.spc-price-badge {
  background: var(--gradient);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-page-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.spc-includes {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.spc-includes li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spc-includes li:last-child {
  border-bottom: none;
}

.spc-includes li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   PORTFOLIO PAGE STYLES
   ============================================================ */
.portfolio-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--purple);
}

.filter-btn.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

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

.portfolio-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item-inner {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
}

.portfolio-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 30, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.portfolio-overlay span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.about-photo-col {
  position: relative;
}

.about-photo-placeholder {
  background: var(--gradient);
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  overflow: hidden;
}

.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tools-box {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
}

.tools-box h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-family: var(--font-heading);
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
}

.about-text-col .badge {
  margin-bottom: 16px;
}

.about-text-col h2 {
  margin-bottom: 20px;
}

.about-text-col p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.value-item h5 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.info-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.05));
  border-radius: 12px;
  padding: 20px 24px;
  border-left: 3px solid var(--purple);
  margin: 24px 0;
}

.info-box p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SINGLE POST STYLES
   ============================================================ */
.single-post-hero {
  padding: calc(var(--nav-height) + 48px) 0 56px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.single-post-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.single-post-hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.single-post-hero .cat-pill {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  display: inline-block;
}

.single-post-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-thumbnail {
  max-width: 800px;
  margin: 0 auto 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.post-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 48px 0 20px;
  color: var(--text);
}

.post-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text);
}

.post-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.post-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.post-body a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body ul,
.post-body ol {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  border-left: 4px solid var(--purple);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(124, 58, 237, 0.05);
  border-radius: 0 10px 10px 0;
}

.post-body blockquote p {
  color: var(--text);
  font-style: italic;
  font-size: 1.05rem;
  margin: 0;
}

.post-body code {
  background: var(--bg-light);
  color: var(--purple);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'Courier New', monospace;
}

.post-body pre {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 28px 0;
}

.post-body pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.post-body img {
  border-radius: 12px;
  margin: 28px 0;
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.92rem;
}

.post-body th {
  background: var(--bg-light);
  color: var(--text);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.post-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-tags a {
  background: var(--bg-light);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.post-tags a:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  border-color: rgba(124, 58, 237, 0.2);
}

.post-author-box {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 28px;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.post-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  overflow: hidden;
}

.post-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-author-info h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}

.post-author-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.post-nav-link {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: block;
}

.post-nav-link:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.post-nav-link.next {
  text-align: right;
}

.post-nav-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.post-nav-title {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.related-posts {
  background: var(--bg-light);
  padding: 60px 0;
}

.related-posts .section-title {
  margin-bottom: 36px;
}

/* Comments */
.comments-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.comments-section h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

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

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  overflow: hidden;
}

.comment-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.comment-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) 24px 60px;
  position: relative;
  overflow: hidden;
}

.page-404::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.page-404-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.page-404-number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.page-404-inner h2 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-404-inner p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.page-404-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* --- 1100px ------------------------------------------------ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about-home .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-home-img {
    max-width: 380px;
    margin: 0 auto;
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual-col {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badge-line {
    justify-content: center;
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row::before {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }
}

/* --- 768px ------------------------------------------------- */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-link.next {
    text-align: left;
  }

  .form-card {
    padding: 28px 20px;
  }

  .section {
    padding: 60px 0;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* --- 480px ------------------------------------------------- */
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-preview-grid {
    grid-template-columns: 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 13px 26px;
    font-size: 0.93rem;
  }

  .btn-lg {
    padding: 15px 30px;
  }

  .hero-badge-line {
    font-size: 0.7rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .page-404-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .footer-bottom {
    gap: 8px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   WORDPRESS BLOCK EDITOR & ALIGNMENT CLASSES
   ============================================================ */
.wp-block-image {
  margin: 28px 0;
}

.wp-block-image img {
  border-radius: var(--radius);
  height: auto;
}

.wp-block-image figcaption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 10px;
  font-style: italic;
}

.alignleft {
  float: left;
  margin: 0 28px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 28px;
}

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

.alignfull {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
}

.alignwide {
  margin-left: -40px;
  margin-right: -40px;
}

@media (max-width: 768px) {
  .alignwide {
    margin-left: 0;
    margin-right: 0;
  }

  .alignleft,
  .alignright {
    float: none;
    margin: 16px 0;
  }
}

/* WordPress block styles */
.wp-block-quote {
  border-left: 4px solid var(--purple);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(124, 58, 237, 0.05);
  border-radius: 0 10px 10px 0;
}

.wp-block-quote p {
  color: var(--text);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.wp-block-quote cite {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.wp-block-pullquote {
  border: none;
  text-align: center;
  padding: 40px 24px;
  margin: 40px 0;
  background: var(--bg-light);
  border-radius: 14px;
}

.wp-block-pullquote blockquote {
  border: none;
  padding: 0;
  background: none;
}

.wp-block-pullquote p {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.wp-block-separator {
  border: none;
  border-top: 2px solid var(--border);
  margin: 40px 0;
}

.wp-block-separator.is-style-wide {
  border-top-width: 1px;
}

.wp-block-separator.is-style-dots::before {
  content: '···';
  color: var(--text-muted);
  letter-spacing: 8px;
  font-size: 1.2rem;
  display: block;
  text-align: center;
}

.wp-block-code {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  overflow-x: auto;
  margin: 28px 0;
}

.wp-block-table {
  overflow-x: auto;
  margin: 28px 0;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th {
  background: var(--bg-light);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}

.wp-block-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background: var(--bg-light);
}

.wp-block-columns {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.wp-block-column {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 600px) {
  .wp-block-columns {
    flex-direction: column;
  }
}

.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--gradient);
  color: var(--white);
  border: none;
  transition: all 0.28s ease;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.25);
}

.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.38);
  color: var(--white);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
  box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--purple);
  color: var(--white);
}

.wp-block-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.wp-block-cover {
  border-radius: 14px;
  overflow: hidden;
  margin: 28px 0;
}

.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 32px 0;
}

.wp-block-media-text.has-media-on-the-right {
  grid-template-columns: 1fr 1fr;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
  order: 1;
}

@media (max-width: 600px) {
  .wp-block-media-text {
    grid-template-columns: 1fr;
  }
}

/* WordPress pagination */
.wp-block-query-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 0 24px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--white);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.page-numbers.dots {
  border: none;
  background: none;
  color: var(--text-muted);
}

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--bg-light);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
  clip: auto !important;
  clip-path: none;
  color: var(--text);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--purple);
  color: var(--white);
  padding: 8px 16px;
  z-index: 99999;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* WordPress gallery block */
.wp-block-gallery {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.wp-block-gallery.columns-2 { grid-template-columns: repeat(2, 1fr); }
.wp-block-gallery.columns-3 { grid-template-columns: repeat(3, 1fr); }
.wp-block-gallery.columns-4 { grid-template-columns: repeat(4, 1fr); }

.wp-block-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}

.wp-block-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wp-block-gallery figure:hover img {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .wp-block-gallery.columns-3,
  .wp-block-gallery.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* WordPress widget styles */
.widget {
  margin-bottom: 32px;
}

.widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-family: var(--font-heading);
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.widget ul li a:hover {
  color: var(--purple);
}

/* Sidebar layout */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

@media (max-width: 900px) {
  .content-sidebar-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

/* WooCommerce-like price display */
.price {
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Notification / cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-bar.visible {
  transform: translateY(0);
}

.cookie-bar a {
  color: rgba(124, 58, 237, 0.9);
}

.cookie-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .hamburger,
  .mobile-menu,
  .hero-visual-col,
  .cta-band,
  .blog-grid,
  .portfolio-preview-grid {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .post-body {
    max-width: 100%;
    padding: 0;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  p, blockquote {
    page-break-inside: avoid;
  }
}
