/* =========================================
   KAIRO INNOVATIONS — STYLESHEET
   Color Scheme: Dark Navy Blue & White
   ========================================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy:        #050d2e;
  --navy-2:      #091540;
  --navy-light:  #0d1e5c;
  --blue-accent: #2563eb;
  --blue-glow:   #3b82f6;
  --blue-bright: #60a5fa;
  --purple:      #7c3aed;
  --white:       #ffffff;
  --white-80:    rgba(255,255,255,0.8);
  --white-faint: rgba(255,255,255,0.10);
  --gray:        #b8c9da;
  --border:      rgba(255,255,255,0.18);
  --shadow-blue: 0 0 60px rgba(37,99,235,0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Utility ──────────────────────────────────────────── */

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.18);
  color: var(--blue-bright);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Buttons ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(37, 99, 235, 0.65);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: var(--blue-bright);
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* =========================================
   NAVBAR
   ========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(5, 13, 46, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-accent { color: var(--blue-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s;
}

.nav-links a:hover { color: #fff; }

.nav-links .nav-cta {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff !important;
  padding: 10px 26px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
  transition: box-shadow 0.3s, transform 0.3s;
}

.nav-links .nav-cta:hover {
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.65);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.32);
  backdrop-filter: blur(12px);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 30px;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 24px 44px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat { text-align: center; }

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat p {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 5px;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.5s ease-in-out infinite;
  text-decoration: none;
  z-index: 2;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-wheel {
  width: 4px;
  height: 9px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  animation: scrollWheel 2.5s ease-in-out infinite;
}

/* =========================================
   SERVICES
   ========================================= */

.services {
  padding: 130px 0;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(36px);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card:hover::after { opacity: 1; }

.service-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(96, 165, 250, 0.40);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(37, 99, 235, 0.12);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
  line-height: 1.75;
  font-size: 0.92rem;
}

/* =========================================
   DEMO SHOWCASE — PORTFOLIO CARDS
   ========================================= */

.demos {
  padding: 130px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(37,99,235,0.04) 50%, transparent 100%);
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.portfolio-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96,165,250,0.35);
  box-shadow: 0 28px 72px rgba(0,0,0,0.5), 0 0 40px rgba(37,99,235,0.14);
}

.portfolio-thumb {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--navy-light);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
  display: block;
}

.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }

.portfolio-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-light));
}

.thumb-icon { font-size: 5rem; opacity: 0.35; }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 46, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.preview-btn {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37,99,235,0.5);
  transform: translateY(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card:hover .preview-btn {
  transform: translateY(0);
}

.preview-btn:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.7);
}

.portfolio-info {
  padding: 26px 28px;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(37,99,235,0.18);
  color: var(--blue-bright);
  border: 1px solid rgba(96,165,250,0.28);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.portfolio-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-info p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* =========================================
   PREVIEW MODAL
   ========================================= */

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.preview-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.modal-window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  height: 90vh;
  background: #0a1228;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 60px 140px rgba(0,0,0,0.8), 0 0 80px rgba(37,99,235,0.18);
  transform: scale(0.93) translateY(20px);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.preview-modal.open .modal-window {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.browser-dots { display: flex; gap: 7px; flex-shrink: 0; }

.dot { width: 13px; height: 13px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

#modal-close-dot { cursor: pointer; }
#modal-close-dot:hover { filter: brightness(1.25); }

.modal-url-bar {
  flex: 1;
  min-width: 0;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--gray);
  overflow: hidden;
}

.url-lock { font-size: 0.75rem; flex-shrink: 0; }

#modal-url-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-close-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.modal-close-btn:hover {
  background: rgba(239,68,68,0.25);
  border-color: rgba(239,68,68,0.4);
  color: #fff;
}

/* Modal Body */
.modal-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #fff;
}

.modal-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(160deg, var(--navy-2), var(--navy-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.45s ease;
}

.modal-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--blue-glow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.modal-loader p { color: var(--gray); font-size: 0.9rem; }

#modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Lock body scroll when modal open */
body.modal-open { overflow: hidden; }

/* =========================================
   WHY US
   ========================================= */

.why-us {
  padding: 130px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-text .section-tag { display: inline-block; }

.why-us-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
}

.why-us-text > p {
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 36px;
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 44px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}

.check {
  color: #34d399;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Visual Cards */
.why-us-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.visual-center-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(96,165,250,0.15);
  box-shadow: 0 0 60px rgba(37,99,235,0.12);
}

.visual-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
  width: 130px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.visual-card:hover {
  transform: scale(1.07) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37,99,235,0.2);
}

.visual-card .card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.visual-card p {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
}

.card-1 { top: 0;    left: 12%;  animation: float1 6s ease-in-out infinite; }
.card-2 { top: 18%;  right: 0;   animation: float2 7s ease-in-out infinite; }
.card-3 { bottom: 8%; left: 4%;  animation: float3 5s ease-in-out infinite; }
.card-4 { bottom: 18%; right: 12%; animation: float1 8s ease-in-out infinite reverse; }

/* =========================================
   CONTACT
   ========================================= */

.contact {
  padding: 130px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(37,99,235,0.04) 50%, transparent 100%);
}

.contact-lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
}

.contact-lead strong {
  color: #fff;
}

/* ── CTA banner ── */
.contact-cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,0.22) 0%, rgba(124,58,237,0.18) 100%);
  border: 1px solid rgba(96,165,250,0.30);
  border-radius: 20px;
  padding: 36px 40px;
  margin: 48px auto 0;
  max-width: 560px;
  text-align: center;
}

.cta-banner-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148,185,255,0.70);
}

.cta-phone-link {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.cta-phone-link:hover { color: var(--blue-bright); }

.cta-banner-sub {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.40);
}

/* ── Contact cards grid ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 26px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}

.info-card--primary {
  border-color: rgba(96,165,250,0.35);
  background: rgba(37,99,235,0.12);
}

.info-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(96,165,250,0.35);
  transform: translateY(-2px);
}

.info-card--primary:hover {
  background: rgba(37,99,235,0.20);
  border-color: rgba(96,165,250,0.55);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.info-card p {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.info-card-sub {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.40);
  margin-top: 3px;
}

.info-card-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: rgba(96,165,250,0.55);
  flex-shrink: 0;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 72px 0 36px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 14px; }

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 230px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--blue-bright); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}

#sphere-canvas {
  display: block;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  cursor: grab;
}

#sphere-canvas:active { cursor: grabbing; }

.sphere-hint {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148,185,255,0.72);
  margin-top: 18px;
  user-select: none;
  pointer-events: none;
  animation: hint-pulse 2.6s ease-in-out infinite;
  text-shadow: 0 0 14px rgba(96,165,250,0.45);
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-22px) rotate(2deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50%       { transform: translateY(-16px) rotate(-1deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-26px) rotate(3deg); }
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .why-us-visual { min-height: 360px; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-cta-banner { padding: 28px 22px; }
  .cta-phone-link { font-size: 1.5rem; }

  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(5, 13, 46, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px 28px;
    gap: 18px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .stat-divider { width: 60px; height: 1px; }

  .form-row { grid-template-columns: 1fr; }

  .modal-window { height: 95vh; border-radius: 12px; }

  .footer-content { grid-template-columns: 1fr; gap: 32px; }


}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -0.015em; }
  .hero-stats { width: 100%; }
  .portfolio-thumb { height: 200px; }
  .modal-window { height: 98vh; border-radius: 8px; }
}
