@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --white: #080510;
  --bg: #080510;
  --bg-alt: #0c0a1a;
  --text: #eee8ff;
  --text-secondary: #9a8fc2;
  --text-light: #6b5f8a;
  --accent: #702ead;
  --accent2: #00d4ff;
  --accent-soft: rgba(124, 92, 252, 0.08);
  --gradient: linear-gradient(135deg, #d3c3f8 0%, #00d4ff 50%, #7c5cfc 100%);
  --border: rgba(124, 92, 252, 0.12);
  --radius: 20px;
  --shadow-sm: 0 2px 12px rgba(124, 92, 252, 0.08);
  --shadow-md: 0 8px 30px rgba(124, 92, 252, 0.12);
  --shadow-lg: 0 20px 60px rgba(124, 92, 252, 0.15);
  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  --card-bg: rgba(18, 18, 35, 0.7);
  --glow: 0 0 40px rgba(124, 92, 252, 0.2);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Noto Sans Georgian', 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #0d0d1a;
  border: none;
  border-radius: 980px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }

  .nav-links li.show-mobile {
    display: block !important;
  }
}

@media (max-width: 600px) {
  .navbar {
    height: 52px;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-cta {
    padding: 6px 16px;
    font-size: 0.75rem;
  }
}

/* ===== BUTTONS — PREMIUM ANIMATIONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: none;
}

.btn-primary:hover {
  background: rgba(124, 92, 252, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: var(--glow);
}

.btn-primary:hover::before {
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  background: transparent;
  color: var(--accent);
  border: none;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
  background: rgba(0, 113, 227, 0.06);
  transform: translateX(4px);
}

.btn-secondary i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover i {
  transform: translateX(6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a14;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(0, 113, 227, 0.06);
  border-radius: 980px;
  border: 1px solid rgba(0, 113, 227, 0.1);
  opacity: 0;
  animation: fadeUp 0.8s 0.1s ease forwards;
}

.hero-eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(52, 199, 89, 0);
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 850px;
  margin: 0 auto 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s ease forwards;
}

.hero h1 .gradient {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.trust-bar .container {
  text-align: center;
}

.trust-bar p {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-numbers {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.trust-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== SECTIONS ===== */
section {
  padding: 120px 0;
}

.section-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== VIDEO SERVICE CARDS ===== */
.service-cards-section {
  padding: 120px 0;
  background: var(--bg);
}

.sc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sc-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 32px;
  padding: 60px 40px;
  border: 1px solid var(--border);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.sc-card:hover {
  box-shadow: var(--glow), 0 30px 60px rgba(0, 0, 0, 0.3);
}

.sc-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.sc-video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.sc-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-card:hover .sc-video {
  opacity: 1;
}

.sc-content {
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.sc-card:hover .sc-content {
  transform: translateY(-10px);
}

.sc-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 24px;
  transition: color 0.4s ease;
}

.sc-card:hover .sc-icon,
.sc-card:hover h3,
.sc-card:hover p {
  color: #fff;
}

.sc-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.sc-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color 0.4s ease;
}

@media (max-width: 968px) {
  .sc-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}

.about-left {
  position: sticky;
  top: 100px;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 20px;
  border-radius: 2px;
}

.about-lead {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 30px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.about-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-text strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-left {
    position: static;
  }

  .about-lead {
    font-size: 1.5rem;
  }
}

/* ===== SERVICES ===== */
#services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 113, 227, 0.15);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.si-blue {
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
}

.si-green {
  background: rgba(52, 199, 89, 0.08);
  color: #34c759;
}

.si-orange {
  background: rgba(255, 149, 0, 0.08);
  color: #ff9500;
}

.si-purple {
  background: rgba(175, 82, 222, 0.08);
  color: #af52de;
}

.si-red {
  background: rgba(255, 59, 48, 0.08);
  color: #ff3b30;
}

.si-teal {
  background: rgba(90, 200, 250, 0.08);
  color: #5ac8fa;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: var(--bg);
}

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

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
}

.portfolio-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 113, 227, 0.1);
}

.portfolio-preview {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.portfolio-preview .mini-site {
  transition: transform 6s ease;
}

.portfolio-card:hover .portfolio-preview .mini-site {
  transform: translateY(-20px);
}

.mini-site {
  width: 100%;
  height: 100%;
}

.mini-bar {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mini-dot:nth-child(1) {
  background: #ff5f57;
}

.mini-dot:nth-child(2) {
  background: #ffbd2e;
}

.mini-dot:nth-child(3) {
  background: #28c840;
}

.mini-url {
  margin-left: 12px;
  height: 14px;
  border-radius: 4px;
  flex: 1;
  max-width: 160px;
  opacity: 0.12;
  background: currentColor;
}

.mini-body {
  padding: 20px 16px;
  height: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mini-h {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.mini-p {
  font-size: 0.5rem;
  opacity: 0.5;
  margin-bottom: 12px;
}

.mini-button {
  padding: 5px 16px;
  border-radius: 980px;
  font-size: 0.45rem;
  font-weight: 600;
}

.mini-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 90%;
  margin-top: 14px;
}

.mini-block {
  height: 28px;
  border-radius: 6px;
}

.t-restaurant {
  background: #faf7f2;
  color: #1d1d1f;
}

.t-hotel {
  background: #f0f4f8;
  color: #0c3b5e;
}

.t-fitness {
  background: #111;
  color: #fff;
}

.t-fitness .mini-bar {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.06);
}

.t-salon {
  background: #fdf5f5;
  color: #8b4557;
}

.t-shop {
  background: #fafafa;
  color: #1d1d1f;
}

.t-cafe {
  background: #f7f3ee;
  color: #3d5a3a;
}

.portfolio-info {
  padding: 20px 24px;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--bg-alt);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.portfolio-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-info p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* ===== PROCESS ===== */
#process {
  background: var(--bg-alt);
}

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

.process-step {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 113, 227, 0.15);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 20px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
#pricing {
  padding: 120px 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 2000px;
}

.pricing-card {
  background: var(--card-bg);
  padding: 50px 40px;
  border-radius: 32px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--glow), 0 40px 80px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
  background: linear-gradient(135deg, #7c5cfc 0%, #5a3de8 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(124, 92, 252, 0.3);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: #ff3b30;
  /* Vibrant Red for Sale */
  color: #fff;
  padding: 8px 45px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
  z-index: 10;
  white-space: nowrap;
}

.pricing-card.popular .popular-badge {
  background: #fff;
  color: #7c5cfc;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.price-tag {
  margin-bottom: 32px;
}

.price-tag .amount {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-tag .period {
  font-size: 0.9rem;
  opacity: 0.6;
}

.features {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
  flex-grow: 1;
}

.features li {
  padding: 12px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.pricing-card.popular .features li {
  border-color: rgba(255, 255, 255, 0.1);
}

.check {
  color: #34c759;
  font-weight: 700;
}

.price-btn {
  width: 100%;
  padding: 16px;
  border-radius: 980px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.price-btn-outline {
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  border: 1px solid var(--text);
}

.price-btn-outline:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.price-btn-white {
  background: #fff;
  color: #7c5cfc;
  font-size: 0.95rem;
}

.price-btn-white:hover {
  background: #eee8ff;
}

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
  position: relative;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-contact {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.cta-contact a {
  color: var(--accent);
  font-weight: 600;
  transition: var(--transition);
}

.cta-contact a:hover {
  text-decoration: underline;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
  padding: 120px 0;
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  perspective: 2000px;
}

.portfolio-item {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.browser-frame {
  background: var(--bg-alt);
  border-radius: 24px;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  border: 1px solid rgba(124, 92, 252, 0.2);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.browser-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.8) 0%, rgba(0, 212, 255, 0.8) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.browser-frame:hover::after {
  opacity: 1;
}

.browser-frame:hover {
  box-shadow: var(--glow), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.browser-body {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: inherit;
  z-index: 1;
}

.mockup-content {
  text-align: center;
  padding: 30px;
}

.mockup-content h4 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.mockup-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 24px;
  background: #000;
  color: #fff;
  border-radius: 980px;
  font-size: 0.8rem;
  font-weight: 600;
}

.mockup-sakura {
  background: #0a0a0a;
  color: #e8e0d4;
}

.mockup-palazzo {
  background: #faf8f4;
  color: #2a2420;
}

.mockup-ember {
  background: #111;
  color: #f0ece4;
}

.mockup-verde {
  background: #f8faf5;
  color: #1a2e1a;
}

.mockup-hero-img {
  position: absolute;
  inset: -1px;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.6s ease;
  border-radius: inherit;
}

.portfolio-item:hover .mockup-hero-img {
  transform: scale(1.1);
}

.mockup-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mockup-mini-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.mockup-mini-logo {
  font-size: 0.6rem;
  font-weight: 800;
}

.mockup-mini-btn {
  font-size: 0.45rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 980px;
}

.mockup-tag {
  display: inline-block;
  font-size: 0.45rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 980px;
}

.mockup-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 20px;
  text-align: center;
}

.mockup-content h4 {
  margin-bottom: 4px;
  line-height: 1.1;
}

.mockup-content p {
  font-size: 0.7rem;
  margin-bottom: 12px;
  opacity: 0.8;
}

.portfolio-info {
  margin-top: 20px;
}

.portfolio-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-info span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== NATIVE REVEAL SYSTEM ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.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;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ===== SCROLL TOP BTN ===== */
#scrollTop:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.4);
}

/* ===== CARD SHINE OVERLAY ===== */
.card-shine {
  transition: background 0.15s ease;
}

.portfolio-card {
  transform-style: preserve-3d;
}

.portfolio-card:hover .portfolio-info h3 {
  color: var(--accent);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: rgba(0, 113, 227, 0.05);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

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

/* ===== SECTION DIVIDER GRADIENT ===== */
#services::before,
#process::before {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

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

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  section {
    padding: 80px 0;
  }

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

  .about-left {
    position: static;
  }

  .about-lead {
    font-size: 1.5rem;
  }

  .browser-body {
    height: 260px;
  }

  .cta {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 100vh;
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-desc {
    margin: 12px auto 0;
  }

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

  .trust-numbers {
    gap: 30px;
    flex-direction: column;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  .sc-card {
    padding: 40px 24px;
    min-height: 320px;
  }

  .sc-card h3 {
    font-size: 1.5rem;
  }

  .pricing-card {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .price-tag .amount {
    font-size: 2.8rem;
  }

  .browser-body {
    height: 220px;
  }

  .browser-frame {
    border-radius: 16px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .navbar {
    height: 48px;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-cta {
    padding: 5px 12px;
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    font-size: 0.85rem;
    padding: 12px 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .sc-card {
    padding: 30px 20px;
    min-height: 280px;
  }

  .sc-card h3 {
    font-size: 1.3rem;
  }

  .portfolio-info h3 {
    font-size: 1.1rem;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .price-tag .amount {
    font-size: 2.4rem;
  }

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

/* ===== SMOOTH SCROLL (LENIS) ===== */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ===== CANVAS BACKGROUND STYLES ===== */
#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  /* Allow tracking */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 5, 16, 0.4) 50%, rgba(8, 5, 16, 0.8) 80%, rgba(8, 5, 16, 1) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(8, 5, 16, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}