/* styles.css */

/* ===== CSS Variables for Theming ===== */
:root {
  --primary-gradient: linear-gradient(135deg, #6699FF, #6666CC, #00CCFF);
  --hover-gradient: linear-gradient(135deg, #43CBFF, #9708CC);
  --glow-color: rgba(0, 255, 200, 0.8);
  --text-color: #fff;
  --bg-color: #111;
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}
.top-fold-message-wrapper {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  max-width: 380px;
}

.top-fold-message {
  background: rgba(0, 0, 0, 0.7);
  border-left: 4px solid #00ffd5;
  color: #e0f0ff;
  font-size: 1rem;
  padding: 1rem 1.5rem 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,255,200,0.3);
  line-height: 1.4;
  position: relative;
  text-align: left;
}
.top-fold-message strong {
  color: #00ffd5;
  font-size: 1.15rem;
}

.top-fold-message em {
  color: #00ffd5;
  font-style: normal;
  font-weight: 600;
}

.top-fold-pitch-wrapper {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 999;
  max-width: 380px;
}

.top-fold-pitch {
  background: rgba(0, 0, 0, 0.7);
  border-left: 4px solid orange;
  color: #e0f0ff;
  font-size: 1rem;
  padding: 1rem 1.5rem 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,255,200,0.3);
  line-height: 1.4;
  position: relative;
  text-align: left;
}
.top-fold-pitch strong {
  color: orange;
  font-size: 1.15rem;
}

.top-fold-pitch em {
  color: orange;
  font-style: normal;
  font-weight: 600;
}

.close-msg {
  position: absolute;
  top: 5px;
  right: 8px;
  background: transparent;
  border: none;
  color: #00ffd5;
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-msg:hover {
  color: #ff0099;
}

.top-fold {
  padding: 4rem 2rem;
  background: var(--primary-gradient);
  text-align: center;
  color: var(--text-color);
  position: relative;
}

.top-fold h1 {
  font-size: 3rem;
  text-shadow: 0 0 10px var(--glow-color);
}

.top-fold p, h2, h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: #e0e0e0;
}

/* ===== Fancy Search Container ===== */
.search-container {
  margin: 3rem auto 0;
  max-width: 600px;
  position: relative;
}

.search-container input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  border-radius: var(--border-radius);
  border: none;
  outline: none;
  background: #222;
  color: var(--text-color);
  box-shadow: 0 0 10px var(--glow-color);
  transition: box-shadow var(--transition-speed);
}

.search-container input:focus {
  box-shadow: 0 0 20px var(--glow-color);
}

.search-results {
  margin-top: 1rem;
  position: absolute;
  width: 100%;
  background: #1b1b1b;
  border-radius: var(--border-radius);
  box-shadow: 0 0 15px var(--glow-color);
  z-index: 1000;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-results div {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background var(--transition-speed);
}

.search-results div:hover {
  background: var(--hover-gradient);
  color: #fff;
}

.search-results strong {
  color: #00ffd5;
}

/* ===== CTA Buttons ===== */
.cta-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.9rem 1.75rem;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px var(--glow-color);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
}

.btn-accent {
  background: var(--hover-gradient);
  color: white;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #00ffd5;
  color: #00ffd5;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--glow-color);
}

/* ===== Video Section ===== */
#video {
  padding: 2rem;
  background-color: #000;
  text-align: center;
}

#video video {
  width: 600px;
  height: 350px;
  border-radius: var(--border-radius);
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
  transition: transform 0.3s ease;
}

#video video:hover {
  transform: scale(1.01);
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.5);
}

/* ===== Media Queries for Mobile ===== */
@media (max-width: 768px) {
  .top-fold {
    padding: 3rem 1rem;
  }

  .top-fold h1 {
    font-size: 2rem;
  }

  .top-fold p {
    font-size: 1rem;
  }

  .search-container input {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .search-results div {
    padding: 0.75rem 1rem;
  }

  #video {
    padding: 1rem;
  }
}
