/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #c8d6e5;
  background: #06080d;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Animated background glows ── */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .15;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 600px; height: 600px;
  background: #4ea8ff;
  top: -150px; left: -100px;
  animation: drift1 18s ease-in-out infinite alternate;
}

.glow-2 {
  width: 500px; height: 500px;
  background: #a855f7;
  bottom: -100px; right: -80px;
  animation: drift2 20s ease-in-out infinite alternate;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(80px, 60px); }
}

@keyframes drift2 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-60px, -80px); }
}

/* ── Fade-in animation ── */
.fade-in {
  animation: fadeUp .9s ease-out both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  width: 100%;
  max-width: 1100px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #4ea8ff 0%, #a855f7 100%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 40px rgba(78, 168, 255, .25);
}

.logo {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -2px;
  color: #ffffff;
}

.logo span {
  background: linear-gradient(135deg, #4ea8ff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 300;
  color: #7b8da6;
  margin-top: .4rem;
  letter-spacing: .5px;
}

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #4ea8ff, #a855f7);
  margin: 2rem auto;
  border-radius: 2px;
}

.description {
  font-size: 1.05rem;
  color: #8a9bb5;
  max-width: 480px;
  margin: 0 auto;
  font-weight: 300;
}

.translation {
  margin-top: 1.15rem;
  color: #9fb0c7;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, .06);
}

.translation p {
  color: #9fb0c7;
}

.app-showcase {
  max-width: 760px;
  margin: 1.8rem auto 0;
  text-align: left;
}

.app-showcase-header {
  max-width: 520px;
  margin: 0 auto 1rem;
  text-align: center;
}

.app-showcase-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.app-showcase-title-inline {
  color: #9fb0c7;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
}

.app-showcase-subtitle {
  margin-top: .45rem;
  color: #8a9bb5;
  font-size: .88rem;
  font-weight: 300;
}

.app-showcase-subtitle.translation {
  margin-top: .2rem;
  padding-top: 0;
  border-top: 0;
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.app-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: .8rem;
  padding: .75rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
  text-decoration: none;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  backdrop-filter: blur(12px);
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 168, 255, .32);
  box-shadow: 0 16px 36px rgba(78, 168, 255, .1);
}

.app-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -28px auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 168, 255, .12), transparent 70%);
  pointer-events: none;
}

.app-card-media {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(5, 10, 16, .8);
}

.app-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-card-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.app-card-title {
  color: #ffffff;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.app-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  justify-content: flex-start;
  margin-top: .25rem;
  color: #6fd5ff;
  font-size: .76rem;
  font-weight: 600;
}

.app-card-cta::after {
  content: "↗";
  font-size: .95rem;
}

/* ── Expertise cards ── */
.expertise {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 6rem;
}

.cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  flex: 1 1 260px;
  max-width: 320px;
  text-align: center;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  backdrop-filter: blur(12px);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(78, 168, 255, .3);
  box-shadow: 0 20px 60px rgba(78, 168, 255, .08);
}

.card-glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(78, 168, 255, .12), transparent 70%);
  pointer-events: none;
}

.card-icon {
  color: #4ea8ff;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: .6rem;
}

.card p {
  font-size: .9rem;
  color: #7b8da6;
  font-weight: 300;
}

/* ── Contact ── */
.contact {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 5rem;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: .9rem 2.5rem;
  background: linear-gradient(135deg, #4ea8ff, #a855f7);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 50px;
  letter-spacing: .3px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 24px rgba(78, 168, 255, .2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(78, 168, 255, .35);
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  text-align: center;
  color: #3d4d60;
  font-size: .8rem;
  font-weight: 300;
  border-top: 1px solid rgba(255, 255, 255, .04);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .logo { font-size: 2.6rem; }
  .logo-badge { width: 56px; height: 56px; font-size: 1.3rem; border-radius: 14px; }
  .tagline { font-size: 1rem; }
  .cards { flex-direction: column; align-items: center; }
  .card { max-width: 100%; }
  .app-cards { grid-template-columns: 1fr; }
  .app-card { padding: .75rem; }
  .app-showcase { margin-top: 1.8rem; }
}

@media (max-width: 900px) {
  .app-cards { grid-template-columns: 1fr; }
}
