/* ==========================================================================
   NextChaat - Component Styles
   ========================================================================== */

/* Top Notice Bar */
.top-notice-bar {
  background: linear-gradient(90deg, #0c1017 0%, rgba(138, 43, 226, 0.25) 50%, #0c1017 100%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
  z-index: 60;
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-notice-text {
  color: #e2e8f0;
  font-weight: 500;
}

.top-notice-link {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-fast);
}

.top-notice-link:hover {
  opacity: 0.8;
}

/* Navbar & Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.96);
  border-bottom-color: var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-emblem-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(81, 112, 255, 0.6);
  box-shadow: 0 0 15px rgba(81, 112, 255, 0.4);
  background: #000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-founder-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8fa6ff;
  text-transform: uppercase;
}

.brand-agency-type {
  font-size: 0.62rem;
  color: #a3a3a3;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.brand-main-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-dot {
  color: #5170ff;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 1;
  white-space: nowrap;
}

.mobile-nav-header,
.mobile-nav-footer {
  display: none;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0.2rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.special-highlight {
  color: var(--accent-cyan);
  background: rgba(81, 112, 255, 0.08);
  border: 1px solid rgba(81, 112, 255, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.nav-link.special-highlight:hover {
  background: rgba(81, 112, 255, 0.16);
  box-shadow: 0 0 15px rgba(81, 112, 255, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  z-index: 100;
}

.lang-dropdown.show {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
  background: rgba(81, 112, 255, 0.1);
  color: var(--accent-cyan);
}

.nav-cta-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile & Tablet Drawer (< 992px) */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    background: #080c16;
    border-left: 1px solid var(--border-light);
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    z-index: 10002;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  [dir="rtl"] .nav-links {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid var(--border-light);
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.85);
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  }

  [dir="rtl"] .nav-links.mobile-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 0.5rem;
  }

  .mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
  }

  .mobile-nav-footer {
    display: block;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
  }

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

  .nav-cta-btn {
    display: none;
  }
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  width: 550px;
  max-width: 80vw;
  height: 550px;
  max-height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81, 112, 255, 0.16) 0%, rgba(37, 60, 184, 0.06) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-glow-2 {
  bottom: 0;
  right: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(81, 112, 255, 0.08);
  border: 1px solid rgba(81, 112, 255, 0.3);
  color: #8fa6ff;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 0 25px rgba(81, 112, 255, 0.15);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: rgba(14, 20, 32, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-lg);
}

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

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Tech Marquee / Stack Ticker */
.ticker-section {
  padding: 2.25rem 0;
  background: rgba(8, 11, 17, 0.85);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.ticker-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: tickerSlide 28s linear infinite;
  width: max-content;
}

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0.75;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.ticker-item:hover {
  opacity: 1;
  color: var(--accent-cyan);
}

.ticker-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--accent-cyan);
}

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

/* Services Grid */
.service-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(81, 112, 255, 0.1);
  border: 1px solid rgba(81, 112, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(4deg);
}

.service-card.purple .service-icon-wrap {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.service-card.green .service-icon-wrap {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.feature-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Featured Master Services Video */
.section-featured-video {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 65%);
}

.featured-video-theater {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(81, 112, 255, 0.35);
  box-shadow: 0 0 35px rgba(81, 112, 255, 0.2);
  background: rgba(12, 16, 23, 0.88);
  backdrop-filter: blur(20px);
}

.featured-video-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (max-width: 992px) {
  .featured-video-grid {
    grid-template-columns: 1fr;
  }
}

.featured-player-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020408;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-light);
}

.featured-player-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  background: rgba(7, 9, 14, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.825rem;
  font-weight: 700;
  color: #fff;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  margin-right: 0.4rem;
  animation: pulseGlow 1.5s infinite;
}

[dir="rtl"] .live-dot {
  margin-right: 0;
  margin-left: 0.4rem;
}

.hd-badge {
  background: rgba(81, 112, 255, 0.2);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.featured-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  outline: none;
  border-radius: var(--radius-lg);
}

.featured-video-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.presenter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  width: fit-content;
}

.presenter-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(81, 112, 255, 0.4);
}

.presenter-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.presenter-role {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.featured-sidebar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.featured-points-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.featured-point-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.featured-point-item strong {
  color: #ffffff;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.featured-point-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.point-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.featured-cta-box {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.featured-direct-phone {
  text-align: center;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* AI Video Showcase */
.showcase-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--accent-cyan);
  color: #07090e;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(81, 112, 255, 0.4);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(81, 112, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.video-preview-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14; /* Ideal for Reels, TikTok & Modern Vertical Commercials */
  background: #020408;
  overflow: hidden;
  cursor: pointer;
}

.video-preview-wrapper.aspect-video {
  aspect-ratio: 16 / 9;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-element {
  transform: scale(1.04);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  transition: background var(--transition-fast);
}

.video-preview-wrapper:hover .video-overlay {
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.05) 0%, rgba(7, 9, 14, 0.75) 100%);
}

.video-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.video-badge-tag {
  background: rgba(81, 112, 255, 0.15);
  border: 1px solid rgba(81, 112, 255, 0.35);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.video-badge-tag.ai {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
}

.video-play-center {
  align-self: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(81, 112, 255, 0.85);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 30px rgba(81, 112, 255, 0.6);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.video-preview-wrapper:hover .video-play-center {
  transform: scale(1.15);
  background: #ffffff;
}

.video-bottom-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.video-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.video-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.video-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-action-btn:hover {
  background: rgba(81, 112, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Theater Video Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.video-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.video-modal-container {
  width: 100%;
  max-width: 900px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.video-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.video-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.video-modal-close:hover {
  color: #ffffff;
}

.video-modal-player-box {
  width: 100%;
  max-height: 70vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-video-element {
  max-width: 100%;
  max-height: 70vh;
  outline: none;
}

.video-modal-footer {
  padding: 1.25rem 1.75rem;
  background: rgba(14, 20, 32, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Interactive Project Estimator */
.estimator-box {
  background: rgba(14, 20, 32, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.estimator-step-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.estimator-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.estimator-option-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.estimator-option-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.estimator-option-card.selected {
  background: rgba(81, 112, 255, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(81, 112, 255, 0.2);
}

.estimator-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.estimator-option-card.selected .estimator-radio-circle {
  border-color: var(--accent-cyan);
}

.estimator-option-card.selected .estimator-radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.estimator-option-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Blueprint Output Card */
.blueprint-card {
  background: linear-gradient(135deg, rgba(81, 112, 255, 0.08) 0%, rgba(138, 43, 226, 0.08) 100%);
  border: 1px solid rgba(81, 112, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.blueprint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.blueprint-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.blueprint-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.blueprint-meta-label {
  color: var(--text-muted);
}

.blueprint-meta-val {
  color: var(--accent-cyan);
  font-weight: 700;
}

.blueprint-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* 4-Step Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

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

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.process-step-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(81, 112, 255, 0.15);
}

.process-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.03) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About Mohamed Jammoun Section */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
}

.about-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(7, 9, 14, 0.95) 100%);
}

.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-photo-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: rgba(14, 20, 32, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
}

.about-photo-tag-name {
  font-weight: 800;
  color: #ffffff;
  font-size: 1.1rem;
}

.about-photo-tag-role {
  font-size: 0.825rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.about-content-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-highlight-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .about-highlight-list {
    grid-template-columns: 1fr;
  }
}

.about-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.about-highlight-icon {
  color: var(--accent-cyan);
}

/* Proof & Testimonials Cards */
.proof-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-quote {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.proof-author-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.proof-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-cyan-blue);
  color: #07090e;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.proof-author-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

.proof-author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(81, 112, 255, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.4rem 1.75rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* Contact & Consultation Section */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: rgba(14, 20, 32, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(81, 112, 255, 0.25);
  background: rgba(20, 29, 46, 0.8);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-status-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-status-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status-alert.error {
  display: block;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
}

/* Sidebar Contact Cards */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wa-direct-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(14, 20, 32, 0.85) 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.wa-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wa-icon-large {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.wa-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.wa-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* Floating WhatsApp Button (Anchored on bottom-left for zero overlap with Caroline AI on bottom-right) */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: auto;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

.floating-wa-icon {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.75rem;
    border-radius: 50%;
    bottom: 1.25rem;
    left: 1.25rem;
    right: auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  }
}

/* Footer */
.site-footer {
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   AI Consultation Chatbot Terminal Styles
   ========================================================================== */
.ai-bot-container {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(81, 112, 255, 0.35);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(81, 112, 255, 0.15);
  overflow: hidden;
  background: rgba(10, 15, 24, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
}

.ai-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: rgba(14, 20, 32, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ai-bot-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ai-bot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.ai-bot-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.ai-bot-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 600;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.ai-bot-engine-tag {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  background: rgba(81, 112, 255, 0.08);
  border: 1px solid rgba(81, 112, 255, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.ai-bot-messages {
  height: 380px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
  background: rgba(6, 9, 15, 0.6);
}

.ai-msg {
  display: flex;
  max-width: 82%;
}

.ai-msg-bot {
  align-self: flex-start;
}

[dir="rtl"] .ai-msg-bot {
  align-self: flex-start;
}

.ai-msg-user {
  align-self: flex-end;
}

[dir="rtl"] .ai-msg-user {
  align-self: flex-end;
}

.ai-msg-bubble {
  padding: 0.95rem 1.25rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ai-msg-bot .ai-msg-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #f1f5f9;
  border-top-left-radius: 4px;
}

[dir="rtl"] .ai-msg-bot .ai-msg-bubble {
  border-top-left-radius: 16px;
  border-top-right-radius: 4px;
}

.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, rgba(81, 112, 255, 0.2), rgba(79, 172, 254, 0.2));
  border: 1px solid rgba(81, 112, 255, 0.4);
  color: #ffffff;
  border-top-right-radius: 4px;
}

[dir="rtl"] .ai-msg-user .ai-msg-bubble {
  border-top-right-radius: 16px;
  border-top-left-radius: 4px;
}

.ai-typing-indicator .ai-msg-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 1.25rem;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.ai-bot-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: rgba(14, 20, 32, 0.5);
  border-top: 1px solid var(--border-subtle);
}

.ai-chip-btn {
  padding: 0.5rem 1rem;
  background: rgba(81, 112, 255, 0.08);
  border: 1px solid rgba(81, 112, 255, 0.25);
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-chip-btn:hover {
  background: rgba(81, 112, 255, 0.2);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

.ai-bot-input-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(14, 20, 32, 0.8);
  border-top: 1px solid var(--border-subtle);
}

.ai-bot-input {
  flex-grow: 1;
  padding: 0.85rem 1.25rem;
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.ai-bot-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(81, 112, 255, 0.25);
}

.ai-bot-send-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-primary);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(81, 112, 255, 0.4);
}

.ai-bot-send-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(81, 112, 255, 0.6);
}

/* ==========================================================================
   Master Mobile & Tablet Responsiveness Enhancements (< 992px, < 768px, < 550px)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
    margin-top: 2.75rem;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .estimator-box {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 1rem;
    margin-top: 2rem;
  }
  .stat-item::after {
    display: none !important;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
  .showcase-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
  }
  .filter-tab {
    white-space: nowrap;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
  .ai-bot-container {
    border-radius: 16px;
  }
  .ai-bot-header {
    padding: 1rem 1.25rem;
  }
  .ai-bot-messages {
    height: 330px;
    padding: 1rem;
  }
  .ai-bot-input-bar {
    padding: 0.75rem 1rem;
  }
  .ai-bot-input {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .ai-bot-send-btn {
    width: 42px;
    height: 42px;
  }
  .contact-form-box {
    padding: 1.75rem 1.25rem;
  }
  .wa-direct-card {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 550px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
  .hero-badge-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
  }
  .btn-lg {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    padding: 1rem 0.75rem;
  }
  .estimator-box {
    padding: 1.25rem 0.9rem;
    border-radius: 16px;
  }
  .estimator-options-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .estimator-option-card {
    padding: 0.9rem 1rem;
  }
  .blueprint-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  .blueprint-actions {
    flex-direction: column;
    width: 100%;
  }
  .blueprint-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .about-photo-tag {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.65rem 0.95rem;
  }
  .about-photo-tag-name {
    font-size: 0.95rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
