:root {
  --wa-green: #25d366;
  --wa-green-glow: rgba(37, 211, 102, 0.4);
  --wa-dark-green: #128c7e;
  --accent: #25d366;
  --accent-2: #128c7e;
  --text-primary: #1a1d20;
  --text-secondary: #5e6c75;
  --bg-color: #f0f4f8;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --card-bg: rgba(255, 255, 255, 0.9);
  --bubble-bg: #fff;
  --footer-bg: #0b141a;
}

.brand-diamond {
  --accent: #128c7e;
  --accent-2: #1976d2;
}

.brand-reddy {
  --accent: #d3202f;
  --accent-2: #f1b93b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  perspective: 1000px;
  cursor: pointer;
}

a {
  color: inherit;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--wa-green);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
  box-shadow: 0 0 10px var(--wa-green-glow);
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.8;
  animation: pulseShape 12s infinite alternate ease-in-out;
}

.shape-1 {
  width: 450px;
  height: 450px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  top: -50px;
  right: -100px;
}

.shape-2 {
  width: 550px;
  height: 550px;
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  bottom: 10%;
  left: -150px;
  animation-delay: -5s;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark,
.profile-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 800;
}

.logo-mark {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.1) rotate(5deg);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: color 0.3s;
}

nav a i {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--wa-green);
  transition: width 0.3s ease;
}

nav a:hover,
nav a:hover i {
  color: var(--wa-green);
}

nav a:hover::after {
  width: 100%;
}

.download-btn {
  background-color: var(--text-primary);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-btn i {
  color: #fff !important;
}

.download-btn::after {
  display: none;
}

.download-btn:hover {
  background-color: var(--wa-green) !important;
  box-shadow: 0 6px 20px var(--wa-green-glow);
  transform: translateY(-2px);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
}

.content-card {
  width: 100%;
  max-width: 480px;
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.02);
  opacity: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transform: perspective(1000px) translateY(50px) scale(0.95);
  animation: cardEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
}

.content-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: shineSweep 4s infinite 2s;
  pointer-events: none;
  border-radius: 36px;
}

.avatar-wrapper {
  position: relative;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateZ(40px);
  animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  font-size: 54px;
}

.online-dot {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background-color: var(--wa-green);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--wa-green-glow);
  animation: pulseGlow 2s infinite;
}

.contact-name-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateZ(30px);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-name {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  background: linear-gradient(135deg, #111b21, #4a5568);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-name-wrapper svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.message-preview {
  background-color: var(--bubble-bg);
  padding: 18px 24px;
  border-radius: 20px;
  border-bottom-left-radius: 4px;
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 34px;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateZ(50px);
}

.message-preview::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--bubble-bg);
  border-bottom-right-radius: 16px;
  z-index: -1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.open-app-btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border-radius: 50px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--wa-green), #1ebe5d);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px var(--wa-green-glow);
  opacity: 0;
  transform: translateZ(40px);
  animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.open-app-btn i {
  font-size: 22px;
}

.open-app-btn:hover {
  transform: translateZ(40px) translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px var(--wa-green-glow);
}

.divider-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateZ(20px);
  animation: fadeIn 0.35s ease forwards;
}

.download-link {
  color: var(--wa-green);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  opacity: 0;
  transform: translateZ(20px);
  animation: fadeIn 0.35s ease forwards;
}

.download-link:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--footer-bg);
  color: #fff;
  padding: 80px 5% 40px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 0 auto 60px;
  max-width: 1200px;
}

.footer-col h4 {
  font-size: 13px;
  color: #8696a0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 16px;
}

.footer-col a {
  color: #e9edef;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.footer-col a i {
  font-size: 12px;
  color: #8696a0;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--wa-green);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #8696a0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom a {
  color: #8696a0;
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  20%,
  80% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: perspective(1000px) translateY(60px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: perspective(1000px) translateY(0) scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateZ(30px) translateY(20px);
  }

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

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateZ(40px) scale(0.8) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateZ(40px) scale(1) translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulseShape {
  from {
    transform: scale(1) translate(0, 0);
  }

  to {
    transform: scale(1.1) translate(20px, 30px);
  }
}

@keyframes shineSweep {
  0% {
    left: -100%;
  }

  20%,
  100% {
    left: 200%;
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 var(--wa-green-glow);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  header {
    justify-content: center;
  }

  nav {
    display: none;
  }

  main {
    padding: 40px 20px;
  }

  .content-card {
    padding: 40px 20px;
    border-radius: 24px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform-style: flat;
  }

  .content-card * {
    transform: none !important;
  }

  .contact-name {
    font-size: 36px;
  }

  .message-preview {
    font-size: 15px;
    padding: 16px 18px;
  }

  .open-app-btn {
    padding: 16px 22px;
    font-size: 16px;
  }

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

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

  .footer-bottom a {
    margin: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
