/*
Theme Name: Egg Today - Premium Domain Landing
Theme URI: https://egg.today
Author: Egg Today
Author URI: https://egg.today
Description: A premium dark-themed landing page for the egg.today domain sale/lease. Features a floating egg visual, use-case cards, domain value highlights, and a built-in contact form with budget selection.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: egg-today
Tags: one-column, custom-colors, full-width-template, landing-page
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --cream: #FFF8F0;
  --yolk: #F5A623;
  --yolk-bright: #FFB840;
  --yolk-deep: #E8920A;
  --dark: #1A1612;
  --text-soft: #8A7E72;
  --text-mid: #5C524A;
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* =============================================
   AMBIENT GLOW
   ============================================= */
.glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  top: -200px;
  right: -150px;
  background: var(--yolk);
}

.glow-2 {
  bottom: -300px;
  left: -200px;
  background: #D4764E;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(26, 22, 18, 0.8);
  border-bottom: 1px solid rgba(245, 166, 35, 0.08);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--cream);
}

.nav-logo span {
  color: var(--yolk);
}

.nav-cta {
  padding: 8px 24px;
  border: 1.5px solid rgba(245, 166, 35, 0.4);
  color: var(--yolk-bright);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.nav-cta:hover {
  background: var(--yolk);
  color: var(--dark);
  border-color: var(--yolk);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 40px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--yolk-bright);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yolk);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* =============================================
   EGG VISUAL
   ============================================= */
.egg-visual {
  position: relative;
  width: 140px;
  height: 180px;
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease both 0.1s;
}

.egg-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #FEFAF4, #F5ECDF 40%, #E8DCC8);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 15px 30px rgba(255, 255, 255, 0.7);
  animation: eggFloat 5s ease-in-out infinite;
}

.egg-shape::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 22%;
  width: 22%;
  height: 16%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.85), transparent 70%);
  border-radius: 50%;
  transform: rotate(-20deg);
}

/* =============================================
   HERO TYPOGRAPHY
   ============================================= */
.hero-domain {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 6px;
  animation: fadeUp 0.7s ease both 0.2s;
}

.hero-domain .dot {
  color: var(--yolk);
  text-shadow: 0 0 30px rgba(245, 166, 35, 0.4);
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease both 0.3s;
}

.hero-tagline {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease both 0.4s;
}

/* =============================================
   BUTTONS
   ============================================= */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s ease both 0.5s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--yolk), var(--yolk-deep));
  color: var(--dark);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255, 248, 240, 0.05);
  color: var(--cream);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 248, 240, 0.1);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 248, 240, 0.1);
  border-color: rgba(255, 248, 240, 0.2);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 28px 24px;
  border-top: 1px solid rgba(245, 166, 35, 0.06);
  border-bottom: 1px solid rgba(245, 166, 35, 0.06);
  position: relative;
  z-index: 1;
}

.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--yolk-bright);
  text-align: center;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
  margin-top: 4px;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 64px 24px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yolk);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  max-width: 550px;
}

/* =============================================
   USE CASES GRID
   ============================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  padding: 28px;
  background: rgba(255, 248, 240, 0.025);
  border: 1px solid rgba(245, 166, 35, 0.07);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(245, 166, 35, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--cream);
}

.card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* =============================================
   WHY GRID
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.why-item {
  padding-left: 16px;
  border-left: 3px solid rgba(245, 166, 35, 0.3);
}

.why-item h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--cream);
}

.why-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* =============================================
   CTA / CONTACT FORM SECTION
   ============================================= */
.cta-section {
  padding: 64px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 48px 32px;
  background: linear-gradient(160deg, rgba(245, 166, 35, 0.05), rgba(26, 22, 18, 0.9));
  border: 1px solid rgba(245, 166, 35, 0.1);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yolk), transparent);
}

.cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yolk);
  margin-bottom: 12px;
}

.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
  color: var(--cream);
}

.cta-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-soft);
}

/* =============================================
   CONTACT FORM
   ============================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(255, 248, 240, 0.04);
  border: 1px solid rgba(255, 248, 240, 0.1);
  border-radius: 10px;
  color: var(--cream);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138, 126, 114, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.08);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A7E72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--dark);
  color: var(--cream);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Budget Chips */
.budget-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.budget-chip {
  padding: 8px 16px;
  background: rgba(255, 248, 240, 0.04);
  border: 1px solid rgba(255, 248, 240, 0.1);
  border-radius: 100px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.budget-chip:hover,
.budget-chip.active {
  border-color: var(--yolk);
  color: var(--yolk-bright);
  background: rgba(245, 166, 35, 0.08);
}

/* Submit Button */
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--yolk), var(--yolk-deep));
  color: var(--dark);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(245, 166, 35, 0.5);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.show {
  display: block;
}

.form-success .check-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.1);
  border: 2px solid var(--yolk);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--cream);
}

.form-success p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px;
  border-top: 1px solid rgba(245, 166, 35, 0.06);
  position: relative;
  z-index: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-soft);
}

.trust-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--yolk);
  stroke-width: 2;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid rgba(245, 166, 35, 0.04);
  position: relative;
  z-index: 1;
}

.footer-domain {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  color: var(--text-soft);
}

.footer-domain span {
  color: var(--yolk);
}

.footer-text {
  font-size: 12px;
  color: rgba(138, 126, 114, 0.4);
  margin-top: 4px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

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

/* =============================================
   WORDPRESS OVERRIDES
   ============================================= */
.wp-block-post-content,
.entry-content {
  max-width: none;
  padding: 0;
}

/* Hide default WP admin bar gap */
body.admin-bar .site-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-nav {
    top: 46px;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .stats {
    gap: 28px;
  }

  .trust {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    padding: 12px 20px;
  }

  .cta-card {
    padding: 32px 20px;
  }
}
