/* ==========================================================================
   ORBITEX STUDIO - ULTRA-MODERN GLASSMORPHISM DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-dark: #07090E;
  --bg-card: rgba(20, 26, 38, 0.65);
  --bg-card-hover: rgba(28, 36, 52, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(78, 236, 213, 0.5);
  
  --primary-cyan: #4EECD5;
  --primary-cyan-glow: rgba(78, 236, 213, 0.35);
  --accent-orange: #FF7A00;
  --accent-orange-glow: rgba(255, 122, 0, 0.4);
  --accent-purple: #8B5CF6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-rose: #FF2E63;
  --accent-green: #00F59B;
  --accent-amber: #FFB300;

  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  /* Typography */
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-ar);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* When in LTR mode */
html[dir="ltr"] body {
  font-family: var(--font-en);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   AMBIENT GLOW BACKGROUND
   ========================================================================== */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  transition: transform 0.5s ease;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(78, 236, 213, 0.35), transparent 70%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  top: 40%;
  left: -200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
}

.orb-3 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.22), transparent 70%);
}

.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 236, 213, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   GLASSMORPHISM CORE COMPONENTS
   ========================================================================== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.glass-card {
  background: rgba(26, 32, 48, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-cyan) 50%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Common Headers */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary-cyan);
  background: rgba(78, 236, 213, 0.1);
  border: 1px solid rgba(78, 236, 213, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 48px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #22D3EE 100%);
  color: #061118;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px var(--primary-cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78, 236, 213, 0.6);
  background: linear-gradient(135deg, #64ffea 0%, #38bdf8 100%);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   STICKY GLASS NAVBAR
   ========================================================================== */
.glass-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 11, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
  transition: var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--accent-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080B11;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px var(--primary-cyan-glow);
}

.logo-text span {
  color: var(--primary-cyan);
  font-weight: 300;
  margin-inline-start: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  transition: width 0.3s ease;
}

html[dir="ltr"] .nav-link::after {
  right: auto;
  left: 0;
}

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

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

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.menu-toggle-btn {
  display: none;
  font-size: 1.3rem;
  color: var(--text-main);
  padding: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(78, 236, 213, 0.08);
  border: 1px solid rgba(78, 236, 213, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-cyan);
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
  color: #FFFFFF;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  font-family: var(--font-en);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--glass-border);
}

/* Showcase Card & Floating Badges */
.hero-showcase {
  position: relative;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 14px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(20, 26, 38, 0.7), rgba(12, 16, 24, 0.85));
}

.showcase-img-wrap {
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.hero-img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.showcase-card:hover .hero-img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite;
}

.badge-1 {
  top: -24px;
  left: -20px;
}

.badge-2 {
  bottom: -24px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.15);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.badge-icon.icon-cyan {
  background: rgba(78, 236, 213, 0.15);
  color: var(--primary-cyan);
}

.badge-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
}

.badge-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-en);
}

/* ==========================================================================
   BRANDS MARQUEE
   ========================================================================== */
.brands-section {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
}

.brands-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 20px;
}

.brands-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.brand-item:hover {
  opacity: 1;
  color: var(--primary-cyan);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

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

.service-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 22px;
  border: 1px solid var(--glass-border);
}

.cyan-glow { background: rgba(78, 236, 213, 0.12); color: var(--primary-cyan); border-color: rgba(78, 236, 213, 0.3); }
.orange-glow { background: rgba(255, 122, 0, 0.12); color: var(--accent-orange); border-color: rgba(255, 122, 0, 0.3); }
.purple-glow { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); border-color: rgba(139, 92, 246, 0.3); }
.green-glow { background: rgba(0, 245, 155, 0.12); color: var(--accent-green); border-color: rgba(0, 245, 155, 0.3); }
.rose-glow { background: rgba(255, 46, 99, 0.12); color: var(--accent-rose); border-color: rgba(255, 46, 99, 0.3); }
.amber-glow { background: rgba(255, 179, 0, 0.12); color: var(--accent-amber); border-color: rgba(255, 179, 0, 0.3); }

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-en);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* ==========================================================================
   PORTFOLIO / CASE STUDIES
   ========================================================================== */
.portfolio-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #0ea5e9 100%);
  color: #061118;
  border-color: transparent;
  box-shadow: 0 4px 18px var(--primary-cyan-glow);
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-image-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image-wrap img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(8, 11, 17, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--primary-cyan);
}

html[dir="ltr"] .project-category-badge {
  right: auto;
  left: 14px;
}

.project-info {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(78, 236, 213, 0.08);
  border: 1px solid rgba(78, 236, 213, 0.2);
  border-radius: var(--radius-sm);
  color: var(--primary-cyan);
  font-family: var(--font-en);
}

/* ==========================================================================
   INTERACTIVE ESTIMATOR
   ========================================================================== */
.estimator-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.estimator-wrapper {
  padding: 56px 44px;
  border-radius: var(--radius-xl);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.estimator-group {
  margin-bottom: 30px;
}

.group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

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

.opt-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
  transition: var(--transition-fast);
}

html[dir="ltr"] .opt-btn {
  text-align: left;
}

.opt-btn i {
  font-size: 1.2rem;
  color: var(--primary-cyan);
}

.opt-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.opt-btn.active {
  background: rgba(78, 236, 213, 0.12);
  border-color: var(--primary-cyan);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(78, 236, 213, 0.25);
}

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

.check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.check-card input {
  display: none;
}

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #061118;
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.check-card input:checked + .check-box {
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px var(--primary-cyan-glow);
}

.check-card input:not(:checked) + .check-box i {
  display: none;
}

.check-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.check-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.check-card:has(input:checked) {
  border-color: rgba(78, 236, 213, 0.4);
  background: rgba(78, 236, 213, 0.06);
}

.check-card:has(input:checked) .check-text {
  color: #FFFFFF;
}

.radio-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.radio-card input {
  display: none;
}

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-card:has(input:checked) {
  border-color: var(--accent-orange);
  background: rgba(255, 122, 0, 0.08);
  color: #FFFFFF;
}

.radio-card:has(input:checked) .radio-dot {
  border-color: var(--accent-orange);
}

.radio-card:has(input:checked) .radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
}

/* Estimator Result Box */
.estimator-result {
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(78, 236, 213, 0.35);
  background: linear-gradient(160deg, rgba(26, 34, 50, 0.8), rgba(12, 16, 24, 0.95));
  position: sticky;
  top: 90px;
}

.result-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.3);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 18px;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary-cyan);
  line-height: 1.1;
  font-family: var(--font-en);
  margin: 6px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-shadow: 0 0 25px rgba(78, 236, 213, 0.4);
}

.price-amount .currency {
  font-size: 2rem;
  color: #FFFFFF;
}

.price-amount .approx {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 400;
}

.result-timeline-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  margin-bottom: 24px;
}

.timeline-icon {
  font-size: 1.6rem;
  color: var(--accent-orange);
}

.timeline-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.timeline-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.result-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-features li i {
  color: var(--primary-cyan);
  font-size: 0.9rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

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

.testimonial-card {
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.highlight-card {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15);
}

.stars {
  color: #FBBF24;
  font-size: 0.95rem;
  margin-bottom: 18px;
  display: flex;
  gap: 4px;
}

.quote {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--glass-border);
  padding-top: 18px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-orange));
  color: #080B11;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.avatar-purple { background: linear-gradient(135deg, var(--accent-purple), var(--accent-rose)); color: #FFFFFF; }
.avatar-cyan { background: linear-gradient(135deg, #06b6d4, #10b981); color: #080B11; }

.client-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.client-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   PRICING / PACKAGES
   ========================================================================== */
.pricing-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

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

.pricing-card {
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  position: relative;
}

.popular-tier {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 35px rgba(78, 236, 213, 0.2);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #0ea5e9 100%);
  color: #061118;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px var(--primary-cyan-glow);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 22px;
  min-height: 42px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  font-family: var(--font-en);
}

.plan-price .currency {
  font-size: 1.8rem;
  color: #FFFFFF;
  font-weight: 700;
}

.plan-price .val {
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.plan-price .period {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  color: var(--primary-cyan);
  font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.contact-wrapper {
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  border-radius: var(--radius-xl);
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 18px 0 32px;
}

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

.c-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(78, 236, 213, 0.1);
  border: 1px solid rgba(78, 236, 213, 0.3);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.c-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.c-link, .c-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: var(--transition-fast);
}

.c-link:hover {
  color: var(--primary-cyan);
}

/* Contact Form */
.contact-form {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 22px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(8, 11, 17, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(78, 236, 213, 0.25);
}

.form-group option {
  background: #0D121D;
  color: #FFFFFF;
}

.form-alert {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  display: none;
  text-align: center;
}

.form-alert.success {
  display: block;
  background: rgba(0, 245, 155, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.glass-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  padding: 60px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr 0.8fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-bio {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

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

.f-col h4, .footer-social h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.f-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.f-col a:hover {
  color: var(--primary-cyan);
  transform: translateX(-4px);
}

html[dir="ltr"] .f-col a:hover {
  transform: translateX(4px);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.s-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.s-icon:hover {
  background: var(--primary-cyan);
  color: #080B11;
  border-color: var(--primary-cyan);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--primary-cyan-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-cta-group {
    justify-content: center;
  }

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

  .showcase-card {
    max-width: 650px;
    margin: 0 auto;
  }

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

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

  .estimator-result {
    position: static;
  }

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

  .popular-tier {
    transform: none;
  }

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

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(8, 11, 17, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.35s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

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

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

  .options-grid, .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    position: static;
    margin-top: 14px;
    animation: none;
  }

  .badge-1, .badge-2 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .estimator-wrapper {
    padding: 30px 18px;
  }

  .contact-wrapper {
    padding: 30px 18px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Very Small Mobiles (max-width: 480px) */
@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .price-amount {
    font-size: 2.6rem;
  }
}
