/* ==========================================================================
   GLASS COOKIES DEMO — IMAGE-BASED LUXURY SHOWCASE
   ========================================================================== */

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

body {
  min-height: 100vh;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  /* Premium image background setup */
  background-image: url('../assets/images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #040408;
}

/* Ensure no remnants of old background engine */
.gradient-bg {
  display: none !important;
}

/* Master Layout Container */
.hero-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 65px 24px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  /* Subtle dark overlay to improve text readability */
  background: rgba(0, 0, 0, 0.2);
}

/* Top Branding Elements */
.brand-header {
  margin-bottom: 40px;
}

.brand-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.brand-subtitle {
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Main Core Content */
.hero-content {
  max-width: 800px;
  margin: auto 0;
  position: relative;
  isolation: isolate;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 53%;
  width: min(720px, 92vw);
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(4, 4, 8, 0.24) 0%, rgba(4, 4, 8, 0.12) 42%, transparent 72%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-headline {
  position: relative;
  z-index: 1;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  margin-bottom: 24px;
}

.hero-description {
  position: relative;
  z-index: 1;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 38px;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 0 28px rgba(0,0,0,0.28);
}

/* Elegant CTA Button optimized for visual balance */
.cta-button {
  display: inline-block;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(12, 12, 18, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.cta-button:focus,
.cta-button:active {
  outline: none;
}

/* Footer Styling */
.demo-footer {
  margin-top: 40px;
}

.demo-footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
