/* ===================================================================
   ANREX Hub - Ultra-Modern IT Services & Software Stylesheet
   Version: 3.0 (2026 Edition)
   =================================================================== */

:root {
  --primary-navy: #0b1f3a;
  --secondary-navy: #071527;
  --deep-dark: #040c17;
  --accent-green: #1bbd36;
  --accent-green-hover: #159a2b;
  --accent-green-light: #2ae149;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --card-border: rgba(11, 31, 58, 0.08);
  --card-shadow: 0 10px 30px -5px rgba(11, 31, 58, 0.06), 0 4px 6px -2px rgba(11, 31, 58, 0.04);
  --card-hover-shadow: 0 25px 50px -12px rgba(11, 31, 58, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   Top Announcement Bar
   =================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #071527 0%, #0b1f3a 50%, #071527 100%);
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1010;
}

.top-announcement-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.top-announcement-bar a:hover {
  color: var(--accent-green-light);
}

.top-announcement-bar .badge-promo {
  background: rgba(27, 189, 54, 0.2);
  color: var(--accent-green-light);
  border: 1px solid rgba(27, 189, 54, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-announcement-bar .info-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 20px;
}

.top-announcement-bar .info-item i {
  color: var(--accent-green);
}

/* ===================================================================
   Modern Hero Section
   =================================================================== */
.modern-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 15% 20%, rgba(27, 189, 54, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(6, 182, 212, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #050d1a 0%, #0b1f3a 55%, #08172c 100%);
  color: #ffffff;
  padding: 42px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

/* Grid & Particle overlay */
.modern-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

.modern-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #c7f9d0;
  margin-bottom: 24px;
}

.modern-hero .pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(27, 189, 54, 0.7);
  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(27, 189, 54, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(27, 189, 54, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(27, 189, 54, 0);
  }
}

.modern-hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

.modern-hero h1 .gradient-text {
  background: linear-gradient(135deg, #2ae149 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modern-hero .hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 35px;
}

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

.modern-hero .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1bbd36 0%, #159a2b 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(27, 189, 54, 0.35);
  transition: var(--transition);
  border: none;
}

.modern-hero .btn-hero-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #2ae149 0%, #1bbd36 100%);
  box-shadow: 0 16px 36px rgba(27, 189, 54, 0.5);
  color: #ffffff;
}

.modern-hero .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: var(--transition);
}

.modern-hero .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  color: #ffffff;
}

/* Hero Stats Row */
.modern-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.modern-hero .stat-item h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.modern-hero .stat-item h3 span {
  color: var(--accent-green-light);
}

.modern-hero .stat-item p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  font-weight: 500;
}

/* Hero Right: 3D Tech Card & Floaters */
.hero-mockup-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-tech-card {
  background: rgba(15, 30, 55, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  padding: 20px 18px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.hero-tech-card:hover {
  transform: translateY(-5px);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.tech-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(27, 189, 54, 0.15);
  color: #4ade80;
  border: 1px solid rgba(27, 189, 54, 0.3);
}

.code-preview {
  background: rgba(5, 13, 26, 0.85);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: "Fira Code", monospace, "Courier New", Courier;
  font-size: 12.5px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-preview .keyword {
  color: #f43f5e;
  font-weight: 600;
}

.code-preview .function {
  color: #38bdf8;
}

.code-preview .string {
  color: #4ade80;
}

.code-preview .comment {
  color: #64748b;
  font-style: italic;
}

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

.tech-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.tech-metric i {
  font-size: 20px;
  color: var(--accent-green-light);
  margin-bottom: 5px;
  display: block;
}

.tech-metric .metric-val {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.tech-metric .metric-lbl {
  font-size: 11px;
  color: #94a3b8;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(11, 31, 58, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 3;
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-badge.badge-top-right {
  top: -20px;
  right: -25px;
  animation-delay: 0s;
}

.floating-badge.badge-bottom-left {
  bottom: -25px;
  left: -25px;
  animation-delay: 2s;
}

.floating-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.floating-badge .badge-icon.icon-green {
  background: rgba(27, 189, 54, 0.2);
  color: #2ae149;
}

.floating-badge .badge-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: #38bdf8;
}

.floating-badge .badge-text strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

.floating-badge .badge-text span {
  font-size: 11px;
  color: #94a3b8;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ===================================================================
   Tech Stack Marquee Ticker
   =================================================================== */
.tech-marquee-section {
  background: #061120;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.tech-marquee-section .marquee-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 18px;
}

.tech-marquee-track {
  display: flex;
  width: calc(260px * 20);
  animation: techMarqueeScroll 35s linear infinite;
  gap: 24px;
}

.tech-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes techMarqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-260px * 10));
  }
}

.tech-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 10px 22px;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.tech-pill:hover {
  background: rgba(27, 189, 54, 0.15);
  border-color: rgba(27, 189, 54, 0.4);
  color: #ffffff;
}

.tech-pill i {
  font-size: 17px;
  color: var(--accent-green-light);
}

/* ===================================================================
   Modern Section Titles
   =================================================================== */
.modern-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.modern-section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-green);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(27, 189, 54, 0.08);
  border: 1px solid rgba(27, 189, 54, 0.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.modern-section-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.modern-section-header p {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   Why Choose Us (Value Proposition Cards)
   =================================================================== */
.why-choose-us-section {
  padding: 45px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1bbd36, #38bdf8);
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 189, 54, 0.3);
  box-shadow: var(--card-hover-shadow);
}

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

.why-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(27, 189, 54, 0.1);
  color: var(--accent-green);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.why-card:hover .why-icon-box {
  background: var(--accent-green);
  color: #ffffff;
  transform: scale(1.08) rotate(5deg);
}

.why-card h4 {
  font-size: 19px;
  font-weight: 750;
  color: var(--primary-navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ===================================================================
   Modern 4-Step Process Section
   =================================================================== */
.process-section {
  padding: 45px 0;
  background: #081528;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(27, 189, 54, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.process-section .modern-section-header h2 {
  color: #ffffff;
}

.process-section .modern-section-header p {
  color: #94a3b8;
}

.process-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
  height: 100%;
  transition: var(--transition);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(27, 189, 54, 0.4);
  transform: translateY(-8px);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 38px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  font-family: Inter, sans-serif;
  line-height: 1;
}

.process-card:hover .step-number {
  color: rgba(27, 189, 54, 0.25);
}

.process-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(27, 189, 54, 0.2), rgba(6, 182, 212, 0.2));
  color: var(--accent-green-light);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.process-card h4 {
  font-size: 20px;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 12px;
}

.process-card p {
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* ===================================================================
   Ultra-Modern Pricing Section (Requested Specifically!)
   =================================================================== */
.modern-pricing-section {
  padding: 45px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
}

/* Monthly / Yearly Toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 25px;
}

.toggle-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.toggle-label.active {
  color: var(--primary-navy);
  font-weight: 750;
}

/* On/Off Switch Button */
.pricing-switch {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 34px;
  background: #cbd5e1;
  border: none;
  outline: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.pricing-switch:focus-visible {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.pricing-switch .switch-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

/* Active State (ON / Lifetime Deal) */
.pricing-switch.active {
  background: #10b981;
}

.pricing-switch.active .switch-slider {
  transform: translateX(28px);
}

.discount-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  vertical-align: middle;
}

.feature-svg-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Pricing Cards */
.pricing-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.pricing-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-hover-shadow);
}

/* Featured Card Style */
.pricing-card-modern.featured-card {
  border: 2px solid var(--accent-green);
  box-shadow: 0 25px 50px -12px rgba(27, 189, 54, 0.22);
  transform: scale(1.03);
}

.pricing-card-modern.featured-card:hover {
  transform: scale(1.03) translateY(-10px);
  box-shadow: 0 30px 60px -12px rgba(27, 189, 54, 0.3);
}

.popular-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1bbd36 0%, #159a2b 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(27, 189, 54, 0.35);
}

.plan-header {
  margin-bottom: 24px;
}

.plan-header .plan-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.plan-header .plan-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 40px;
}

.price-box {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.price-box .currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  vertical-align: top;
  line-height: 1;
}

.price-box .amount {
  font-size: 46px;
  font-weight: 850;
  color: var(--primary-navy);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-box .period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-box .billing-cycle-note {
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
  margin-top: 6px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.features-list li i {
  color: var(--accent-green);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.features-list li.disabled {
  color: #94a3b8;
  opacity: 0.6;
}

.features-list li.disabled i {
  color: #cbd5e1;
}

.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: var(--primary-navy);
}

.btn-pricing:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.pricing-card-modern.featured-card .btn-pricing {
  background: linear-gradient(135deg, #1bbd36 0%, #159a2b 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(27, 189, 54, 0.3);
}

.pricing-card-modern.featured-card .btn-pricing:hover {
  background: linear-gradient(135deg, #2ae149 0%, #1bbd36 100%);
  box-shadow: 0 12px 28px rgba(27, 189, 54, 0.45);
  transform: translateY(-2px);
}

/* Custom Quote Callout */
.custom-quote-callout {
  background: linear-gradient(135deg, #0b1f3a 0%, #102e52 100%);
  border-radius: var(--radius-xl);
  padding: 35px 45px;
  color: #ffffff;
  margin-top: 60px;
  box-shadow: 0 20px 45px rgba(11, 31, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.custom-quote-callout h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 750;
  margin-bottom: 6px;
}

.custom-quote-callout p {
  color: #cbd5e1;
  margin: 0;
  font-size: 15px;
}

.custom-quote-callout .btn-consult-architect {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: #ffffff;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-weight: 750;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(27, 189, 54, 0.35);
}

.custom-quote-callout .btn-consult-architect:hover {
  background: var(--accent-green-light);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

/* ===================================================================
   Testimonials Modern Section
   =================================================================== */
.modern-testimonials {
  padding: 45px 0;
  background: #ffffff;
}

.testimonial-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  height: 100%;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(27, 189, 54, 0.25);
}

.stars-rating {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.client-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b1f3a, #1bbd36);
  color: #ffffff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.client-meta strong {
  display: block;
  font-size: 15px;
  color: var(--primary-navy);
  font-weight: 750;
}

.client-meta span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ===================================================================
   FAQ Section
   =================================================================== */
.faq-section {
  padding: 45px 0;
  background: #f8fafc;
}

.faq-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-accordion .accordion-button {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  padding: 13px 18px;
  background: #ffffff;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(27, 189, 54, 0.06);
  color: var(--accent-green);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-body {
  padding: 12px 18px 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  background: #ffffff;
}

/* ===================================================================
   High-Impact CTA Banner
   =================================================================== */
.modern-cta-banner {
  padding: 42px 0;
  background: radial-gradient(circle at 10% 30%, rgba(27, 189, 54, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(6, 182, 212, 0.25) 0%, transparent 40%),
    linear-gradient(135deg, #071527 0%, #0b1f3a 50%, #040c17 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.modern-cta-banner h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.modern-cta-banner p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 35px;
  line-height: 1.65;
}

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

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--primary-navy);
  font-weight: 750;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.btn-cta-white:hover {
  background: var(--accent-green-light);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: var(--transition);
}

.btn-cta-phone:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ===================================================================
   Responsive Adjustments
   =================================================================== */
@media (max-width: 991px) {
  .modern-hero {
    padding: 50px 0 70px;
    text-align: center;
  }

  .modern-hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .modern-hero .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
  }

  .hero-mockup-wrapper {
    margin-top: 50px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card-modern.featured-card {
    transform: none;
  }

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

  .custom-quote-callout {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .top-announcement-bar .info-item {
    margin-right: 10px;
  }

  .modern-hero {
    padding: 40px 0 60px;
  }

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

  .floating-badge {
    display: none;
  }

  .custom-quote-callout {
    padding: 26px 20px;
  }
}

/* ===================================================================
   MODERN PORTFOLIO SHOWCASE SECTION (Guaranteed Visible)
   =================================================================== */
.portfolio-section {
  padding: 45px 0;
  background: #ffffff;
  position: relative;
}

.portfolio-section .fade-in,
.section-grid.fade-in,
.section-grid {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

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

.portfolio-modern-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(11, 31, 58, 0.06), 0 4px 6px -2px rgba(11, 31, 58, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.portfolio-modern-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 189, 54, 0.35);
  box-shadow: 0 25px 50px -12px rgba(11, 31, 58, 0.16);
}

.portfolio-card-top {
  padding: 16px 20px 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.portfolio-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.portfolio-icon-badge.icon-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
}

.portfolio-icon-badge.icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.portfolio-icon-badge.icon-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #ffffff;
}

.portfolio-icon-badge.icon-orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.portfolio-meta h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.portfolio-meta .category-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.portfolio-card-body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.portfolio-tech-pills span {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.portfolio-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.portfolio-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.portfolio-view-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.portfolio-view-link:hover {
  color: var(--accent-green);
  gap: 9px;
}

@media (max-width: 991px) {
  .portfolio-modern-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===================================================================
   DEMO LIVE WEBSITES SHOWCASE SECTION (demo.anrexhub.com)
   =================================================================== */
.btn-hero-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.btn-hero-demo:hover {
  background: #1bbd36;
  border-color: #1bbd36;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(27, 189, 54, 0.35);
}

.pulse-live {
  width: 8px;
  height: 8px;
  background: #2ae149;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ae149;
  animation: pulseGreen 1.6s infinite;
}

.live-demos-section {
  padding: 45px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.demo-showcase-box {
  background: linear-gradient(135deg, #0b1f3a 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 30px 26px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(11, 31, 58, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-showcase-box::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(27, 189, 54, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.demo-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulse-dot-orange {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulseOrange 1.6s infinite;
}

@keyframes pulseOrange {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.demo-heading {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.25;
  margin-bottom: 16px;
}

.demo-description {
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
}

.demo-description strong {
  color: #ffffff;
}

.demo-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.demo-features-pills span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-demo-primary {
  background: #1bbd36;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 750;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 25px rgba(27, 189, 54, 0.35);
  transition: all 0.3s ease;
}

.btn-demo-primary:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 189, 54, 0.45);
}

.btn-demo-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #2ae149 !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-demo-whatsapp:hover {
  background: #25d366;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.demo-categories-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.3);
  color: #0b1f3a;
}

.demo-categories-card .card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 14px;
}

.demo-categories-card .card-head h5 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: #0b1f3a;
}

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

.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.25s ease;
}

.cat-item:hover {
  background: #f0fdf4;
  border-color: rgba(27, 189, 54, 0.3);
  transform: translateX(4px);
}

.cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cat-icon.icon-blue {
  background: #e0f2fe;
  color: #0284c7;
}

.cat-icon.icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.cat-icon.icon-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.cat-icon.icon-orange {
  background: #ffedd5;
  color: #ea580c;
}

.cat-icon.icon-teal {
  background: #ccfbf1;
  color: #0d9488;
}

.cat-icon.icon-red {
  background: #fee2e2;
  color: #dc2626;
}

.cat-info {
  flex-grow: 1;
}

.cat-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.2;
}

.cat-info span {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.cat-arrow {
  color: #94a3b8;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cat-item:hover .cat-arrow {
  color: #1bbd36;
  transform: translateX(3px);
}

.card-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.explore-all-link {
  font-size: 12.5px;
  font-weight: 750;
  color: #1bbd36;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.explore-all-link:hover {
  color: #15803d;
  gap: 9px;
}

@media (max-width: 991px) {
  .demo-showcase-box {
    padding: 35px 24px;
  }
}

/* ===================================================================
   Cards Ads Scrolling Section (Promotional Offers Showcase)
   =================================================================== */
.ads-marquee-section {
  padding: 32px 0 36px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.ads-marquee-section::before,
.ads-marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.ads-marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.ads-marquee-section::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.ads-marquee-container {
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
}

.ads-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}

.ads-track-left {
  animation: scrollAdsLeft 70s linear infinite;
}

.ads-track-right {
  animation: scrollAdsRight 45s linear infinite;
}

.ads-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollAdsLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollAdsRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.ad-card-item {
  flex-shrink: 0;
  width: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: block;
  text-decoration: none;
}

.ad-card-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(11, 31, 58, 0.18), 0 0 0 2px #2ae149;
  border-color: #2ae149;
}

.ad-card-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 741 / 397;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ad-card-item:hover img {
  transform: scale(1.04);
}

.ad-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11, 31, 58, 0.88);
  backdrop-filter: blur(8px);
  color: #2ae149;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(42, 225, 73, 0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ad-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 17, 32, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  z-index: 2;
}

.ad-card-item:hover .ad-card-overlay {
  opacity: 1;
}

.ad-card-cta-btn {
  background: #2ae149;
  color: #061120;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(42, 225, 73, 0.4);
}

/* ===================================================================
   COMPREHENSIVE MOBILE-FRIENDLY & RESPONSIVE SUITE
   =================================================================== */

/* Global Mobile Guard */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 991px) {
  .modern-hero {
    padding: 45px 0 65px;
    text-align: center;
  }

  .modern-hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }

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

  .modern-hero .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 25px;
    padding-top: 25px;
  }

  .hero-mockup-wrapper {
    margin-top: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card-modern.featured-card {
    transform: none;
  }

  .pricing-card-modern.featured-card:hover {
    transform: translateY(-8px);
  }

  .custom-quote-callout {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
  }

  .demo-showcase-box {
    padding: 35px 24px;
  }

  .portfolio-modern-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Section Headers */
  .modern-section-header {
    margin-bottom: 35px;
    padding: 0 10px;
  }

  .modern-section-header h2 {
    font-size: clamp(1.65rem, 5.8vw, 2.2rem) !important;
    line-height: 1.25 !important;
  }

  .modern-section-header p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Ads Marquee Section Mobile */
  .ads-marquee-section {
    padding: 24px 0 28px;
  }

  .ad-card-item {
    width: clamp(240px, 68vw, 290px);
    border-radius: 14px;
  }

  .ads-marquee-container {
    padding: 8px 0;
  }

  .ads-marquee-track {
    gap: 16px;
  }

  .ads-marquee-section::before,
  .ads-marquee-section::after {
    width: 30px;
  }

  .ad-card-badge {
    font-size: 9.5px;
    padding: 3px 8px;
    top: 8px;
    right: 8px;
  }

  .ad-card-cta-btn {
    font-size: 11px;
    padding: 5px 10px;
  }

  /* Services Grid */
  .service-item {
    padding: 26px 20px !important;
    border-radius: 16px !important;
  }

  /* Pricing Cards Mobile */
  .modern-pricing-section {
    padding: 32px 0 36px;
  }

  .pricing-card-modern {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .pricing-toggle-wrap {
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .toggle-label {
    font-size: 14px;
  }

  .pricing-switch {
    width: 56px;
    height: 30px;
  }

  .pricing-switch .switch-slider {
    width: 22px;
    height: 22px;
  }

  .pricing-switch.active .switch-slider {
    transform: translateX(26px);
  }

  .discount-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* Demo Live Section */
  .demo-showcase-box {
    padding: 26px 18px;
    border-radius: 20px;
  }

  .demo-heading {
    font-size: 1.6rem !important;
    line-height: 1.25;
  }

  .demo-description {
    font-size: 14px;
    line-height: 1.65;
  }

  .demo-features-pills {
    gap: 8px;
  }

  .demo-features-pills span {
    font-size: 12px;
    padding: 6px 10px;
  }

  .btn-demo-primary,
  .btn-demo-whatsapp {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 18px;
  }

  .demo-categories-card {
    padding: 18px 14px;
    border-radius: 16px;
    margin-top: 15px;
  }

  .cat-item {
    padding: 10px 8px;
  }

  .cat-info strong {
    font-size: 13.5px;
  }

  .cat-info span {
    font-size: 12px;
  }

  /* Portfolio Cards Mobile */
  .portfolio-section {
    padding: 32px 0 36px;
  }

  .portfolio-modern-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .portfolio-meta h3 {
    font-size: 17px;
  }

  .portfolio-desc {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .portfolio-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Testimonials Mobile */
  .modern-testimonials {
    padding: 32px 0 36px;
  }

  .testimonial-card-modern {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .testimonial-quote {
    font-size: 14px;
    line-height: 1.65;
  }

  /* FAQ Mobile */
  .faq-section {
    padding: 32px 0 36px;
  }

  .accordion-button {
    font-size: 14.5px !important;
    padding: 14px 16px !important;
    line-height: 1.45 !important;
  }

  .accordion-body {
    font-size: 13.5px;
    padding: 14px 16px;
    line-height: 1.65;
  }

  /* CTA Banner Mobile */
  .modern-cta-banner {
    padding: 48px 20px;
    border-radius: 20px;
    margin: 0 10px;
  }

  .modern-cta-banner h2 {
    font-size: 1.6rem !important;
    line-height: 1.25;
  }

  .modern-cta-banner p {
    font-size: 14px;
  }

  .cta-actions-wrap {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-cta-white,
  .btn-cta-phone {
    width: 100%;
    justify-content: center;
    font-size: 14.5px;
    padding: 14px 20px;
  }
}

@media (max-width: 575px) {
  /* Extra Small Devices (iPhone SE, Galaxy, compact phones) */
  .modern-hero {
    padding: 35px 0 50px;
  }

  .modern-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
  }

  .hero-badge {
    font-size: 11.5px;
    padding: 5px 12px;
    max-width: 100%;
  }

  .modern-hero .hero-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .modern-hero .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 35px;
  }

  .modern-hero .btn-hero-primary,
  .modern-hero .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    font-size: 14.5px;
    padding: 13px 20px;
  }

  .modern-hero .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    padding-top: 20px;
  }

  .modern-hero .stat-item h3 {
    font-size: 1.55rem;
  }

  .modern-hero .stat-item p {
    font-size: 11.5px;
  }

  /* Right Mockup Terminal Card */
  .hero-tech-card {
    padding: 18px 12px;
    border-radius: 16px;
  }

  .code-preview {
    font-size: 11px;
    padding: 12px 10px;
    line-height: 1.6;
    overflow-x: auto;
    word-break: break-all;
  }

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

  .metric-item {
    padding: 8px 6px;
  }

  .metric-item span {
    font-size: 10.5px;
  }

  .metric-item strong {
    font-size: 12.5px;
  }

  /* Pricing Cards Ultra Mobile */
  .pricing-card-modern {
    padding: 28px 16px;
    border-radius: 18px;
  }

  .price-box .amount {
    font-size: 2.3rem !important;
  }

  .features-list li {
    font-size: 13px;
    gap: 8px;
  }

  .features-list li i {
    font-size: 14px;
    margin-top: 3px;
  }

  .btn-pricing {
    font-size: 14.5px;
    padding: 13px 20px;
  }

  /* Demo live box */
  .demo-showcase-box {
    padding: 20px 14px;
  }

  .demo-features-pills span {
    font-size: 11.5px;
    padding: 4px 8px;
  }

  /* Back to top button */
  .scroll-top {
    width: 40px;
    height: 40px;
    right: 14px;
    bottom: 14px;
  }
}



/* ===================================================================
   Global Compact Container & Whitespace Optimization
   =================================================================== */
.services.section {
  padding: 45px 0 !important;
}

.service-item {
  padding: 30px 22px 60px !important;
}

.plan-header {
  margin-bottom: 14px !important;
}

.price-box {
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
}

.features-list {
  margin-bottom: 20px !important;
}

.features-list li {
  margin-bottom: 8px !important;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
