:root {
  --primary-color: #f0652f;
  --primary-hover: #c9454d;
  --secondary-color: #49bdc9;
  --dark-text: #0e1011;
  --light-text: #62696a;
  --bg-light: #f8f9fa;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --transition-speed: 0.3s;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--dark-text);
  background-color: #fff;
  overflow-x: hidden;
}

/* Unified Header Styles */
body.home-new-page .header-logged-out {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
}

/* Hero Section */
/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0 80px;
  background-color: #fff8f4;
  background-image: radial-gradient(
      at 0% 0%,
      hsla(14, 87%, 56%, 0.08) 0px,
      transparent 50%
    ),
    radial-gradient(at 100% 0%, hsla(186, 55%, 54%, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(14, 87%, 56%, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(186, 55%, 54%, 0.05) 0px, transparent 50%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(240, 101, 47, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 1;
  animation: floatBlob 20s infinite alternate;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-20px, 30px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--dark-text), #333);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  color: var(--primary-color);
  -webkit-text-fill-color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.btn-hero {
  padding: 12px 32px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(240, 101, 47, 0.3);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 101, 47, 0.4);
}

.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-decoration-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.decoration-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: floatShape 10s infinite ease-in-out alternate;
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #f0652f 0%, #ff8e53 100%);
  animation-delay: 0s;
}

.shape-2 {
  bottom: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #49bdc9 0%, #6ce6f2 100%);
  animation-delay: -5s;
}

.shape-3 {
  top: 40%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ffbd2e 0%, #ffd479 100%);
  transform: translate(-50%, -50%);
  opacity: 0.4;
  animation-delay: -2s;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(20px, -30px) rotate(10deg);
  }
}

.hero-card-stack {
  position: relative;
  width: 350px;
  height: 400px;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(10deg);
  transition: transform 0.5s ease;
  z-index: 1;
}

.hero-card-stack:hover {
  transform: rotateY(-5deg) rotateX(5deg);
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  transform-origin: center center;
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: white;
}

.stat-item {
  text-align: center;
  padding: 20px;
  transition: transform var(--transition-speed);
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--light-text);
  font-weight: 500;
}

/* Features Section */
/* Features Section */
.features-section-new {
  padding: 100px 0;
  background-color: #f8f9fa;
  background-image: radial-gradient(#e5e7eb 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(73, 189, 201, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(73, 189, 201, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--secondary-color);
  font-size: 24px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-text {
  color: var(--light-text);
  line-height: 1.6;
}

/* Publishers Section */
.publishers-section {
  padding: 100px 0;
  background: white;
}

.publisher-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.publisher-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.publisher-header {
  background: #f1f3f5;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.publisher-body {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.publisher-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 10px;
}

.publisher-name {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-text);
}

.publisher-stat {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 500;
}

/* CTA Section */
/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(120deg, #f0652f 0%, #ff8e53 50%, #ff6b6b 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 15px;
  transition: transform var(--transition-speed);
}

.cta-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-text {
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-cta {
  background: white;
  color: var(--primary-color);
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
  border: none;
  transition: all var(--transition-speed);
}

.btn-cta:hover {
  background: #f8f9fa;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-visual {
    height: 300px;
    margin-top: 40px;
  }
}
