/*
Theme Name: AK Studio
Theme URI: https://ak-studio.dev
Author: AK Studio
Author URI: https://ak-studio.dev
Description: Professional web development services theme for AK Studio. Features bilingual EN/AR support, modern design, and optimized performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ak-studio
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/**
 * Main CSS - AK Studio Theme (WordPress)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #1E3A5F;
  --secondary: #3B82F6;
  --accent: #F59E0B;
  --bg-dark: #0F172A;
  --bg-mid: #1E293B;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: #334155;
  --whatsapp: #25D366;
  --whatsapp-hover: #1da851;
  --font-en: 'Plus Jakarta Sans', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--bg-mid);
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-mid);
}

html::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

body {
  font-family: var(--font-en);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .hero-description,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .service-desc,
html[dir="rtl"] .step-desc,
html[dir="rtl"] .why-us-desc,
html[dir="rtl"] .faq-answer p,
html[dir="rtl"] .contact-method-value,
html[dir="rtl"] label,
html[dir="rtl"] input,
html[dir="rtl"] textarea {
  text-align: right;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Cursor Styles */
.cursor {
  display: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transition: background 0.2s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transition: all 0.15s ease-out;
  opacity: 0.5;
}

.cursor-text {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  will-change: transform;
}

body.cursor-hover .cursor-outline {
  transform: scale(1.5);
  border-color: var(--accent);
  opacity: 0.7;
}

body.cursor-link .cursor-outline {
  transform: scale(0.5);
  background: var(--secondary);
  border-color: var(--secondary);
}

body.cursor-magnetic .cursor-dot {
  transform: scale(0.5);
  background: var(--accent);
}

body.cursor-code .cursor-text {
  opacity: 1;
}

/* Grain Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grain 12s steps(6) infinite;
  contain: layout style paint;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -4%); }
  20% { transform: translate(-6%, 2%); }
  30% { transform: translate(3%, -10%); }
  40% { transform: translate(-2%, 10%); }
  50% { transform: translate(-6%, 4%); }
  60% { transform: translate(6%, 0%); }
  70% { transform: translate(0%, 6%); }
  80% { transform: translate(1%, 14%); }
  90% { transform: translate(-4%, 4%); }
}

/* Blob Container */
.blob-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  contain: layout style paint;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: blobFloat 25s ease-in-out infinite;
  will-change: transform;
  contain: layout style paint;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--secondary);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  right: -100px;
  animation-delay: -7s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--whatsapp);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(100px, -50px) scale(1.1);
  }
  50% {
    transform: translate(50px, 100px) scale(0.9);
  }
  75% {
    transform: translate(-50px, 50px) scale(1.05);
  }
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  z-index: 10001;
  width: 0%;
  transition: width 0.1s ease;
}

/* Typography */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--secondary);
}

.section-tag::before {
  left: -30px;
}

.section-tag::after {
  right: -30px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: auto;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--secondary);
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.6;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

.magnetic-btn {
  position: relative;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
}

.logo-icon {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.logo-glow {
  position: absolute;
  inset: -10px;
  background: var(--secondary);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.logo:hover .logo-glow {
  opacity: 0.3;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: auto;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
  contain: layout style;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 50%, transparent 100%);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
}

.title-line {
  display: block;
  opacity: 1;
  transform: none;
}

.title-gradient {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  overflow: hidden;
}

.subtitle-line {
  display: inline-block;
  opacity: 1;
  transform: none;
}

.hero-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  opacity: 1;
  transform: none;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  opacity: 1;
  transform: none;
}

.hero-stats {
  display: flex;
  gap: 16px;
  opacity: 1;
  transform: none;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
}

.stat-number {
  font-weight: 700;
  color: var(--text-primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Code Window */
.code-window {
  width: 100%;
  max-width: 380px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  opacity: 1;
  transform: none;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid var(--border);
}

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

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-title {
  font-family: var(--font-code);
  font-size: 12px;
  color: var(--text-muted);
}

.code-body {
  padding: 20px;
  font-family: var(--font-code);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

.code-keyword { color: #c792ea; }
.code-variable { color: #82aaff; }
.code-function { color: #82aaff; }
.code-param { color: #f78c6c; }
.code-property { color: #f07178; }
.code-string { color: #c3e88d; }
.code-boolean { color: #ff5370; }
.code-comment { color: #546e7a; }

/* Floating Elements */
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.float-card-1 {
  top: 10%;
  right: -20px;
  animation: float1 6s ease-in-out infinite;
}

.float-card-2 {
  bottom: 30%;
  left: -30px;
  animation: float2 7s ease-in-out infinite;
}

.float-card-3 {
  bottom: 10%;
  right: 10%;
  animation: float3 5s ease-in-out infinite;
}

.float-icon {
  font-size: 18px;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -15px) rotate(5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-15px, 10px) rotate(-5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, 10px) rotate(3deg); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  z-index: 10;
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--secondary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* Services Section */
.services {
  padding: 100px 0;
  background: rgba(30, 41, 59, 0.3);
  position: relative;
  contain: layout style;
}

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

.service-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--secondary);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  position: relative;
}

.steps-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary), var(--accent));
  opacity: 0.3;
}

.step-card {
  position: relative;
  padding-left: 80px;
  margin-bottom: 40px;
}

.step-card:last-child {
  margin-bottom: 0;
}

.step-connector {
  position: absolute;
  left: 20px;
  top: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-dot {
  width: 14px;
  height: 14px;
  background: var(--secondary);
  border-radius: 50%;
  position: relative;
}

.step-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  opacity: 0.3;
}

.step-content {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.step-card:hover .step-content {
  border-color: var(--secondary);
  transform: translateX(10px);
}

html[dir="rtl"] .step-card {
  padding-left: 0;
  padding-right: 80px;
}

html[dir="rtl"] .timeline-line {
  left: auto;
  right: 30px;
}

html[dir="rtl"] .step-connector {
  left: auto;
  right: 20px;
}

html[dir="rtl"] .step-card:hover .step-content {
  transform: translateX(-10px);
}

html[dir="rtl"] .step-number {
  text-align: left;
}

html[dir="rtl"] .service-number {
  right: auto;
  left: 20px;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: rgba(30, 41, 59, 0.3);
  position: relative;
}

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

.pricing-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.card-border {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.5) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-card:hover .card-border {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  padding: 8px 24px;
  border-radius: 0 0 12px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.pricing-tier {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.pricing-features li.feature-primary {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom-color: rgba(59, 130, 246, 0.3);
}

.pricing-features li:hover {
  color: var(--text-primary);
  padding-left: 8px;
}

html[dir="rtl"] .pricing-features li:hover {
  padding-left: 0;
  padding-right: 8px;
}

.pricing-features li::before {
  content: 'âœ“';
  color: var(--whatsapp);
  font-weight: 700;
  font-size: 14px;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(51, 65, 85, 0.3);
}

.pricing-meta span {
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.9;
}

/* Pricing Trust Bar */
.pricing-trust {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trust-icon {
  font-size: 18px;
}

/* Why Us Section */
.why-us {
  padding: 100px 0;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.why-us-text .section-tag,
.why-us-text .section-title {
  text-align: left;
}

html[dir="rtl"] .why-us-text .section-tag,
html[dir="rtl"] .why-us-text .section-title {
  text-align: right;
}

.why-us-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--secondary);
  background: rgba(59, 130, 246, 0.1);
}

.feature-check {
  width: 28px;
  height: 28px;
  background: rgba(37, 211, 102, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-check svg {
  width: 16px;
  height: 16px;
  color: var(--whatsapp);
}

.why-us-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Tech Stack */
.tech-stack {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.tech-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tech-item:hover {
  border-color: var(--secondary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.tech-icon {
  font-size: 18px;
}

.why-us-stats {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.stats-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.stat-item {
  text-align: center;
  padding: 16px;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: rgba(30, 41, 59, 0.3);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(30, 41, 59, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
  background: none;
  border: none;
  cursor: auto;
  text-align: left;
  font-family: inherit;
  transition: all 0.3s ease;
}

html[dir="rtl"] .faq-question {
  text-align: right;
}

.faq-question span {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question span {
  color: var(--secondary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 16px 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

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

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-method:hover {
  border-color: var(--secondary);
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .contact-method:hover {
  transform: translateX(-10px);
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-method:hover .contact-method-icon {
  transform: scale(1.1);
}

.contact-method-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp);
}

.contact-method-icon.phone {
  background: rgba(59, 130, 246, 0.15);
  color: var(--secondary);
}

.contact-method-icon svg {
  width: 28px;
  height: 28px;
}

.contact-method-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-method-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-method-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-arrow {
  font-size: 20px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.contact-method:hover .contact-arrow {
  color: var(--secondary);
  transform: translateX(5px);
}

html[dir="rtl"] .contact-method:hover .contact-arrow {
  transform: translateX(-5px);
}

.contact-form {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: rgba(30, 41, 59, 0.3);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo .logo-glow {
  display: none;
}

.footer-logo .logo-icon {
  height: 64px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-social {
  width: 48px;
  height: 48px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25), 0 0 40px rgba(37, 211, 102, 0.1);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3), 0 0 50px rgba(37, 211, 102, 0.15);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: white;
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: whatsappPulse 2s ease-out infinite;
  opacity: 0.6;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    display: none;
  }

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

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

  .float-card {
    display: none;
  }

  .hero-badge {
    margin: 0 auto 24px;
  }

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

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

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }

  .why-us-content {
    grid-template-columns: 1fr;
  }

  .why-us-text .section-tag,
  .why-us-text .section-title {
    text-align: center;
  }

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

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

@media (max-width: 768px) {
  .cursor {
    display: none;
  }

  body {
    cursor: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

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

  .btn-nav {
    display: none;
  }

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

  .steps-timeline {
    padding-left: 0;
  }

  .timeline-line {
    left: 15px;
  }

  .step-card {
    padding-left: 50px;
  }

  .step-connector {
    left: 5px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .hero-stats {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-pill {
    width: 100%;
    justify-content: center;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-suffix {
    font-size: 20px;
  }

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.scramble-text {
  position: relative;
  display: inline-block;
}

.scramble-number {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor { display: none; }
}

/* Language Toggle Styles */
.language-toggle-container {
  display: inline-flex;
  align-items: center;
}

.lang-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
  user-select: none;
  opacity: 0.7;
}

.lang-label.active {
  color: var(--text-secondary);
  opacity: 1;
}

.lang-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 100px;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.lang-toggle-switch:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.lang-toggle-switch.active {
  background: var(--secondary);
  border-color: var(--secondary);
}

.lang-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.lang-toggle-switch.active .lang-toggle-knob {
  transform: translateX(22px);
  background: white;
}

html[dir="rtl"] .lang-toggle-knob {
  left: auto;
  right: 3px;
}

html[dir="rtl"] .lang-toggle-switch.active .lang-toggle-knob {
  transform: translateX(-22px);
}

.lang-toggle-switch:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.lang-toggle-switch:focus:not(:focus-visible) {
  box-shadow: none;
}

.lang-toggle-switch:focus-visible {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* WordPress Admin Bar Fix */
body.admin-bar .navbar {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}

/* WordPress Entry Content Styles */
.entry-content p {
  margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--text-primary);
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.entry-content a {
  color: var(--secondary);
  text-decoration: underline;
}

.entry-content a:hover {
  color: var(--accent);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  color: var(--text-secondary);
}

.entry-content li {
  margin-bottom: 0.5em;
}

/* CF7 Form Styles */
.wpcf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: inherit;
  background: var(--whatsapp);
  color: white;
  width: 100%;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.wpcf7-response-output {
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 14px;
}

.wpcf7-mail-sent-ok {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--whatsapp);
}

.wpcf7-validation-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Language Toggle for WordPress */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switcher .pll-parent-menu-item {
  position: relative;
}

.language-switcher .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 120px;
  z-index: 1000;
}

.language-switcher .pll-parent-menu-item:hover .sub-menu {
  display: block;
}

.language-switcher .sub-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s ease;
}

.language-switcher .sub-menu a:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

/* Polylang Current Language Highlight */
.pll-current-language a {
  color: var(--secondary) !important;
  font-weight: 600;
}

