/* ==========================================================
   EZLOT LAND - MAIN STYLESHEET (MOBILE-FIRST)
   ========================================================== */

:root {
  --pink: #E34B6F;
  --blue: #1F7FB2;
  --navy: #0C1D42;
  --bg: #070b14;
  --card: #0f1b33;
  --line: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  
  /* Dynamic Header Height: Smaller on phones, bigger on desktop */
  --header-height: 75px; 
}

@media (min-width: 768px) {
  :root { --header-height: 90px; }
}

* { 
  box-sizing: border-box; 
  -webkit-tap-highlight-color: transparent; 
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--white);
  line-height: 1.6;
}

/* ==========================================================
   1. FIXED WHITE HEADER
   ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff; /* Crisp white */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

/* Base Branding (Mobile: Text Hidden, Logo Left) */
.brand {
  display: flex;
  align-items: center;
  font-weight: 900;
  font-size: 1.4rem;
  text-decoration: none;
}

.brand .ez, .brand .lot, .brand .land-white {
  display: none; /* Hide text on mobile to save space */
}

.brand img, .header-logo {
  height: 60%;
  max-height: 45px;
  width: auto;
  object-fit: contain;
}

/* Phone Pill Button */
.pill-btn {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 14px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
}

.pill-btn::before {
  content: "📞 ";
  margin-right: 6px;
  font-size: 1rem;
}

.pill-btn:hover {
  background: var(--white);
  color: var(--navy) !important;
  box-shadow: 0 4px 10px rgba(12, 29, 66, 0.2);
}

/* Desktop Header Overrides */
@media (min-width: 768px) {
  .nav-inner { padding: 0 20px; }
  
  .brand .ez { color: var(--pink); margin-right: 5px; display: inline-block; }
  .brand .lot { color: var(--blue); margin-right: 5px; display: inline-block; }
  .brand .land-white { color: var(--navy) !important; display: inline-block; }
  
  /* Magic absolute centering for Desktop Logo */
  .brand img, .header-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 80%;
    max-height: 80px;
  }
  
  .pill-btn { padding: 10px 20px; font-size: 1rem; }
  .pill-btn::before { font-size: 1.1rem; }
}

/* ==========================================================
   2. MAIN CONTENT SPACING & CARDS
   ========================================================== */
.main-content, .form-wrapper {
  padding-top: calc(var(--header-height) + 30px);
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 60px;
  padding-left: 15px;
  padding-right: 15px;
}

.action-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
}

.seller-card { border-top: 6px solid var(--pink); }
.buyer-card { border-top: 6px solid var(--blue); }

@media (min-width: 768px) {
  .main-content, .form-wrapper { padding-top: calc(var(--header-height) + 50px); padding-bottom: 80px; }
  .action-card { padding: 30px; border-radius: 24px; margin-bottom: 25px; }
}

/* ==========================================================
   3. BUTTONS & PILLS
   ========================================================== */
/* --- MODERN CHIPS (Selection Buttons) --- */
.chip {
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--line);
  border-radius: 50px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.chip.active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 15px rgba(31, 127, 178, 0.5);
  transform: scale(1.05);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.big-action-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 18px;
  color: white;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.15rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.big-action-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }
.big-action-btn:active { transform: scale(0.96); }

.bg-pink { background: linear-gradient(135deg, var(--pink), #be185d); box-shadow: 0 8px 25px rgba(227, 75, 111, 0.4); }
.bg-blue { background: linear-gradient(135deg, var(--blue), #0b5075); box-shadow: 0 8px 25px rgba(31, 127, 178, 0.4); }

@media (min-width: 768px) {
  .big-action-btn { padding: 22px; font-size: 1.3rem; }
}

/* Breakdown Outline Pills */
.breakdown-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.outline-pill {
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-pink { border-color: rgba(227, 75, 111, 0.5); color: var(--pink); }
.pill-pink:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }

.pill-blue { border-color: rgba(31, 127, 178, 0.5); color: var(--blue); }
.pill-blue:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ==========================================================
   4. DARK MODE TRUST BAR
   ========================================================== */
.trust-bar {
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 15px;
  margin: 30px 0;
}

.trust-inner {
  display: flex;
  flex-direction: column; /* Stacks vertically on mobile */
  align-items: center;
  gap: 40px;
}

.trust-item {
  width: 100%;
  max-width: 280px;
  text-align: center;
}

.trust-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }

.trust-item h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 768px) {
  .trust-bar { padding: 40px 0; margin: 50px 0; }
  .trust-inner { flex-direction: row; justify-content: space-around; align-items: flex-start; gap: 30px; }
  .trust-item { max-width: 250px; }
  .trust-icon { margin-bottom: 15px; }
}

/* ==========================================================
   5. UTILITIES & FORMS
   ========================================================== */
input, select {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  margin-top: 10px;
}

.h1 { font-size: 2rem; margin-top: 0; }
.h2 { font-size: 1.5rem; margin-top: 0; }

@media (min-width: 768px) {
  .h1 { font-size: 2.8rem; }
  .h2 { font-size: 1.8rem; }
}