/* ==========================================================================
   SMtree IT Solutions — Modern Design System & State-of-the-Art CSS
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #030712;
  --bg-surface: #0b1329;
  --bg-surface-elevated: rgba(15, 23, 42, 0.75);
  --bg-card: rgba(13, 23, 49, 0.65);
  --bg-card-hover: rgba(22, 36, 74, 0.85);

  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.35);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.35);
  --indigo: #6366f1;
  --purple: #8b5cf6;
  --emerald: #10b981;
  --orange: #f97316;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.3);
  --border-hover: rgba(0, 242, 254, 0.45);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 10px 30px rgba(59, 130, 246, 0.25);
  --shadow-card: 0 20px 40px -15px rgba(2, 6, 23, 0.7);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Light Mode Theme System (High Contrast & Crystal-Clear Visibility)
   ========================================================================== */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;

  --cyan: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.18);
  --blue: #2563eb;
  --blue-glow: rgba(37, 99, 235, 0.2);
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --emerald: #059669;
  --orange: #ea580c;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(37, 99, 235, 0.25);
  --border-hover: rgba(2, 132, 199, 0.45);

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 10px 30px rgba(37, 99, 235, 0.15);
  --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* Hide murky neon glow blur blobs in light mode */
[data-theme="light"] .ambient-glow,
[data-theme="light"] .about-image-glow {
  display: none !important;
}

[data-theme="light"] body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Header & Navigation in Light Mode */
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(37, 99, 235, 0.15) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .brand-text {
  color: #0f172a !important;
}

[data-theme="light"] .brand-text small {
  color: #475569 !important;
}

[data-theme="light"] .nav-link {
  color: #334155 !important;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0284c7 !important;
}

[data-theme="light"] .menu-toggle {
  background: rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .menu-toggle span {
  background: #0f172a !important;
}

[data-theme="light"] .nav-links {
  background: #ffffff !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

/* Global Headings & Typography */
[data-theme="light"] .section-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

[data-theme="light"] .section-subtitle {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline !important;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

[data-theme="light"] .badge-pill {
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .pulse-dot {
  background: #0284c7 !important;
  box-shadow: 0 0 10px #0284c7 !important;
}

/* Hero Section in Light Mode */
[data-theme="light"] .hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%) !important;
}

[data-theme="light"] .hero-title {
  color: #0f172a !important;
}

[data-theme="light"] .hero-description {
  color: #334155 !important;
}

[data-theme="light"] .btn-glass {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .btn-glass:hover {
  background: #f8fafc !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}

[data-theme="light"] .btn-outline {
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.2) !important;
}

[data-theme="light"] .btn-outline:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.05) !important;
}

[data-theme="light"] .trust-row {
  border-top-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .trust-item strong {
  color: #0f172a !important;
}

[data-theme="light"] .trust-item small {
  color: #475569 !important;
}

[data-theme="light"] .trust-icon-box {
  background: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

[data-theme="light"] .floating-chip {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .chip-label {
  color: #64748b !important;
}

[data-theme="light"] .chip-val {
  color: #0f172a !important;
}

/* Stats Strip */
[data-theme="light"] .stats-strip {
  background: #ffffff !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .stat-card {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .stat-card:hover {
  border-color: rgba(37, 99, 235, 0.3) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1) !important;
}

[data-theme="light"] .stat-icon-wrap {
  background: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

[data-theme="light"] .stat-number {
  color: #0f172a !important;
}

[data-theme="light"] .stat-label {
  color: #334155 !important;
  font-weight: 600 !important;
}

/* Services Section (High Visibility, Zero Muddy Blobs) */
[data-theme="light"] .services-section {
  background: #f8fafc !important;
}

[data-theme="light"] .service-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .service-card:hover {
  background: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 25px rgba(37, 99, 235, 0.1) !important;
}

[data-theme="light"] .service-title {
  color: #0f172a !important;
}

[data-theme="light"] .service-desc {
  color: #334155 !important;
  line-height: 1.65 !important;
}

[data-theme="light"] .service-num {
  color: #94a3b8 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .service-tags li {
  background: #f1f5f9 !important;
  color: #1d4ed8 !important;
  border-color: rgba(37, 99, 235, 0.18) !important;
}

[data-theme="light"] .service-link {
  color: #0284c7 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .service-link:hover {
  color: #1d4ed8 !important;
}

/* Service Card Vibrant Icon Badges in Light Mode */
[data-theme="light"] .icon-cyan {
  background: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

[data-theme="light"] .icon-blue {
  background: #dbeafe !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
}

[data-theme="light"] .icon-purple {
  background: #f3e8ff !important;
  border-color: #e9d5ff !important;
  color: #7c3aed !important;
}

[data-theme="light"] .icon-teal {
  background: #ccfbf1 !important;
  border-color: #99f6e4 !important;
  color: #0f766e !important;
}

[data-theme="light"] .icon-indigo {
  background: #e0e7ff !important;
  border-color: #c7d2fe !important;
  color: #4338ca !important;
}

[data-theme="light"] .icon-orange {
  background: #ffedd5 !important;
  border-color: #fed7aa !important;
  color: #c2410c !important;
}

/* About Section */
[data-theme="light"] .about-section {
  background: #ffffff !important;
}

[data-theme="light"] .about-lead {
  color: #0f172a !important;
}

[data-theme="light"] .about-text {
  color: #334155 !important;
}

[data-theme="light"] .check-feature-item strong {
  color: #0f172a !important;
}

[data-theme="light"] .check-feature-item p {
  color: #475569 !important;
}

[data-theme="light"] .check-icon {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}

[data-theme="light"] .about-badge-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .experience-card strong,
[data-theme="light"] .satisfaction-card strong {
  color: #0f172a !important;
}

[data-theme="light"] .experience-card span,
[data-theme="light"] .satisfaction-card span {
  color: #475569 !important;
}

/* Portfolio Section */
[data-theme="light"] .portfolio-section {
  background: #f8fafc !important;
}

[data-theme="light"] .portfolio-filters .filter-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .portfolio-filters .filter-btn:hover {
  color: #0f172a !important;
  border-color: #3b82f6 !important;
}

[data-theme="light"] .portfolio-filters .filter-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

[data-theme="light"] .project-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .project-card:hover {
  border-color: #3b82f6 !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .project-thumb {
  background: #f1f5f9 !important;
}

[data-theme="light"] .project-name {
  color: #0f172a !important;
}

[data-theme="light"] .project-summary {
  color: #334155 !important;
}

[data-theme="light"] .project-category {
  color: #0284c7 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .project-year {
  color: #64748b !important;
}

[data-theme="light"] .project-tags span {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* Testimonials Section */
[data-theme="light"] .testimonials-section {
  background: #ffffff !important;
}

[data-theme="light"] .testimonial-card {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .testimonial-text {
  color: #1e293b !important;
}

[data-theme="light"] .author-name {
  color: #0f172a !important;
}

[data-theme="light"] .author-title {
  color: #0284c7 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .author-company {
  color: #475569 !important;
}

[data-theme="light"] .slider-arrow {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}

[data-theme="light"] .testimonial-dots .dot {
  background: rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .testimonial-dots .dot.active {
  background: #2563eb !important;
}

/* Spotlight Hover Effect for Light Mode */
[data-theme="light"] [data-tilt]::before,
[data-theme="light"] .service-card::before,
[data-theme="light"] .project-card::before,
[data-theme="light"] .stat-card::before {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(37, 99, 235, 0.06),
    transparent 50%
  ) !important;
}

/* Call to Action Banner */
[data-theme="light"] .cta-card {
  background: linear-gradient(135deg, #0b1329 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
}

/* Footer Section */
[data-theme="light"] .site-footer {
  background: #f1f5f9 !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .footer-desc {
  color: #334155 !important;
}

[data-theme="light"] .footer-heading {
  color: #0f172a !important;
}

[data-theme="light"] .footer-links a {
  color: #475569 !important;
}

[data-theme="light"] .footer-links a:hover {
  color: #0284c7 !important;
}

[data-theme="light"] .contact-item {
  color: #334155 !important;
}

[data-theme="light"] .contact-item a {
  color: #334155 !important;
}

[data-theme="light"] .contact-item a:hover {
  color: #2563eb !important;
}

[data-theme="light"] .contact-item svg {
  color: #2563eb !important;
}

[data-theme="light"] .social-btn {
  background: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #334155 !important;
}

[data-theme="light"] .social-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

[data-theme="light"] .newsletter-input-group {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
}

[data-theme="light"] .newsletter-input-group input {
  color: #0f172a !important;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .footer-bottom-inner {
  color: #475569 !important;
}

[data-theme="light"] .footer-legal a {
  color: #475569 !important;
}

/* Back to Top Button */
[data-theme="light"] .back-to-top {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #2563eb !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .ring-bg {
  stroke: rgba(15, 23, 42, 0.1) !important;
}

/* Modals */
[data-theme="light"] .modal-content {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .modal-desc {
  color: #334155 !important;
}

[data-theme="light"] .modal-close-btn {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-group label {
  color: #0f172a !important;
}

[data-theme="light"] .form-group input[type="text"],
[data-theme="light"] .form-group input[type="email"],
[data-theme="light"] .form-group input[type="tel"],
[data-theme="light"] .form-group textarea {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .chip-option span {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #334155 !important;
}

[data-theme="light"] .chip-option input:checked + span {
  background: #dbeafe !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
}

[data-theme="light"] #budgetValue {
  color: #0f172a !important;
}

[data-theme="light"] .toast {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.25) !important;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}

/* Ambient Cyber Glow Blobs in Background */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-top {
  top: -120px;
  left: 20%;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), rgba(99, 102, 241, 0.2), transparent 70%);
}

.ambient-glow-middle {
  top: 45%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25), rgba(139, 92, 246, 0.15), transparent 70%);
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate(30px, 20px); opacity: 0.5; }
  100% { transform: scale(0.95) translate(-20px, 40px); opacity: 0.35; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */
.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #3b82f6 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

.pulse-dot.green {
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-title.text-left {
  text-align: left;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 50%, #00f2fe 100%);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: translateX(100%);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-glass {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.05);
  transform: translateY(-2px);
}

/* 3D Tilt Card Base */
.tilt-card {
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Spotlight Hover Effect */
[data-tilt]::before, .service-card::before, .project-card::before, .stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(59, 130, 246, 0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

[data-tilt]:hover::before, .service-card:hover::before, .project-card:hover::before, .stat-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(3, 7, 18, 0.88);
  border-bottom-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.6));
  transition: transform var(--transition-fast);
}

.brand:hover .brand-mark {
  transform: rotate(15deg) scale(1.08);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-text small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: #60a5fa;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-smooth);
}

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

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-cta {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.theme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.theme-icon svg {
  width: 20px;
  height: 20px;
}

/* In Dark Mode: Show Sun icon (to switch to light) */
:root:not([data-theme="light"]) .sun-icon,
[data-theme="dark"] .sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
:root:not([data-theme="light"]) .moon-icon,
[data-theme="dark"] .moon-icon {
  opacity: 0;
  position: absolute;
  transform: scale(0.5) rotate(-90deg);
  pointer-events: none;
}

/* In Light Mode: Show Moon icon (to switch to dark) */
[data-theme="light"] .sun-icon {
  opacity: 0;
  position: absolute;
  transform: scale(0.5) rotate(90deg);
  pointer-events: none;
}
[data-theme="light"] .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}
[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--blue);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background: radial-gradient(ellipse 90% 80% at 50% -20%, rgba(30, 58, 138, 0.4) 0%, transparent 70%);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 0;
  opacity: 0.85;
}

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

.hero-copy {
  max-width: 620px;
}

.hero-pill {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.play-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.play-icon-wrap svg {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}

.btn-glass:hover .play-icon-wrap {
  transform: scale(1.15);
  background: var(--blue);
  color: #ffffff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.trust-icon-box svg {
  width: 18px;
  height: 18px;
}

.trust-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.trust-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* 3D Holographic Tech Showcase Right Side */
.hero-art-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.interactive-tech-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.art-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(59, 130, 246, 0.1) 50%, transparent 80%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Floating Status Metric Chips */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(11, 19, 41, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(14px);
  z-index: 10;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.chip-uptime {
  top: -24px;
  left: -20px;
  animation-delay: 0s;
}

.chip-speed {
  bottom: 30px;
  left: -28px;
  animation-delay: 2s;
}

.chip-ai {
  top: 40%;
  right: -24px;
  animation-delay: 4s;
}

.chip-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.chip-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.8deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Glass Terminal Window */
.glass-terminal {
  position: relative;
  z-index: 1;
  background: rgba(8, 14, 30, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.15);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-tabs {
  display: flex;
  gap: 6px;
}

.term-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.term-tab.active, .term-tab:hover {
  color: var(--cyan);
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.terminal-body {
  padding: 22px;
  min-height: 250px;
}

.code-content {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: #cbd5e1;
  white-space: pre;
  overflow-x: auto;
}

.code-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Syntax Highlighting Colors */
.c-keyword { color: #f43f5e; font-weight: 600; }
.c-func { color: #60a5fa; }
.c-string { color: #34d399; }
.c-comment { color: #64748b; font-style: italic; }
.c-bool { color: #fbbf24; }

.terminal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: rgba(3, 7, 18, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}

.terminal-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
  margin-right: 6px;
}

/* ==========================================================================
   Stats Strip Section
   ========================================================================== */
.stats-strip {
  padding: 40px 0;
  background: rgba(6, 11, 26, 0.8);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

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

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.stat-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
  font-family: var(--font-sans);
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  background: radial-gradient(circle at 50% 20%, rgba(15, 23, 42, 0.8), transparent 80%);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.2);
  background: var(--bg-card-hover);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

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

.icon-cyan {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple);
}

.icon-teal {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #14b8a6;
}

.icon-indigo {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--indigo);
}

.icon-orange {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--orange);
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #ffffff;
}

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

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 24px;
}

.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--transition-fast);
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.service-link:hover {
  gap: 12px;
  color: #ffffff;
}

.service-link:hover svg {
  transform: translateX(4px);
}

.services-footer-cta {
  text-align: center;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  background: linear-gradient(180deg, rgba(3, 7, 18, 0) 0%, rgba(8, 14, 30, 0.7) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-visual-col {
  position: relative;
}

.about-image-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about-image-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
}

.about-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
}

.about-badge-card {
  position: absolute;
  background: rgba(11, 19, 41, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.experience-card {
  top: 30px;
  left: -24px;
}

.exp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.exp-icon svg {
  width: 22px;
  height: 22px;
}

.experience-card strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.experience-card span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.satisfaction-card {
  bottom: 30px;
  right: -24px;
}

.satisfaction-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--emerald);
}

.satisfaction-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.satisfaction-card span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.check-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.check-feature-item {
  display: flex;
  gap: 12px;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

.check-feature-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.check-feature-item p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.about-actions {
  display: flex;
  gap: 16px;
}

/* ==========================================================================
   Portfolio / Case Studies Section
   ========================================================================== */
.portfolio-section {
  background: radial-gradient(circle at 50% 60%, rgba(30, 58, 138, 0.2), transparent 70%);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
}

.filter-btn.active {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: opacity 0.2s ease;
}

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

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), 0 0 25px rgba(59, 130, 246, 0.25);
}

.project-thumb {
  height: 200px;
  background: #070d1e;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CSS Mockups for Projects */
.project-mockup {
  width: 86%;
  height: 82%;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.mockup-header span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #475569;
}

.mockup-url {
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FinTech Chart Canvas Mockup */
.mockup-canvas {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding-bottom: 6px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
  transition: height 0.3s ease;
}

/* Shop Items Mockup */
.mockup-shop-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex-grow: 1;
}

.shop-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  padding: 6px;
  gap: 4px;
}

.shop-item i {
  height: 35px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 3px;
}

.shop-item b {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/* Mobile Frame Mockup */
.mobile-frame {
  width: 90px;
  height: 140px;
  border-radius: 14px;
  border: 2px solid #3b82f6;
  background: #020617;
  margin: auto;
  position: relative;
  padding: 8px 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.mobile-notch {
  width: 30px;
  height: 4px;
  background: #1e293b;
  border-radius: 2px;
  margin: 0 auto 6px;
}

.pulse-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.3);
  border: 1px solid var(--emerald);
  margin: 4px auto;
}

.app-card-preview {
  height: 22px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 4px;
  margin-top: 6px;
}

/* AI Neural Mockup */
.neural-network-vis {
  margin: auto;
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(0, 242, 254, 0.4);
  animation: spinSlow 12s linear infinite;
}

.node-center {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Cloud Cluster Mockup */
.cloud-cluster-vis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: auto;
}

.cluster-node {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* SaaS Kanban Mockup */
.saas-kanban-vis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 80px;
}

.kanban-col {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border-top: 2px solid var(--cyan);
}

/* Hover Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-preview {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--blue);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.project-card:hover .btn-preview {
  transform: translateY(0);
}

.btn-preview:hover {
  background: var(--cyan);
  color: #030712;
}

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

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-year {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.project-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}

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

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.6) 0%, rgba(3, 7, 18, 0.9) 100%);
}

.testimonial-slider-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  position: relative;
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
}

.testimonial-quote-icon {
  width: 48px;
  height: 48px;
  color: rgba(59, 130, 246, 0.35);
  margin-bottom: 20px;
}

.testimonial-quote-icon svg {
  width: 100%;
  height: 100%;
}

.testimonial-text {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: #f1f5f9;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-stars {
  font-size: 1.25rem;
  color: #fbbf24;
  letter-spacing: 4px;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.author-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.author-title {
  display: block;
  font-size: 0.85rem;
  color: var(--cyan);
}

.author-company {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  transform: scale(1.08);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.testimonial-dots .dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

/* ==========================================================================
   Call to Action (CTA) Banner
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0 100px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.7) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(59, 130, 246, 0.25);
}

.cta-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 242, 254, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

.cta-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #02050e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 18px 0 24px;
  max-width: 320px;
}

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

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  transition: border-color var(--transition-fast);
}

.newsletter-input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.newsletter-input-group input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.86rem;
  font-family: inherit;
}

.newsletter-input-group input::placeholder {
  color: var(--text-dim);
}

.newsletter-input-group button {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.newsletter-input-group button:hover {
  background: var(--cyan);
  color: #030712;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Modals (Video & Free Quote)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(11, 19, 41, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(59, 130, 246, 0.3);
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  transform: scale(0.92) translateY(20px);
  transition: all var(--transition-smooth);
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.4) rgba(15, 23, 42, 0.6);
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.4);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #ef4444;
  transform: rotate(90deg);
}

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

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Tour Player in Video Modal */
.modal-video-content {
  max-width: 800px;
  padding: 30px;
}

.video-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #020617;
}

.interactive-video-player {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.player-canvas-wrap {
  flex-grow: 1;
  background: radial-gradient(circle at center, #0f2b5c 0%, #030712 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.player-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 242, 254, 0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 242, 254, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.player-center-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.player-brand-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 20px;
}

.audio-waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 60px;
  margin-bottom: 20px;
}

.audio-waves span {
  width: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border-radius: 4px;
  animation: audioWave 1.2s ease-in-out infinite alternate;
}

.audio-waves span:nth-child(1) { height: 20px; animation-delay: 0.1s; }
.audio-waves span:nth-child(2) { height: 45px; animation-delay: 0.3s; }
.audio-waves span:nth-child(3) { height: 60px; animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { height: 35px; animation-delay: 0.5s; }
.audio-waves span:nth-child(5) { height: 50px; animation-delay: 0.4s; }
.audio-waves span:nth-child(6) { height: 25px; animation-delay: 0.6s; }
.audio-waves span:nth-child(7) { height: 40px; animation-delay: 0.25s; }

@keyframes audioWave {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.player-status-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94a3b8;
}

.player-controls-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.ctrl-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.ctrl-btn:hover {
  background: var(--blue);
}

.ctrl-progress {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.ctrl-progress-fill {
  width: 66%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.ctrl-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Quote Modal Form Styles */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

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

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

.chip-option {
  cursor: pointer;
}

.chip-option input {
  display: none;
}

.chip-option span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.chip-option input:checked + span {
  background: rgba(59, 130, 246, 0.25);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.range-slider {
  width: 100%;
  accent-color: var(--cyan);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.submit-quote-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 8px;
}

/* ==========================================================================
   Back To Top Button with Progress Ring
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(11, 19, 41, 0.9);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 2.5;
}

.ring-fill {
  fill: none;
  stroke: url(#brandGrad);
  stroke-width: 2.8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.1s linear;
}

.arrow-up {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(11, 19, 41, 0.95);
  border: 1px solid var(--border-glow);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.35);
  backdrop-filter: blur(14px);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-pill {
    margin-left: auto;
    margin-right: auto;
  }

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

  .trust-row {
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-art-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual-col {
    max-width: 600px;
    margin: 0 auto;
  }

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

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

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    height: auto;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-wrap {
    gap: 12px;
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    display: flex;
    order: 3;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    order: 2;
  }

  .nav-cta {
    display: none;
  }

  /* Safe positioning for floating chips within boundaries */
  .chip-uptime {
    top: -16px;
    left: 8px;
  }

  .chip-speed {
    bottom: -16px;
    left: 8px;
  }

  .chip-ai {
    top: -16px;
    right: 8px;
  }

  .floating-chip {
    padding: 8px 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  }

  /* Safe positioning for about badges */
  .experience-card {
    left: 10px;
    top: -16px;
  }

  .satisfaction-card {
    right: 10px;
    bottom: -16px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
    margin: 0 auto;
  }

  .trust-item {
    justify-content: flex-start;
    text-align: left;
  }

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

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

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

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

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

@media (max-width: 640px) {
  /* Hero Action buttons stack cleanly on mobile with full width */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  /* Prevent 3D mouse tilt from causing horizontal overflow on mobile screens */
  .tilt-card {
    transform: none !important;
  }

  .hero-art-wrapper {
    perspective: none;
    max-width: 100%;
  }

  .interactive-tech-stage {
    max-width: 100%;
  }

  .glass-terminal {
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 60px 0;
  }

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

  .section-subtitle {
    font-size: 0.92rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  /* Terminal bar & tabs */
  .terminal-bar {
    padding: 10px 12px;
    gap: 8px;
    overflow-x: auto;
  }

  .terminal-tabs {
    gap: 4px;
    overflow-x: auto;
  }

  .term-tab {
    font-size: 0.68rem;
    padding: 4px 8px;
    white-space: nowrap;
  }

  .terminal-badge {
    display: none;
  }

  .terminal-body {
    padding: 16px 14px;
    min-height: auto;
  }

  .code-content {
    font-size: 0.74rem;
    line-height: 1.55;
  }

  .terminal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 12px;
    font-size: 0.62rem;
  }

  /* Hide decorative chips on small screens so terminal is clean and fits completely */
  .chip-speed,
  .chip-ai {
    display: none;
  }

  .chip-uptime {
    top: -14px;
    left: 10px;
    padding: 6px 12px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .portfolio-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonial-card {
    padding: 24px 18px;
  }

  .testimonial-text {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .testimonial-author {
    gap: 14px;
  }

  .author-avatar {
    width: 48px;
    height: 48px;
  }

  .about-photo {
    height: 280px;
  }

  .check-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .experience-card {
    left: 8px;
    top: -12px;
    padding: 8px 12px;
  }

  .satisfaction-card {
    right: 8px;
    bottom: -12px;
    padding: 8px 12px;
  }

  /* Modals */
  .modal-content {
    padding: 28px 18px;
    max-height: 92vh;
  }

  .modal-title {
    font-size: 1.35rem;
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .interactive-video-player {
    height: 260px;
  }

  .audio-waves {
    height: 40px;
  }

  .player-status-line {
    font-size: 0.72rem;
    padding: 0 10px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1240px, calc(100% - 32px));
  }

  .hero {
    padding-top: 95px;
    padding-bottom: 40px;
  }

  .hero-pill {
    font-size: 0.68rem;
    padding: 5px 12px;
    letter-spacing: 0.04em;
    max-width: 100%;
  }

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

  .brand-text {
    font-size: 1.1rem;
  }

  .brand-text small {
    font-size: 0.48rem;
    letter-spacing: 0.2em;
  }

  .window-dots {
    display: none;
  }

  .terminal-bar {
    justify-content: flex-start;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .stat-value {
    font-size: 2rem;
  }

  .newsletter-input-group {
    flex-direction: column;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    gap: 10px;
  }

  .newsletter-input-group input {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    width: 100%;
  }

  .newsletter-input-group button {
    width: 100%;
    height: 44px;
    border-radius: var(--radius-sm);
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-desc {
    font-size: 0.92rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .brand-text {
    font-size: 1.02rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }
}
