*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary: #ff0000;
  --secondary: #0d47a1;
  --flag-white: #ffffff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.8);
  --text-dark: #1b1c23;
  --muted-dark: #6f7385;
  --white: #ffffff;
  --accent-gradient: #ff0000;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #000000;
  position: relative;
  overflow-x: hidden;
  --bg-mouse-x: 0px;
  --bg-mouse-y: 0px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/dubrovnikbg.jpg") center/cover no-repeat;
  transform: translate3d(var(--bg-mouse-x), var(--bg-mouse-y), 0) scale(1.04);
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  background-color: rgba(0, 0, 0, 0.12);
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 0, 0, 0.5),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(13, 71, 161, 0.5),
      transparent 55%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255, 255, 255, 0.35),
      transparent 60%
    );
  background-position: 50% 50%;
  mix-blend-mode: normal;
  opacity: 1;
  filter: blur(0.5px) saturate(1.3);
  background-size: 160% 160%;
  will-change: transform;
  animation: bgDrift 12s ease-in-out infinite,
    bgPulse 6s ease-in-out infinite, bgSpin 18s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(
    180deg,
    #ff0000 0%,
    #ff0000 32%,
    #ffffff 36%,
    #ffffff 64%,
    #0d47a1 68%,
    #0d47a1 100%
  );
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0 12px;
  min-height: 110px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand-line {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  column-gap: 14px;
  justify-content: center;
}

.glagolitic-text {
  font-family: "Noto Sans Glagolitic", "Segoe UI Symbol", "Segoe UI", system-ui,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000000;
  min-width: 80px;
}

@media (min-width: 900px) {
  .glagolitic-text {
    position: relative;
    top: 30px;
  }
}

.glagolitic-left {
  justify-self: end;
}

.brand-line .glagolitic-text:not(.glagolitic-left) {
  justify-self: start;
}

.brand-mark {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  margin-top: 4px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  border: none;
  animation: logoBreath 4s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-mark img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.nav a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  transform: translateY(-1px);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-pill {
  padding: 8px 14px;
  border-radius: 18px;
  background: var(--primary);
  color: var(--flag-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.nav-pill::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-120%);
  animation: shimmer 9s ease-in-out infinite;
  opacity: 0.5;
  pointer-events: none;
}

.nav-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.hero {
  padding: 0 0 40px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
  margin-top: -20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 0, 0, 0.15),
    transparent 55%
  );
  opacity: 0.5;
  filter: blur(16px);
  animation: orbFloat 14s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    circle at 80% 30%,
    rgba(13, 71, 161, 0.12),
    transparent 55%
  );
  opacity: 0.45;
  filter: blur(18px);
  animation: orbFloat 16s ease-in-out infinite;
  animation-delay: -6s;
  z-index: 0;
}

.hero-grid {
  display: grid;
  gap: 60px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 0 0 6px;
  animation: titleGlow 8s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.hero-subtitle span {
  color: var(--primary);
  animation: hueShift 8s ease-in-out infinite;
}

.lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:active {
  transform: translateY(0) scale(0.98);
  filter: brightness(0.98);
}

.btn.primary {
  background: var(--accent-gradient);
  color: var(--flag-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
  animation: pulse 5s ease-in-out infinite;
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: rgba(255, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn.primary::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-120%);
  animation: shimmer 8s ease-in-out infinite;
  opacity: 0.6;
}

.btn.primary:hover::before {
  opacity: 0.9;
}

.btn.primary:hover::after {
  opacity: 0.5;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
  filter: brightness(1.05);
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  justify-content: center;
}

.hero-badges span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: badgePulse 7s ease-in-out infinite;
}

.hero-badges span:nth-child(2n) {
  animation-delay: -2s;
}

.hero-badges span:nth-child(3n) {
  animation-delay: -4s;
}

.hero-badges span:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.14);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  opacity: 0.5;
  filter: blur(2px);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 0;
  animation: pulse 6s ease-in-out infinite;
  display: none;
}

.phone {
  width: 328px;
  height: 677px;
  border-radius: 32px;
  background: #101216;
  padding: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite, phoneParallax 9s ease-in-out infinite;
  transform-style: preserve-3d;
}

.phone-top {
  width: 60px;
  height: 6px;
  background: #2a2d35;
  border-radius: 4px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #0f1115;
  border-radius: 24px;
  height: calc(100% - 20px);
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: contain;
  object-position: center 70%;
  animation: screenshotDrift 10s ease-in-out infinite;
}

.screen-logo {
  display: flex;
  justify-content: center;
}

.screen-logo img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
}

.screen-header {
  display: flex;
  gap: 6px;
}

.screen-header span {
  width: 24px;
  height: 6px;
  border-radius: 6px;
  background: #cfd5e5;
}

.screen-card {
  height: 70px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(16, 18, 22, 0.08);
  animation: fadeUp 0.9s ease both;
}

.screen-card.accent {
  background: var(--primary);
}

.screen-footer {
  height: 34px;
  border-radius: 16px;
  background: #e8ecf6;
}

.section {
  padding: 10px 0;
  position: relative;
}

.section::before {
  display: none;
}

.section.alt {
  background: transparent;
}

section#features {
  background: transparent;
}

section#stats {
  background: transparent;
}

section#contact {
  background: transparent;
}

.section-header {
  max-width: 680px;
  margin-bottom: 24px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease both;
}

.section-header h2 {
  margin: 10px 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: transparent;
  font-weight: 700;
}

.brand-title,
.hero-title,
.hero-subtitle,
.section-header h2,
.card h3,
.step h3,
.app-panel-header h3,
.stat-card span,
.strip-item strong,
.eyebrow {
  color: #ffffff;
  background: none;
}

.site-header,
.hero,
.section-header,
.site-footer {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.grid {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
  justify-content: center;
  justify-items: center;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
}

.feature-rows {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  justify-items: center;
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-row::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: rgba(255, 0, 0, 0.12);
  transform: translateX(-120%);
  animation: shimmer 7s ease-in-out infinite;
  opacity: 0.35;
}

.feature-row:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.22);
}

.feature-row * {
  color: var(--text-dark);
}

.feature-row h3 {
  color: var(--secondary);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  animation: softFloat 7s ease-in-out infinite;
}

@media (min-width: 1100px) {
  .feature-rows {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
  .feature-row {
    padding: 20px 22px;
  }
}

.card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card,
.premium-card,
.feature-row,
.timeline-item,
.stat-card,
.stat-line,
.app-panel,
.glass-card,
.strip-item,
.contact-card {
  animation: softFloat 12s ease-in-out infinite, cardBreath 9s ease-in-out infinite;
}

.premium-card,
.feature-row,
.timeline-item,
.stat-card,
.stat-line,
.contact-card,
.app-panel,
.glass-card,
.strip-item,
.mini-card,
.profile-card {
  width: 100%;
}

.card,
.app-panel,
.stat-card,
.timeline-item,
.contact-card,
.glass-card,
.mini-card,
.stat-line,
.chat-panel,
.profile-card,
.chat-input {
  position: relative;
  overflow: hidden;
}

.card::after,
.app-panel::after,
.stat-card::after,
.timeline-item::after,
.contact-card::after,
.glass-card::after,
.mini-card::after,
.stat-line::after,
.chat-panel::after,
.profile-card::after,
.chat-input::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: rgba(255, 0, 0, 0.12);
  transform: translateX(-120%);
  animation: shimmer 9s ease-in-out infinite;
  opacity: 0.3;
  pointer-events: none;
}

.card * {
  color: var(--text-dark) !important;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.16);
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  justify-items: center;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.timeline-item * {
  color: var(--text-dark);
}

.timeline-item h3 {
  color: var(--secondary);
}

@media (min-width: 1100px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

.timeline-item * {
  color: var(--text-dark);
}

.step {
  background: var(--white);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.12);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--flag-white);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  font-weight: 700;
}

.stats {
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
}

.stat-card {
  background: var(--white);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.stat-card span {
  font-size: 28px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-lines {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  justify-items: center;
}

.stat-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.line-label {
  color: var(--muted-dark);
}

.line-value {
  font-weight: 700;
}

@media (min-width: 1100px) {
  .stat-lines {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

.contact {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  align-items: center;
  text-align: center;
  justify-content: center;
  justify-items: center;
}

.cta-banner {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.25);
}

.cta-banner h2,
.cta-banner p,
.cta-banner span {
  color: var(--white);
}

.cta-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.cta-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  gap: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-preview {
  background: transparent;
}

.premium-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  position: relative;
  z-index: 1;
  justify-content: center;
  justify-items: center;
}

.premium-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.premium-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: rgba(255, 0, 0, 0.12);
  transform: translateX(-120%);
  animation: shimmer 6s ease-in-out infinite;
  opacity: 0.5;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.25);
}

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

.premium-card * {
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.premium-card h3 {
  color: var(--secondary);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 10px;
}

.premium-card ul {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
  color: var(--muted-dark);
}

.app-panels {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  justify-items: center;
}

.app-panel {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 14px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.app-panel * {
  color: var(--text-dark) !important;
}

.app-panel:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.18);
}

.app-panel-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.app-panel-header h3 {
  margin: 0 0 4px;
}

.app-panel-header p {
  margin: 0;
  color: var(--muted-dark);
}

.app-panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--flag-white);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.app-panel-body {
  display: grid;
  gap: 12px;
}

.panel-pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.12);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 12px;
}

.mini-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.mini-card p {
  margin: 4px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.received {
  background: var(--primary);
}

.status-dot.progress {
  background: var(--primary);
}

.chat-panel {
  background: var(--white);
  color: var(--text-dark);
  padding: 12px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 6px 12px rgba(16, 18, 22, 0.08);
  display: grid;
  gap: 4px;
  animation: bubblePop 0.8s ease both;
}

.chat-bubble.left {
  justify-self: start;
}

.chat-bubble.right {
  justify-self: end;
  background: rgba(21, 101, 192, 0.12);
}

.bubble-name {
  font-size: 12px;
  color: var(--muted-dark);
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  color: var(--muted-dark);
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 6px 12px rgba(16, 18, 22, 0.08);
}

.send-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  animation: pulse 4s ease-in-out infinite;
}

.profile-panel {
  gap: 14px;
}

.profile-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--white);
  color: var(--text-dark);
  border-radius: 18px;
  box-shadow: 0 6px 12px rgba(16, 18, 22, 0.08);
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
}

.profile-card p {
  margin: 4px 0 0;
  color: var(--muted-dark);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.profile-stats div {
  background: var(--white);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(16, 18, 22, 0.08);
}

.profile-stats span {
  font-weight: 700;
}

.experience {
  background: transparent;
}

.experience-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  justify-items: center;
}

.experience-grid h3 {
  color: var(--secondary);
}

.glass-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blue-title {
  color: var(--secondary) !important;
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.18);
}

.glass-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--flag-white);
  margin-bottom: 12px;
  align-self: center;
  justify-self: center;
  animation: softFloat 6.5s ease-in-out infinite;
}

.experience-strip {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  justify-items: center;
}

.strip-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strip-item * {
  color: var(--text-dark) !important;
}

.mini-card *,
.chat-panel *,
.chat-bubble *,
.profile-card *,
.profile-stats * {
  color: var(--text-dark) !important;
}

.strip-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.strip-item span {
  color: var(--muted-dark);
  font-size: 13px;
}

@media (max-width: 600px) {
  .premium-grid,
  .experience-grid,
  .app-panels,
  .feature-rows,
  .timeline,
  .stats,
  .stat-lines,
  .experience-strip,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .container {
    width: min(980px, 94%);
  }
  .hero {
    padding: 50px 0 36px;
  }
  .hero-grid {
    gap: 36px;
  }
  .premium-grid,
  .experience-grid,
  .app-panels,
  .feature-rows,
  .timeline,
  .stats,
  .stat-lines,
  .experience-strip,
  .contact {
    grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  }
  .feature-rows {
    grid-template-columns: repeat(2, minmax(240px, 260px));
  }
  .phone {
    width: 300px;
    height: 620px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .container {
    width: min(1100px, 94%);
  }
  .premium-grid,
  .experience-grid,
  .app-panels,
  .feature-rows,
  .timeline,
  .stats,
  .stat-lines,
  .experience-strip,
  .contact {
    grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  }
  .feature-rows {
    grid-template-columns: repeat(3, minmax(240px, 260px));
  }
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.site-footer {
  padding: 30px 0;
  background-color: #ffffff;
  background-image: linear-gradient(
      45deg,
      #ff0000 25%,
      transparent 25%,
      transparent 75%,
      #ff0000 75%,
      #ff0000
    ),
    linear-gradient(
      45deg,
      #ff0000 25%,
      transparent 25%,
      transparent 75%,
      #ff0000 75%,
      #ff0000
    );
  background-position: 0 0, 40px 40px;
  background-size: 80px 80px;
  color: #000000;
  text-shadow: none;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-top: 3px solid #0d47a1;
}


.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 16px 30px rgba(13, 71, 161, 0.25);
  color: #000000;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: #000000;
}

.footer-links a {
  transition: color 0.25s ease;
  color: inherit;
}

.footer-links a:hover {
  color: inherit;
}

.footer-glagolitic {
  font-family: "Noto Sans Glagolitic", "Segoe UI Symbol", "Segoe UI", system-ui,
    sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: #000000;
  font-weight: 700;
  animation: glagoliticWave 10s ease-in-out infinite;
}

.footer-inner p {
  color: #000000;
  font-weight: 700;
}

.footer-cta {
  font-weight: 700;
  padding: 10px 16px;
}

.hero-content {
  text-align: center;
  animation: fadeUp 0.8s ease both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  animation: logoBreath 4s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.hero-visual {
  animation: fadeUp 1s ease both;
}

.reveal,
.reveal-item,
section {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.in-view,
.reveal-item.in-view,
section.in-view {
  animation: fadeSlideUp 0.8s ease both;
}

section.in-view {
  animation: fadeSlideUp 0.8s ease both, sectionDrift 18s ease-in-out infinite;
}

.reveal-item:nth-child(2n) {
  transition-delay: 0.08s;
}

.reveal-item:nth-child(3n) {
  transition-delay: 0.16s;
}

.reveal-item:nth-child(4n) {
  transition-delay: 0.24s;
}

.section {
  animation: fadeUp 0.9s ease both;
}

section:nth-of-type(2) {
  animation-delay: 0.05s;
}

section:nth-of-type(3) {
  animation-delay: 0.1s;
}

section:nth-of-type(4) {
  animation-delay: 0.15s;
}

section:nth-of-type(5) {
  animation-delay: 0.2s;
}

.card,
.premium-card,
.feature-row,
.timeline-item,
.stat-line,
.app-panel,
.glass-card,
.mini-card,
.chat-bubble,
.profile-card,
.stat-card {
  animation: softFloat 10s ease-in-out infinite;
  will-change: transform;
}

.card:nth-child(2n),
.app-panel:nth-child(2n),
.glass-card:nth-child(2n),
.stat-card:nth-child(2n) {
  animation-delay: -3s;
}

.card:nth-child(3n),
.app-panel:nth-child(3n),
.glass-card:nth-child(3n),
.stat-card:nth-child(3n) {
  animation-delay: -6s;
}

@keyframes hueShift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(8deg);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  50% {
    transform: translateY(18px) translateX(12px) scale(1.05);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes phoneParallax {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-6px) rotateX(1.2deg) rotateY(-1.2deg);
  }
}

@keyframes screenshotDrift {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes bubblePop {
  0% {
    transform: scale(0.98);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

@keyframes logoBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }
  50% {
    text-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.02);
  }
}

@keyframes sectionDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes cardBreath {
  0%,
  100% {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
  }
}

@keyframes glagoliticWave {
  0%,
  100% {
    letter-spacing: 3px;
  }
  50% {
    letter-spacing: 5px;
  }
}

@keyframes bgDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2%, -1%, 0) scale(1.03);
  }
}

@keyframes bgPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes bgSpin {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(-1%, -1%, 0) scale(1.04) rotate(0.5deg);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero {
    padding-top: 30px;
  }
}
