/* ========================================
   MODERN LANDING PAGE STYLES
   ======================================== */

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   LOADING SCREEN
   ======================================== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

.splash-screen::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

.splash-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 1;
}

.splash-logo {
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.splash-logo .logo-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.splash-logo svg {
  width: 80px;
  height: 80px;
  color: white;
}

.splash-logo .logo-circle {
  animation: draw-circle 2s ease-in-out infinite;
}

.splash-logo .logo-check {
  animation: draw-check 2s ease-in-out infinite;
  animation-delay: 0.5s;
}

.splash-title {
  margin-bottom: 3rem;
}

.splash-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease-out;
}

.splash-title p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 300;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.splash-screen .loading-container {
  width: 250px;
  margin: 0 auto;
  position: static;
  background: transparent;
  display: block;
  height: auto;
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.loading-progress {
  height: 100%;
  background: white;
  border-radius: 2px;
  animation: progress 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Loading Animations */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes draw-circle {
  0%,
  100% {
    stroke-dasharray: 0 500;
  }
  50% {
    stroke-dasharray: 500 500;
  }
}

@keyframes draw-check {
  0%,
  100% {
    stroke-dasharray: 0 100;
  }
  50% {
    stroke-dasharray: 100 100;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Loading Screen */
@media (max-width: 768px) {
  .splash-title h1 {
    font-size: 2rem;
  }

  .splash-title p {
    font-size: 1rem;
  }

  .splash-logo .logo-wrapper {
    width: 100px;
    height: 100px;
  }

  .splash-logo svg {
    width: 70px;
    height: 70px;
  }

  .splash-screen .loading-container {
    width: 200px;
  }
}

.app {
  display: none;
}

/* ========================================
   GRADIENT TEXT
   ======================================== */
.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% 200%;
}

/* Gold Luxury Text */
.gold-luxury-text {
  background: linear-gradient(
    135deg,
    #ffd700 0%,
    #ffed4e 25%,
    #ffb347 50%,
    #ffd700 75%,
    #fff8dc 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 3s ease infinite;
  background-size: 200% 200%;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
  font-weight: 900;
  letter-spacing: 2px;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gold-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./bg.svg") no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

/* Animated background particles */
.hero-background::before,
.hero-background::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-background::before {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-background::after {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInDown 1s ease;
}

.badge-text {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  /* animation: fadeInUp 1s ease 0.2s both; */
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.typing-effect {
  display: inline-block;
  border-right: 3px solid #ffffff;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease 0.6s both;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.social-link:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeIn 1s ease 1s both;
}

.mouse {
  width: 28px;
  height: 45px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s ease infinite;
}

@keyframes scroll {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

.arrow-down {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arrow-down span {
  display: block;
  width: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  animation: arrowMove 1.5s ease infinite;
}

.arrow-down span:nth-child(2) {
  animation-delay: 0.15s;
}
.arrow-down span:nth-child(3) {
  animation-delay: 0.3s;
}

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

/* ========================================
   SECTION STYLES
   ======================================== */
.services-section,
.utilities-section {
  padding: 100px 0;
  position: relative;
  background: #ffffff;
}

.services-section {
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.utilities-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.service-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.service-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: -1;
}

/* ========================================
   CTA BUTTON
   ======================================== */
.cta-button {
  position: relative;
  display: inline-block;
  padding: 1.25rem 3.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 1.375rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
}

.cta-button:hover .cta-glow {
  transform: translate(-50%, -50%) scale(1.5);
}

/* ========================================
   UTILITY CARDS
   ======================================== */
.utility-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  min-height: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.utility-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.utility-card:hover::before {
  left: 100%;
}

.utility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

.utility-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.utility-card:hover .utility-image {
  transform: scale(1.1) rotate(5deg);
}

.utility-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.utility-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.utility-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.utility-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-hot {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: #ffffff;
}

.badge-custom {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
}

.badge-collected {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #ffffff;
}

.badge-mod {
  background: linear-gradient(135deg, #fa709a, #fee140);
  color: #ffffff;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #ffffff;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.5),
    transparent
  );
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  position: relative;
  transition: all 0.3s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

#goUpBtn {
  display: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
  .services-section,
  .utilities-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .social-links {
    gap: 1rem;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .service-card {
    min-height: 250px;
    padding: 2rem;
  }

  .cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }

  .utility-card {
    min-height: 180px;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .services-section,
  .utilities-section {
    padding: 40px 0;
  }

  .hero-badge {
    padding: 0.4rem 1rem;
  }

  .badge-text {
    font-size: 0.75rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }

  .service-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.5rem;
  }

  .utility-image {
    width: 64px;
    height: 64px;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.125rem;
  }
}

/* ========================================
   LEGACY SUPPORT
   ======================================== */
.link {
  transition: all 0.3s ease;
}

.link:hover {
  opacity: 0.8;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .qr-container {
    gap: 20px;
  }

  .qr-card {
    padding: 20px;
  }

  .qr-code img {
    width: 180px;
    height: 180px;
  }
}
