@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #060606;
  --bg-card: rgba(13, 13, 13, 0.45);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(253, 69, 69, 0.25);
  --accent-red: #FD4545;
  --accent-red-hover: #ff5c5c;
  --text-primary: #ffffff;
  --text-secondary: #8E8E93;
  --text-muted: #4e4e52;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  
  --shadow-glow: 0 0 30px rgba(253, 69, 69, 0.15);
  --shadow-glow-intense: 0 0 50px rgba(253, 69, 69, 0.35);
  --glass-blur: blur(20px);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  font-family: var(--font-sans);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  background-color: var(--bg-color);
  /* Modern Grid Background with Red Glows */
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(253, 69, 69, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 15% 45%, rgba(253, 69, 69, 0.02) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(253, 69, 69, 0.03) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: center top;
}

/* Page Layout Limits for Desktop 1440px target mockup */
.page-container {
  width: 100%;
  max-width: 1440px;
  min-height: 3200px; /* Target height match */
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Decorative grid dot accents */
.dots-accent {
  position: absolute;
  width: 160px;
  height: 240px;
  background-image: radial-gradient(rgba(253, 69, 69, 0.12) 1.5px, transparent 0);
  background-size: 20px 20px;
  opacity: 0.75;
  pointer-events: none;
}

.dots-accent.left-top {
  left: 40px;
  top: 320px;
}

.dots-accent.right-mid {
  right: 40px;
  top: 1400px;
}

.dots-accent.left-bottom {
  left: 40px;
  top: 2600px;
}

/* Glassmorphism utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Header / Brand Logo Transition Section */
.logo-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 80px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  height: 80px;
  min-width: 180px;
  border-radius: 18px;
  transition: all 0.3s ease;
}

.logo-wrapper.old-logo {
  background-color: #ffffff; /* Contrast for light-based old logo */
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.logo-wrapper.new-logo {
  background-color: #000000;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.logo-wrapper img {
  max-height: 48px;
  max-width: 220px;
  object-fit: contain;
}

/* Glowing, animated connector arrow */
.connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.connector svg {
  filter: drop-shadow(0 0 8px rgba(253, 69, 69, 0.7));
  animation: pulse-glow 3s infinite ease-in-out;
}

/* Hero Section typography and labels */
.hero-section {
  text-align: center;
  max-width: 860px;
  margin-bottom: 90px;
  z-index: 10;
}

.badge {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-red);
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
}

.badge::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

.headline {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.headline span {
  display: block;
  margin-top: 10px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

/* Soft red spotlight behind the text */
.gradient-text::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(circle, rgba(253, 69, 69, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.description {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}

.description strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* CTA Floating Card */
.cta-card {
  width: 100%;
  max-width: 820px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(253, 69, 69, 0.03), transparent);
  transform: rotate(35deg);
  pointer-events: none;
  animation: shine 8s infinite linear;
}

.icon-globe {
  font-size: 40px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(253, 69, 69, 0.08);
  border: 1px solid rgba(253, 69, 69, 0.15);
  border-radius: 50%;
  color: var(--accent-red);
  box-shadow: var(--shadow-glow);
}

.cta-text {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Premium Red Action Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 48px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent-red);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(253, 69, 69, 0.35), var(--shadow-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.15), transparent);
  opacity: 1;
  transition: opacity 0.3s;
}

.cta-btn:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253, 69, 69, 0.5), 0 0 35px rgba(253, 69, 69, 0.4);
}

.cta-btn:active {
  transform: translateY(1px);
}

.cta-btn svg {
  transition: transform 0.3s ease;
}

.cta-btn:hover svg {
  transform: translate(3px, -3px);
}

.cta-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.cta-meta svg {
  color: var(--accent-red);
}

/* Services Section */
.services-section {
  width: 100%;
  max-width: 1100px;
  margin-bottom: 120px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  margin-bottom: 48px;
  position: relative;
}

/* 3x2 Grid for services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 40px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent-red), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 40px rgba(253, 69, 69, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-icon {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(253, 69, 69, 0.08);
  border-color: rgba(253, 69, 69, 0.25);
  color: var(--accent-red);
  box-shadow: var(--shadow-glow);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.service-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Redirect Notice Card */
.redirect-card {
  width: 100%;
  max-width: 820px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 110px;
  border-radius: 20px;
  border: 1px solid rgba(253, 69, 69, 0.15);
  box-shadow: var(--shadow-glow);
}

.redirect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(253, 69, 69, 0.05);
  color: var(--accent-red);
  flex-shrink: 0;
  position: relative;
}

.redirect-icon svg {
  animation: tick-tock 2s infinite linear;
}

.redirect-content {
  flex-grow: 1;
}

.redirect-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.redirect-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-red);
  color: var(--accent-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 0 8px;
  box-shadow: var(--shadow-glow);
  animation: pulse-countdown 1s infinite alternate;
}

.redirect-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Split Section for Appreciation & Contact */
.split-section {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 140px;
}

.appreciation-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.heart-wrapper {
  margin-bottom: 28px;
  color: var(--accent-red);
  animation: heartbeat 2s infinite ease-in-out;
}

.heart-wrapper svg {
  width: 36px;
  height: 36px;
}

.appreciation-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 380px;
}

.appreciation-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-color: rgba(253, 69, 69, 0.1);
}

.contact-card:hover {
  border-color: rgba(253, 69, 69, 0.25);
  box-shadow: 0 15px 40px rgba(253, 69, 69, 0.05);
}

.envelope-wrapper {
  color: var(--accent-red);
  margin-bottom: 20px;
}

.envelope-wrapper svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.contact-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-red);
  transform: scaleX(0.2);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.contact-email:hover {
  color: var(--accent-red);
}

.contact-email:hover::after {
  transform: scaleX(1);
}

/* Footer Section */
.footer {
  width: 100%;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  z-index: 10;
}

.footer-left {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.footer-right {
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(253, 69, 69, 0.5));
    opacity: 0.8;
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(253, 69, 69, 0.95));
    opacity: 1;
  }
}

@keyframes pulse-countdown {
  0% {
    box-shadow: 0 0 10px rgba(253, 69, 69, 0.2);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 20px rgba(253, 69, 69, 0.5);
    transform: scale(1.05);
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1.05);
  }
  55% {
    transform: scale(1.15);
  }
}

@keyframes shine {
  0% {
    left: -120%;
  }
  100% {
    left: 120%;
  }
}

@keyframes tick-tock {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Responsive Scaling */
@media (max-width: 1200px) {
  .page-container {
    padding: 60px 48px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-container {
    padding: 40px 24px;
    min-height: auto;
  }
  .logo-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
  }
  .connector svg {
    transform: rotate(90deg);
  }
  .headline {
    font-size: 42px;
  }
  .description {
    font-size: 16px;
  }
  .cta-card {
    padding: 32px 24px;
    margin-bottom: 80px;
  }
  .cta-text {
    font-size: 18px;
  }
  .cta-btn {
    padding: 16px 36px;
    font-size: 16px;
    width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .redirect-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }
  .appreciation-card {
    padding: 32px;
  }
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
