/*
Theme Name: WebStudio Theme
Theme URI: https://www.webstudio.pk
Author: Malik Safdar Abbas Rid
Author URI: https://www.webstudio.pk
Description: A premium WordPress theme for IT companies. Features a custom theme builder, DDoS security layer, responsive navigation, portfolio gallery, services section, and a sleek modern design optimized for performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webstudio-theme
Tags: technology, portfolio, services, responsive, custom-colors, custom-typography, theme-options, full-site-editing
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Theme Builder Variables)
   ============================================================ */
:root {
  --ws-primary: #0A84FF;
  --ws-primary-dark: #0060CC;
  --ws-primary-light: #4DAAFF;
  --ws-accent: #00D4AA;
  --ws-accent-dark: #00A884;
  --ws-dark: #080D1A;
  --ws-dark-2: #0F1629;
  --ws-dark-3: #1A2340;
  --ws-mid: #2E3D60;
  --ws-muted: #6B7CA8;
  --ws-light: #B8C4E0;
  --ws-lighter: #E8EDF8;
  --ws-white: #FFFFFF;
  --ws-border: #1E293B;
  --ws-grad-primary: linear-gradient(135deg, #0A84FF 0%, #0060CC 100%);
  --ws-grad-accent: linear-gradient(135deg, #0A84FF 0%, #00D4AA 100%);
  --ws-grad-hero: linear-gradient(135deg, #080D1A 0%, #0F2147 50%, #0A1A3A 100%);
  --ws-grad-card: linear-gradient(145deg, #0F1629 0%, #1A2340 100%);
  --ws-grad-glass: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  --ws-font-display: 'Syne', 'Inter', sans-serif;
  --ws-heading-weight: 700;
  --ws-heading-spacing: -0.02em;
  --ws-font-body: 'Inter', 'Segoe UI', sans-serif;
  --ws-line-height: 1.7;
  --ws-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ws-text-xs: 0.75rem;
  --ws-text-sm: 0.875rem;
  --ws-text-base: 1rem;
  --ws-text-lg: 1.125rem;
  --ws-text-xl: 1.25rem;
  --ws-text-2xl: 1.5rem;
  --ws-text-3xl: 1.875rem;
  --ws-text-4xl: 2.25rem;
  --ws-text-5xl: 3rem;
  --ws-text-6xl: 3.75rem;
  --ws-text-7xl: 4.5rem;
  --ws-space-xs: 0.5rem;
  --ws-space-sm: 1rem;
  --ws-space-md: 1.5rem;
  --ws-space-lg: 2rem;
  --ws-space-xl: 3rem;
  --ws-space-2xl: 5rem;
  --ws-space-3xl: 8rem;
  --ws-radius-sm: 6px;
  --ws-radius-md: 12px;
  --ws-radius-lg: 20px;
  --ws-radius-xl: 32px;
  --ws-radius-full: 9999px;
  --ws-shadow-sm: 0 2px 8px rgba(10,132,255,0.1);
  --ws-shadow-md: 0 8px 32px rgba(10,132,255,0.15);
  --ws-shadow-lg: 0 20px 60px rgba(10,132,255,0.2);
  --ws-shadow-glow: 0 0 40px rgba(10,132,255,0.3);
  --ws-shadow-accent: 0 0 40px rgba(0,212,170,0.3);
  --ws-transition-fast: 0.15s ease;
  --ws-transition-base: 0.3s ease;
  --ws-transition-slow: 0.6s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ws-font-body); background-color: var(--ws-dark); color: var(--ws-light); line-height: var(--ws-line-height); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ws-primary); text-decoration: none; transition: color var(--ws-transition-fast); }
a:hover { color: var(--ws-primary-light); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--ws-font-display); color: var(--ws-white); line-height: 1.2; font-weight: var(--ws-heading-weight); letter-spacing: var(--ws-heading-spacing); }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: var(--ws-text-xl); }
p { margin-bottom: 1em; color: var(--ws-light); }
p:last-child { margin-bottom: 0; }

.ws-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ws-font-mono); font-size: var(--ws-text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ws-accent); margin-bottom: 1.25rem; }
.ws-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--ws-accent); border-radius: 2px; }

.ws-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3rem); }
.ws-section { padding-block: clamp(4rem, 8vw, 8rem); }
.ws-section-header { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ws-section-header.centered { margin-inline: auto; text-align: center; }
.ws-section-header h2 { margin-bottom: 1rem; }
.ws-section-header p { font-size: var(--ws-text-lg); color: var(--ws-muted); line-height: 1.8; }

.ws-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 2rem; font-family: var(--ws-font-body); font-size: var(--ws-text-sm); font-weight: 600; letter-spacing: 0.03em; border-radius: var(--ws-radius-full); border: 2px solid transparent; cursor: pointer; transition: all var(--ws-transition-base); text-decoration: none; white-space: nowrap; }
.ws-btn-primary { background: var(--ws-grad-primary); color: var(--ws-white); box-shadow: var(--ws-shadow-md); }
.ws-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--ws-shadow-lg); color: var(--ws-white); }
.ws-btn-outline { background: transparent; color: var(--ws-white); border-color: rgba(255,255,255,0.25); backdrop-filter: blur(8px); }
.ws-btn-outline:hover { border-color: var(--ws-primary); color: var(--ws-primary-light); background: rgba(10,132,255,0.08); transform: translateY(-2px); }
.ws-btn-accent { background: linear-gradient(135deg, var(--ws-accent) 0%, var(--ws-accent-dark) 100%); color: var(--ws-dark); font-weight: 700; }
.ws-btn-accent:hover { transform: translateY(-2px); box-shadow: var(--ws-shadow-accent); color: var(--ws-dark); }
.ws-btn-lg { padding: 1rem 2.5rem; font-size: var(--ws-text-base); }

.ws-navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: all var(--ws-transition-base); }
.ws-navbar.scrolled { background: rgba(8,13,26,0.92); backdrop-filter: blur(20px) saturate(1.8); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0.6rem 0; }
.ws-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.ws-navbar__logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--ws-font-display); font-size: var(--ws-text-xl); font-weight: 800; color: var(--ws-white); text-decoration: none; letter-spacing: -0.03em; flex-shrink: 0; }
.ws-navbar__logo-icon { width: 40px; height: 40px; background: var(--ws-grad-accent); border-radius: var(--ws-radius-md); display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--ws-shadow-sm); }
.ws-navbar__logo span { color: var(--ws-primary-light); }
.ws-navbar__menu { display: flex; align-items: center; gap: 0.25rem; }
.ws-navbar__menu a { padding: 0.5rem 1rem; font-size: var(--ws-text-sm); font-weight: 500; color: var(--ws-light); border-radius: var(--ws-radius-full); transition: all var(--ws-transition-fast); text-decoration: none; }
.ws-navbar__menu a:hover, .ws-navbar__menu a.active { color: var(--ws-white); background: rgba(10,132,255,0.12); }
.ws-navbar__item { position: relative; }
.ws-navbar__item:hover .ws-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.ws-dropdown { position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%) translateY(-8px); min-width: 220px; background: var(--ws-dark-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--ws-radius-md); padding: 0.5rem; opacity: 0; visibility: hidden; transition: all var(--ws-transition-fast); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.ws-dropdown a { display: block; padding: 0.6rem 1rem; border-radius: var(--ws-radius-sm); font-size: var(--ws-text-sm); color: var(--ws-light) !important; }
.ws-dropdown a:hover { background: rgba(10,132,255,0.1) !important; color: var(--ws-white) !important; }
.ws-navbar__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.ws-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; background: none; border: none; }
.ws-hamburger span { display: block; width: 24px; height: 2px; background: var(--ws-white); border-radius: 2px; transition: all var(--ws-transition-base); }
.ws-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ws-hamburger.active span:nth-child(2) { opacity: 0; }
.ws-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ws-mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8,13,26,0.98); backdrop-filter: blur(24px); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.ws-mobile-nav.open { display: flex; }
.ws-mobile-nav a { font-family: var(--ws-font-display); font-size: var(--ws-text-3xl); font-weight: 700; color: var(--ws-white); text-decoration: none; }
.ws-mobile-nav a:hover { color: var(--ws-primary-light); }
.ws-mobile-nav-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--ws-white); font-size: 2rem; cursor: pointer; }

.ws-hero { min-height: 100vh; display: flex; align-items: center; background: var(--ws-grad-hero); position: relative; overflow: hidden; padding-top: 6rem; }
.ws-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(10,132,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10,132,255,0.06) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
.ws-hero__glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(10,132,255,0.15) 0%, transparent 70%); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.ws-hero__glow-2 { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%); border-radius: 50%; top: 20%; right: 10%; pointer-events: none; }
.ws-hero__content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding-block: 4rem; }
.ws-hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 1rem; background: rgba(10,132,255,0.12); border: 1px solid rgba(10,132,255,0.3); border-radius: var(--ws-radius-full); font-size: var(--ws-text-xs); font-family: var(--ws-font-mono); letter-spacing: 0.1em; color: var(--ws-primary-light); margin-bottom: 1.5rem; }
.ws-hero__badge-dot { width: 6px; height: 6px; background: var(--ws-accent); border-radius: 50%; animation: pulse 2s infinite; }
.ws-hero__title { font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 1.5rem; }
.ws-hero__title .highlight { background: var(--ws-grad-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ws-hero__desc { font-size: var(--ws-text-lg); color: var(--ws-muted); line-height: 1.8; margin-bottom: 2.5rem; max-width: 520px; }
.ws-hero__cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.ws-hero__stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.ws-hero__stat-num { font-family: var(--ws-font-display); font-size: var(--ws-text-3xl); font-weight: 800; color: var(--ws-white); letter-spacing: -0.04em; line-height: 1; }
.ws-hero__stat-num span { color: var(--ws-accent); }
.ws-hero__stat-label { font-size: var(--ws-text-xs); color: var(--ws-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.25rem; }
.ws-hero__mockup { background: var(--ws-dark-3); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--ws-radius-xl); overflow: hidden; box-shadow: var(--ws-shadow-lg), 0 0 0 1px rgba(255,255,255,0.04); }
.ws-hero__mockup-header { background: var(--ws-dark-2); padding: 0.875rem 1.25rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ws-hero__dot { width: 10px; height: 10px; border-radius: 50%; }
.ws-hero__dot:nth-child(1) { background: #FF5F57; }
.ws-hero__dot:nth-child(2) { background: #FEBC2E; }
.ws-hero__dot:nth-child(3) { background: #28C840; }
.ws-hero__mockup-bar { flex: 1; background: rgba(255,255,255,0.05); border-radius: var(--ws-radius-full); height: 22px; margin-inline: 1rem; }
.ws-hero__mockup-body { padding: 1.5rem; min-height: 280px; background: linear-gradient(180deg, var(--ws-dark-3) 0%, var(--ws-dark-2) 100%); }
.ws-hero__code-line { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; font-family: var(--ws-font-mono); font-size: var(--ws-text-xs); }
.ws-hero__code-line .ln { color: var(--ws-mid); width: 1.5rem; text-align: right; }
.ws-hero__code-line .kw { color: #FF79C6; }
.ws-hero__code-line .fn { color: var(--ws-primary-light); }
.ws-hero__code-line .st { color: var(--ws-accent); }
.ws-hero__code-line .cm { color: var(--ws-mid); }
.ws-hero__code-line .nm { color: #F1FA8C; }
.ws-hero__floating { position: absolute; background: var(--ws-dark-2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--ws-radius-md); padding: 0.75rem 1rem; backdrop-filter: blur(12px); animation: float 4s ease-in-out infinite; }
.ws-hero__floating-1 { top: -1rem; right: -1.5rem; animation-delay: 0s; }
.ws-hero__floating-2 { bottom: 2rem; left: -2rem; animation-delay: 2s; }
.ws-hero__floating-label { font-size: var(--ws-text-xs); color: var(--ws-muted); margin-bottom: 0.25rem; }
.ws-hero__floating-value { font-family: var(--ws-font-display); font-size: var(--ws-text-lg); font-weight: 700; color: var(--ws-white); }
.ws-hero__floating-value.green { color: var(--ws-accent); }
.ws-hero__visual { position: relative; }

.ws-services { background: var(--ws-dark-2); position: relative; }
.ws-services::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(10,132,255,0.4), transparent); }
.ws-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ws-service-card { padding: 2rem; background: var(--ws-dark-3); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--ws-radius-lg); transition: all var(--ws-transition-base); position: relative; overflow: hidden; }
.ws-service-card:hover { border-color: rgba(10,132,255,0.35); transform: translateY(-6px); box-shadow: var(--ws-shadow-md); }
.ws-service-card:hover .ws-service-card__icon { background: var(--ws-grad-accent); box-shadow: var(--ws-shadow-glow); }
.ws-service-card__icon { width: 56px; height: 56px; background: rgba(10,132,255,0.12); border: 1px solid rgba(10,132,255,0.2); border-radius: var(--ws-radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; transition: all var(--ws-transition-base); }
.ws-service-card__title { font-size: var(--ws-text-xl); font-weight: 700; color: var(--ws-white); margin-bottom: 0.75rem; }
.ws-service-card__desc { font-size: var(--ws-text-sm); color: var(--ws-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.ws-service-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ws-service-card__tag { padding: 0.2rem 0.65rem; background: rgba(10,132,255,0.1); border: 1px solid rgba(10,132,255,0.15); border-radius: var(--ws-radius-full); font-size: 0.7rem; font-family: var(--ws-font-mono); color: var(--ws-primary-light); letter-spacing: 0.05em; }

.ws-portfolio { background: var(--ws-dark); }
.ws-portfolio__filters { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.ws-portfolio__filter { padding: 0.45rem 1.25rem; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--ws-radius-full); font-size: var(--ws-text-sm); font-weight: 500; color: var(--ws-muted); cursor: pointer; transition: all var(--ws-transition-fast); background: none; }
.ws-portfolio__filter.active, .ws-portfolio__filter:hover { background: var(--ws-primary); border-color: var(--ws-primary); color: var(--ws-white); }
.ws-portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 1.25rem; }
.ws-portfolio__item { border-radius: var(--ws-radius-lg); overflow: hidden; position: relative; cursor: pointer; background: var(--ws-dark-3); }
.ws-portfolio__item.featured { grid-column: span 2; }
.ws-portfolio__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ws-transition-slow); }
.ws-portfolio__item:hover img { transform: scale(1.08); }
.ws-portfolio__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: var(--ws-grad-card); }
.ws-portfolio__placeholder-icon { font-size: 3rem; opacity: 0.4; }
.ws-portfolio__placeholder span { font-size: var(--ws-text-sm); color: var(--ws-muted); }
.ws-portfolio__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,13,26,0.92) 0%, rgba(8,13,26,0.3) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: opacity var(--ws-transition-base); }
.ws-portfolio__item:hover .ws-portfolio__overlay { opacity: 1; }
.ws-portfolio__overlay-cat { font-size: var(--ws-text-xs); color: var(--ws-accent); font-family: var(--ws-font-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.ws-portfolio__overlay-title { font-size: var(--ws-text-xl); font-weight: 700; color: var(--ws-white); }

.ws-process { background: var(--ws-dark-2); }
.ws-process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.ws-process__step { text-align: center; padding-top: 1rem; }
.ws-process__step-num { width: 64px; height: 64px; background: var(--ws-dark-3); border: 2px solid rgba(10,132,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ws-font-display); font-size: var(--ws-text-xl); font-weight: 800; color: var(--ws-primary-light); margin: 0 auto 1.5rem; position: relative; z-index: 1; transition: all var(--ws-transition-base); }
.ws-process__step:hover .ws-process__step-num { background: var(--ws-primary); border-color: var(--ws-primary); color: var(--ws-white); box-shadow: var(--ws-shadow-glow); }
.ws-process__step h4 { font-size: var(--ws-text-lg); margin-bottom: 0.75rem; }
.ws-process__step p { font-size: var(--ws-text-sm); color: var(--ws-muted); }

.ws-tech { background: var(--ws-dark); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.ws-tech__track { overflow: hidden; padding-block: 1.5rem; }
.ws-tech__inner { display: flex; gap: 3rem; animation: marquee 25s linear infinite; width: max-content; }
.ws-tech__item { display: flex; align-items: center; gap: 0.6rem; font-family: var(--ws-font-mono); font-size: var(--ws-text-sm); color: var(--ws-muted); white-space: nowrap; font-weight: 500; }
.ws-tech__item span { font-size: 1.25rem; }

.ws-security { background: var(--ws-dark-2); position: relative; overflow: hidden; }
.ws-security__blob { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%); top: -100px; right: -100px; border-radius: 50%; pointer-events: none; }
.ws-security__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.ws-security__features { display: flex; flex-direction: column; gap: 1.5rem; }
.ws-security__feature { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--ws-radius-md); transition: all var(--ws-transition-base); border: 1px solid transparent; }
.ws-security__feature:hover { background: rgba(0,212,170,0.04); border-color: rgba(0,212,170,0.15); }
.ws-security__feature-icon { width: 44px; height: 44px; background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.2); border-radius: var(--ws-radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.ws-security__feature h4 { font-size: var(--ws-text-base); margin-bottom: 0.35rem; }
.ws-security__feature p { font-size: var(--ws-text-sm); color: var(--ws-muted); }
.ws-security__shield { position: relative; display: flex; align-items: center; justify-content: center; }
.ws-security__shield-main { width: 220px; height: 260px; background: linear-gradient(180deg, rgba(0,212,170,0.15) 0%, rgba(10,132,255,0.1) 100%); border: 2px solid rgba(0,212,170,0.3); border-radius: 50% 50% 40% 40%; display: flex; align-items: center; justify-content: center; font-size: 5rem; position: relative; box-shadow: 0 0 60px rgba(0,212,170,0.2), inset 0 0 60px rgba(0,212,170,0.05); animation: shieldPulse 3s ease-in-out infinite; }
.ws-security__shield-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0,212,170,0.15); animation: ringPulse 3s ease-in-out infinite; }
.ws-security__shield-ring:nth-child(1) { width: 300px; height: 300px; animation-delay: 0.5s; }
.ws-security__shield-ring:nth-child(2) { width: 380px; height: 380px; animation-delay: 1s; }
.ws-security__shield-ring:nth-child(3) { width: 460px; height: 460px; animation-delay: 1.5s; }

.ws-testimonials { background: var(--ws-dark); }
.ws-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ws-testimonial { padding: 2rem; background: var(--ws-dark-2); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--ws-radius-lg); transition: all var(--ws-transition-base); }
.ws-testimonial:hover { border-color: rgba(10,132,255,0.25); transform: translateY(-4px); }
.ws-testimonial__stars { color: #F59E0B; margin-bottom: 1rem; letter-spacing: 0.1em; }
.ws-testimonial__text { font-size: var(--ws-text-base); color: var(--ws-light); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.ws-testimonial__author { display: flex; align-items: center; gap: 0.875rem; }
.ws-testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ws-grad-primary); display: flex; align-items: center; justify-content: center; font-family: var(--ws-font-display); font-weight: 700; color: var(--ws-white); font-size: var(--ws-text-sm); flex-shrink: 0; }
.ws-testimonial__name { font-weight: 600; color: var(--ws-white); font-size: var(--ws-text-sm); }
.ws-testimonial__role { font-size: var(--ws-text-xs); color: var(--ws-muted); }

.ws-cta { background: var(--ws-dark-2); }
.ws-cta__inner { background: linear-gradient(135deg, rgba(10,132,255,0.12) 0%, rgba(0,212,170,0.08) 100%); border: 1px solid rgba(10,132,255,0.2); border-radius: var(--ws-radius-xl); padding: clamp(3rem, 6vw, 5rem); text-align: center; position: relative; overflow: hidden; }
.ws-cta h2 { margin-bottom: 1rem; }
.ws-cta p { font-size: var(--ws-text-lg); color: var(--ws-muted); margin-bottom: 2.5rem; max-width: 560px; margin-inline: auto; }
.ws-cta__buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.ws-contact { background: var(--ws-dark); }
.ws-contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.ws-contact__info { display: flex; flex-direction: column; gap: 1.5rem; }
.ws-contact__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--ws-dark-2); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--ws-radius-md); transition: border-color var(--ws-transition-fast); }
.ws-contact__item:hover { border-color: rgba(10,132,255,0.25); }
.ws-contact__item-icon { width: 42px; height: 42px; background: rgba(10,132,255,0.1); border-radius: var(--ws-radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ws-contact__item-label { font-size: var(--ws-text-xs); color: var(--ws-muted); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.ws-contact__item-value { font-size: var(--ws-text-sm); color: var(--ws-light); font-weight: 500; }
.ws-form { display: flex; flex-direction: column; gap: 1.25rem; }
.ws-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ws-form__group { display: flex; flex-direction: column; gap: 0.5rem; }
.ws-form__label { font-size: var(--ws-text-sm); font-weight: 500; color: var(--ws-light); }
.ws-form__input, .ws-form__textarea, .ws-form__select { padding: 0.875rem 1.125rem; background: var(--ws-dark-2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--ws-radius-md); color: var(--ws-white); font-family: var(--ws-font-body); font-size: var(--ws-text-sm); transition: all var(--ws-transition-fast); outline: none; }
.ws-form__input:focus, .ws-form__textarea:focus, .ws-form__select:focus { border-color: var(--ws-primary); box-shadow: 0 0 0 3px rgba(10,132,255,0.12); }
.ws-form__input::placeholder, .ws-form__textarea::placeholder { color: var(--ws-mid); }
.ws-form__textarea { resize: vertical; min-height: 140px; }
.ws-form__select { appearance: none; cursor: pointer; }

.ws-footer { background: var(--ws-dark-2); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 4rem; }
.ws-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ws-footer__brand p { font-size: var(--ws-text-sm); color: var(--ws-muted); line-height: 1.8; margin-top: 1rem; margin-bottom: 1.5rem; max-width: 300px; }
.ws-footer__social { display: flex; gap: 0.75rem; }
.ws-footer__social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--ws-radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--ws-muted); text-decoration: none; transition: all var(--ws-transition-fast); }
.ws-footer__social-link:hover { background: rgba(10,132,255,0.15); border-color: rgba(10,132,255,0.3); color: var(--ws-primary-light); }
.ws-footer__col h5 { font-size: var(--ws-text-sm); font-weight: 700; color: var(--ws-white); margin-bottom: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase; }
.ws-footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.ws-footer__links a { font-size: var(--ws-text-sm); color: var(--ws-muted); text-decoration: none; transition: color var(--ws-transition-fast); }
.ws-footer__links a:hover { color: var(--ws-primary-light); }
.ws-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.ws-footer__bottom p { font-size: var(--ws-text-xs); color: var(--ws-mid); margin: 0; }
.ws-footer__bottom a { color: var(--ws-primary-light); }

.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.skip-link { position: absolute; left: -999em; top: 1em; z-index: 9999; }
.skip-link:focus { left: 1em; background: var(--ws-primary); color: var(--ws-white); padding: 0.5rem 1rem; border-radius: var(--ws-radius-sm); }
.admin-bar .ws-navbar { top: 32px; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shieldPulse { 0%, 100% { box-shadow: 0 0 60px rgba(0,212,170,0.2), inset 0 0 60px rgba(0,212,170,0.05); } 50% { box-shadow: 0 0 100px rgba(0,212,170,0.35), inset 0 0 80px rgba(0,212,170,0.1); } }
@keyframes ringPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.03); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .ws-services__grid, .ws-portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .ws-portfolio__item.featured { grid-column: span 1; }
  .ws-process__steps { grid-template-columns: repeat(2, 1fr); }
  .ws-footer__grid { grid-template-columns: 1fr 1fr; }
  .ws-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ws-navbar__menu, .ws-navbar__actions .ws-btn { display: none; }
  .ws-hamburger { display: flex; }
  .ws-hero__content { grid-template-columns: 1fr; text-align: center; }
  .ws-hero__desc, .ws-hero__cta, .ws-hero__stats { margin-inline: auto; }
  .ws-hero__cta { justify-content: center; }
  .ws-hero__stats { justify-content: center; }
  .ws-hero__visual { display: none; }
  .ws-services__grid { grid-template-columns: 1fr; }
  .ws-portfolio__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .ws-security__grid { grid-template-columns: 1fr; }
  .ws-security__shield { display: none; }
  .ws-contact__grid { grid-template-columns: 1fr; gap: 2rem; }
  .ws-form__row { grid-template-columns: 1fr; }
  .ws-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .ws-footer__bottom { flex-direction: column; text-align: center; }
  .ws-process__steps { grid-template-columns: 1fr; }
  .ws-testimonials__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ws-portfolio__grid { grid-template-columns: 1fr; }
  .ws-hero__stats { flex-direction: column; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ============================================
   BLOG GRID (index / archive / search)
   ============================================ */
.ws-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ws-blog-card { padding: 0; overflow: hidden; }

.ws-blog-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.ws-blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.ws-blog-title {
  font-family: var(--ws-font-display);
  font-size: var(--ws-text-xl);
  font-weight: 700;
  line-height: var(--ws-leading-snug);
  margin: 12px 0;
}

.ws-blog-title a { transition: color var(--ws-transition); }
.ws-blog-title a:hover { color: var(--ws-secondary); }

.ws-blog-excerpt {
  font-size: var(--ws-text-sm);
  color: var(--ws-text-secondary);
  line-height: var(--ws-leading-normal);
  margin-bottom: 20px;
}

.ws-btn-sm { padding: 8px 18px; font-size: var(--ws-text-sm); }

/* Post navigation */
.ws-page-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2em 0;
  font-size: var(--ws-text-sm);
}

.ws-page-links .page-numbers {
  padding: 6px 12px;
  background: var(--ws-bg-surface);
  border: 1px solid var(--ws-border);
  border-radius: 6px;
  color: var(--ws-text-secondary);
}

.ws-page-links .page-numbers.current {
  background: var(--ws-primary);
  border-color: var(--ws-primary);
  color: #fff;
}

/* Posts pagination */
.nav-links { display: flex; gap: 16px; margin-top: 48px; }
.nav-previous a, .nav-next a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--ws-bg-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  font-size: var(--ws-text-sm);
  font-weight: 500;
  color: var(--ws-text-secondary);
  transition: all var(--ws-transition);
}
.nav-previous a:hover, .nav-next a:hover {
  border-color: var(--ws-primary);
  color: var(--ws-primary);
}

/* Comments */
.comments-area {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ws-border);
}

.comments-title {
  font-family: var(--ws-font-display);
  font-size: var(--ws-text-2xl);
  font-weight: 700;
  margin-bottom: 32px;
}

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

.comment {
  padding: 24px;
  background: var(--ws-bg-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius-lg);
  margin-bottom: 16px;
}

.comment .children {
  margin-top: 16px;
  padding-left: 24px;
  list-style: none;
}

.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 600; font-size: var(--ws-text-sm); }
.comment-meta { font-size: var(--ws-text-xs); color: var(--ws-text-muted); margin-top: 2px; }
.comment-content p { font-size: var(--ws-text-sm); color: var(--ws-text-secondary); line-height: var(--ws-leading-normal); }
.reply { margin-top: 12px; }
.reply a { font-size: var(--ws-text-xs); color: var(--ws-secondary); }

.comment-respond {
  margin-top: 40px;
  padding: 32px;
  background: var(--ws-bg-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius-lg);
}

.comment-reply-title {
  font-family: var(--ws-font-display);
  font-size: var(--ws-text-xl);
  font-weight: 700;
  margin-bottom: 24px;
}

.comment-form label {
  display: block;
  font-size: var(--ws-text-sm);
  color: var(--ws-text-secondary);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--ws-bg-surface);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  color: var(--ws-text-primary);
  font-family: var(--ws-font-body);
  font-size: var(--ws-text-base);
  margin-bottom: 16px;
  transition: border-color var(--ws-transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--ws-primary);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
}

.comment-form textarea { min-height: 120px; resize: vertical; }

.comment-form input[type="submit"] {
  padding: 14px 32px;
  background: var(--ws-gradient);
  color: #fff;
  border: none;
  border-radius: var(--ws-radius);
  font-family: var(--ws-font-display);
  font-size: var(--ws-text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ws-transition);
}

.comment-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,102,255,0.4); }

@media (max-width: 1024px) { .ws-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ws-blog-grid { grid-template-columns: 1fr; } }
