/* ── Premium Page Transition ── */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: premiumOut 0.5s cubic-bezier(0.55, 0, 0.1, 1) both;
  z-index: 1;
}
::view-transition-new(root) {
  animation: premiumIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  z-index: 2;
}
@keyframes premiumOut {
  0%   { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
  100% { opacity: 0; transform: scale(1.06) translateY(-40px); filter: blur(10px); }
}
@keyframes premiumIn {
  0%   { opacity: 0; transform: scale(0.94) translateY(40px); filter: blur(10px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* Hero entrance with 3D perspective */
.page-hero, .hero { animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes heroEntrance {
  0%   { opacity: 0; transform: perspective(1200px) rotateX(6deg) translateY(50px); }
  100% { opacity: 1; transform: perspective(1200px) rotateX(0) translateY(0); }
}

/* Navbar shimmer line on scroll */
nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, #6c5ce7, #00cec9, transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.6s;
}
nav.scrolled::after { opacity: 0.6; animation: shimmerSweep 3s ease-in-out infinite; }
@keyframes shimmerSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0f;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Particles ── */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a5a; }

/* ── Utilities ── */
.gradient-text {
  background: linear-gradient(135deg, #6c5ce7, #00cec9, #00b894);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Navbar ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.8rem 5%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: #fff;
}
.logo-img { height: 64px; width: auto; display: block; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
}
.logo span { background: linear-gradient(135deg, #6c5ce7, #00cec9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #6c5ce7, #00cec9, #00b894, #6c5ce7);
  background-size: 300% 100%;
  transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; animation: linkShimmer 8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.nav-links a.active::after { width: 100%; animation: linkShimmer 8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes linkShimmer {
  0%   { background-position: 300% 0; }
  100% { background-position: -300% 0; }
}

/* Navbar shimmer line on scroll */
nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, #6c5ce7, #00cec9, transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.6s;
}
nav.scrolled::after { opacity: 0.6; animation: shimmerSweep 8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes shimmerSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; display: block; }

/* ── Page Hero ── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 10rem 5% 5rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,92,231,0.12) 0%, transparent 60%);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Section Common ── */
section { position: relative; z-index: 1; padding: 5rem 5%; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(108,92,231,0.12);
  color: #6c5ce7;
  border: 1px solid rgba(108,92,231,0.2);
  margin-bottom: 1rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  color: #fff;
  box-shadow: 0 8px 32px rgba(108,92,231,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(108,92,231,0.45); }
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* ── Hero (index) ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,92,231,0.15) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.4rem;
  border: 1px solid rgba(108,92,231,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  background: rgba(108,92,231,0.08);
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
}
.hero-badge i { color: #00cec9; }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.55);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ── Services ── */
.services { background: linear-gradient(180deg, #0a0a0f 0%, #0e0e18 50%, #0a0a0f 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 3px;
  background: linear-gradient(90deg, #6c5ce7, #00cec9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); border-color: rgba(108,92,231,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-icon {
  width: 60px; height: 60px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.4s ease;
}
.service-icon::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 4px;
  clip-path: polygon(50% 4%, 96% 27%, 96% 73%, 50% 96%, 4% 73%, 4% 27%);
  z-index: 0;
}
.service-icon i { position: relative; z-index: 1; }
.service-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-icon.purple { background: linear-gradient(135deg, rgba(108,92,231,0.3), rgba(108,92,231,0.1)); color: #a29bfe; }
.service-icon.purple::before { background: rgba(108,92,231,0.12); }
.service-icon.purple::after { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.service-icon.teal { background: linear-gradient(135deg, rgba(0,206,201,0.3), rgba(0,206,201,0.1)); color: #81ecec; }
.service-icon.teal::before { background: rgba(0,206,201,0.12); }
.service-icon.teal::after { background: linear-gradient(135deg, #00cec9, #81ecec); }
.service-icon.green { background: linear-gradient(135deg, rgba(0,184,148,0.3), rgba(0,184,148,0.1)); color: #55efc4; }
.service-icon.green::before { background: rgba(0,184,148,0.12); }
.service-icon.green::after { background: linear-gradient(135deg, #00b894, #55efc4); }
.service-icon.orange { background: linear-gradient(135deg, rgba(253,121,168,0.3), rgba(253,121,168,0.1)); color: #fd79a8; }
.service-icon.orange::before { background: rgba(253,121,168,0.12); }
.service-icon.orange::after { background: linear-gradient(135deg, #fd79a8, #fab1a0); }
.service-icon.blue { background: linear-gradient(135deg, rgba(116,185,255,0.3), rgba(116,185,255,0.1)); color: #74b9ff; }
.service-icon.blue::before { background: rgba(116,185,255,0.12); }
.service-icon.blue::after { background: linear-gradient(135deg, #74b9ff, #a29bfe); }
.service-icon.red { background: linear-gradient(135deg, rgba(255,118,117,0.3), rgba(255,118,117,0.1)); color: #ff7675; }
.service-icon.red::before { background: rgba(255,118,117,0.12); }
.service-icon.red::after { background: linear-gradient(135deg, #ff7675, #fd79a8); }

.service-card:hover .service-icon { transform: scale(1.1) rotate(8deg); }
.service-card:hover .service-icon::after { opacity: 1; }

.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── Service Detail ── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-detail-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
}
.service-detail-card:hover { transform: translateY(-6px); border-color: rgba(108,92,231,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-detail-card .big-icon {
  width: 60px; height: 60px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  position: relative;
  transition: all 0.4s ease;
}
.service-detail-card .big-icon::before {
  content: '';
  position: absolute;
  inset: 2px;
  clip-path: polygon(50% 4%, 96% 27%, 96% 73%, 50% 96%, 4% 73%, 4% 27%);
  z-index: 0;
}
.service-detail-card .big-icon i { position: relative; z-index: 1; }
.service-detail-card .big-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-detail-card .big-icon.purple { background: linear-gradient(135deg, rgba(108,92,231,0.3), rgba(108,92,231,0.1)); color: #a29bfe; }
.service-detail-card .big-icon.purple::before { background: rgba(108,92,231,0.12); }
.service-detail-card .big-icon.purple::after { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.service-detail-card .big-icon.teal { background: linear-gradient(135deg, rgba(0,206,201,0.3), rgba(0,206,201,0.1)); color: #81ecec; }
.service-detail-card .big-icon.teal::before { background: rgba(0,206,201,0.12); }
.service-detail-card .big-icon.teal::after { background: linear-gradient(135deg, #00cec9, #81ecec); }
.service-detail-card .big-icon.green { background: linear-gradient(135deg, rgba(0,184,148,0.3), rgba(0,184,148,0.1)); color: #55efc4; }
.service-detail-card .big-icon.green::before { background: rgba(0,184,148,0.12); }
.service-detail-card .big-icon.green::after { background: linear-gradient(135deg, #00b894, #55efc4); }
.service-detail-card .big-icon.orange { background: linear-gradient(135deg, rgba(253,121,168,0.3), rgba(253,121,168,0.1)); color: #fd79a8; }
.service-detail-card .big-icon.orange::before { background: rgba(253,121,168,0.12); }
.service-detail-card .big-icon.orange::after { background: linear-gradient(135deg, #fd79a8, #fab1a0); }
.service-detail-card .big-icon.blue { background: linear-gradient(135deg, rgba(116,185,255,0.3), rgba(116,185,255,0.1)); color: #74b9ff; }
.service-detail-card .big-icon.blue::before { background: rgba(116,185,255,0.12); }
.service-detail-card .big-icon.blue::after { background: linear-gradient(135deg, #74b9ff, #a29bfe); }
.service-detail-card .big-icon.red { background: linear-gradient(135deg, rgba(255,118,117,0.3), rgba(255,118,117,0.1)); color: #ff7675; }
.service-detail-card .big-icon.red::before { background: rgba(255,118,117,0.12); }
.service-detail-card .big-icon.red::after { background: linear-gradient(135deg, #ff7675, #fd79a8); }
.service-detail-card:hover .big-icon { transform: scale(1.1) rotate(8deg); }
.service-detail-card:hover .big-icon::after { opacity: 1; }
.service-detail-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-detail-card p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.service-detail-card ul { list-style: none; margin-top: 1rem; }
.service-detail-card ul li {
  padding: 0.35rem 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.service-detail-card ul li i { color: #00cec9; font-size: 0.75rem; }

/* ── Software Page ── */
.software-page { background: linear-gradient(180deg, #0a0a0f 0%, #0e0e18 50%, #0a0a0f 100%); }
.software-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.software-card-full {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: all 0.4s ease;
}
.software-card-full:hover { transform: translateY(-6px); border-color: rgba(108,92,231,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.software-card-full .big-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.software-card-full .big-icon.kontio { background: linear-gradient(135deg, rgba(108,92,231,0.2), rgba(0,206,201,0.2)); color: #6c5ce7; }
.software-card-full .big-icon.vivally { background: linear-gradient(135deg, rgba(0,206,201,0.2), rgba(0,184,148,0.2)); color: #00cec9; }
.software-card-full h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.3rem; }
.software-card-full .subtitle { color: rgba(255,255,255,0.4); font-size: 0.9rem; margin-bottom: 1rem; }
.software-card-full p { color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.software-card-full .features { list-style: none; }
.software-card-full .features li {
  padding: 0.5rem 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.software-card-full .features li:last-child { border-bottom: none; }
.software-card-full .features li i { color: #00cec9; font-size: 0.85rem; }
.software-logo { max-width: 100%; height: auto; display: block; margin-bottom: 1.5rem; }

/* ── Contact Page ── */
.contact-page { background: linear-gradient(180deg, #0a0a0f 0%, #0e0e18 50%, #0a0a0f 100%); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info > p { color: rgba(255,255,255,0.5); margin-bottom: 2rem; max-width: 400px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.contact-item .icon-circle {
  width: 52px; height: 52px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a29bfe;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, rgba(108,92,231,0.3), rgba(108,92,231,0.1));
  transition: all 0.4s ease;
}
.contact-item .icon-circle::before {
  content: '';
  position: absolute;
  inset: 2px;
  clip-path: polygon(50% 4%, 96% 27%, 96% 73%, 50% 96%, 4% 73%, 4% 27%);
  background: rgba(108,92,231,0.12);
  z-index: 0;
}
.contact-item .icon-circle i { position: relative; z-index: 1; }
.contact-item:hover .icon-circle { transform: scale(1.1) rotate(8deg); }
.contact-item .text { font-weight: 600; font-size: 1rem; }
.contact-item .sub { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: 1px; }
.contact-map {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-map iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2.5rem;
}
.contact-form-box h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.4rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #6c5ce7; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: #1a1a2e; color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.captcha-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(108,92,231,0.06);
  border: 1px solid rgba(108,92,231,0.12);
  border-radius: 12px;
}
.captcha-challenge {
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 3px;
  user-select: none;
  min-width: 70px;
  text-align: center;
}
.captcha-eq {
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
  font-weight: 700;
}
.captcha-box input {
  width: 70px;
  padding: 0.5rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #fff;
  outline: none;
  font-family: inherit;
  -moz-appearance: textfield;
}
.captcha-box input::-webkit-outer-spin-button,
.captcha-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-box input:focus { border-color: #6c5ce7; }
.captcha-refresh {
  width: 36px; height: 36px;
  border: none;
  background: rgba(108,92,231,0.12);
  border-radius: 8px;
  color: #6c5ce7;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.captcha-refresh:hover { background: rgba(108,92,231,0.25); transform: rotate(180deg); }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: linear-gradient(145deg, #14141f, #0e0e18);
  border: 1px solid rgba(108,92,231,0.15);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}
.modal-icon {
  width: 72px; height: 72px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, rgba(0,206,201,0.2), rgba(0,184,148,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #55efc4;
  margin: 0 auto 1.5rem;
}
.modal-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.modal-box h3 span { color: #00cec9; }
.modal-box p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.modal-details {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.modal-details div {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.modal-details div i {
  width: 24px;
  color: #6c5ce7;
  font-size: 0.75rem;
}
.modal-details strong { color: rgba(255,255,255,0.8); }

@media (max-width: 480px) {
  .modal-box { padding: 2rem 1.5rem; }
  .modal-box h3 { font-size: 1.2rem; }
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 5%;
  text-align: center;
}
footer .socials { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
footer .socials a {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.3s;
}
footer .socials a:hover { border-color: #6c5ce7; color: #6c5ce7; transform: translateY(-3px); }
footer p { font-size: 0.85rem; color: rgba(255,255,255,0.25); }

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 5%;
  background: radial-gradient(ellipse at 50% 50%, rgba(108,92,231,0.08) 0%, transparent 60%);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.5); margin-bottom: 2rem; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual .glow-box { padding: 2rem 1.5rem; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(108,92,231,0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }
  .nav-links.open {
    max-height: 400px;
    padding: 1.5rem 2rem 2rem;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li {
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.25s; }
  .nav-links a { font-size: 1rem; padding: 0.6rem 0; display: block; }
  .nav-toggle { display: flex; }
  .logo-img { height: 54px; }

  /* Hero */
  .hero { padding: 8rem 1.5rem 2rem; min-height: auto; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.8rem); letter-spacing: -1px; }
  .hero p { font-size: 0.95rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 1rem; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 320px; }
  .hero-stats { gap: 1.5rem; margin-top: 2.5rem; }
  .hero-stat .num { font-size: 1.6rem; }

  /* Page Hero */
  .page-hero { padding: 9rem 1.5rem 2.5rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .page-hero p { font-size: 0.9rem; }

  /* Sections */
  section { padding: 3rem 1.5rem; }

  /* Service cards */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.8rem 1.5rem; }
  .service-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 1rem; }

  /* Service detail */
  .service-detail-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-detail-card { padding: 1.8rem 1.5rem; }
  .service-detail-card .big-icon { width: 50px; height: 50px; font-size: 1.2rem; }

  /* Software */
  .software-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .software-card-full { padding: 2rem 1.5rem; }
  .software-card-full .big-icon { width: 64px; height: 64px; font-size: 1.6rem; }
  .software-card-full h3 { font-size: 1.4rem; }
  .software-logo { max-width: 280px; margin-left: auto; margin-right: auto; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-box { padding: 1.8rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-item .icon-circle { width: 44px; height: 44px; font-size: 1rem; }
  .contact-item .text { font-size: 0.9rem; }
  .contact-map iframe { height: 180px; }

  /* CTA */
  .cta-banner { padding: 3rem 1.5rem; }
  .cta-banner h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .cta-banner .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .value-card { padding: 1.5rem 1rem; }
  .value-card .val-icon { font-size: 1.4rem; }
  .value-card h4 { font-size: 0.95rem; }
  .value-card p { font-size: 0.8rem; }

  /* Footer */
  footer { padding: 2rem 1.5rem; }
  footer .socials { gap: 0.8rem; }
  footer .socials a { width: 38px; height: 38px; font-size: 0.9rem; }

  /* Section headers */
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-header p { font-size: 0.9rem; }

  /* Thanks page */
  .thanks { padding: 6rem 1.5rem 2rem; min-height: auto; }
  .thanks-actions { flex-direction: column; align-items: center; width: 100%; }
  .thanks-actions .btn { width: 100%; justify-content: center; }
  .redirect-bar { flex-direction: column; text-align: center; gap: 0.5rem; padding: 0.8rem 1.5rem; }

  /* Timeline */
  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding: 0 0 2rem 1.5rem; }

  /* About visual */
  .about-visual .glow-box { padding: 1.5rem; }
  .about-visual .stat-big { font-size: 3rem; }

  /* Buttons general */
  .btn { padding: 0.8rem 1.6rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .software-card-full { padding: 1.5rem 1.2rem; }
  .software-logo { max-width: 220px; }
  .contact-form-box { padding: 1.5rem 1.2rem; }
}
