/* 
   LANDING.CSS - Agendoz BOOKSY EDITION (FIXED)
   Modern Dark Mode | Vibrant Teal | Professional Utility
*/

:root {
  --bg-dark: #000000;
  --bg-card: #1c1c1c;
  --primary-teal: #00A3AD;
  --secondary-teal: #05CFA6;
  --white: #ffffff;
  --gray-light: #f5f5f7;
  --gray-muted: #86868b;
  --border: rgba(255, 255, 255, 0.1);
  --star-gold: #FFD700;
  
  --font-poppins: 'Poppins', sans-serif;
  --font-inter: 'Inter', sans-serif;
  
  --shadow-teal: 0 0 30px rgba(0, 163, 173, 0.2);
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-style: normal !important;
  text-decoration: none !important;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-inter);
  background-color: var(--bg-dark);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 {
  font-family: var(--font-poppins);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h-hero {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.t-highlight {
  color: var(--primary-teal);
}

.p-hero {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--gray-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

/* ============ BUTTONS ============ */
.btn-booksy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: var(--primary-teal);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-booksy:hover {
  background-color: var(--secondary-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  margin-left: 16px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 8px;
}

/* ============ NAVBAR ============ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: var(--transition);
}

.nav-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--white);
}

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link { 
  font-weight: 600; 
  font-size: 14px; 
  color: var(--white) !important; 
  opacity: 0.8; 
  transition: var(--transition);
}
.nav-link:hover { opacity: 1; color: var(--primary-teal) !important; }

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh;
  padding: 160px 5% 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1; }

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FLOATING PHONES */
.phone-mockup {
  width: 320px;
  height: 640px;
  background: #ffffff; /* Clean white background for screens */
  border: 14px solid #1a1a1a;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
  transform: rotate(-4deg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.phone-mockup.second {
  position: absolute;
  top: 60px;
  right: -20px;
  transform: rotate(6deg) scale(0.9);
  z-index: -1;
  opacity: 0.7;
}

.phone-mockup img {
  width: 100.5%; /* Slight overscale to hide potential screenshot artifacts */
  height: 100.5%;
  object-fit: cover; /* Fill the frame completely */
  object-position: center top;
}

/* Specific fix for mockups to ensure no weird borders */
.phone-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
  pointer-events: none;
}

.hero-visual:hover .phone-mockup {
  transform: translateY(-30px) rotate(0deg);
  opacity: 1;
  border-color: var(--primary-teal);
}

/* ============ FEATURES ============ */
.section {
  padding: 120px 5%;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-teal);
  transform: translateY(-10px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 163, 173, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-teal);
  font-size: 22px;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-teal);
}

.rating { color: var(--star-gold); margin-bottom: 12px; font-size: 14px; }

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto; /* Push to bottom */
  padding-top: 24px;
}

.salon-logo-thumb {
  width: 52px;
  height: 52px;
  background: white;
  border-radius: 12px;
  object-fit: contain;
  padding: 2px;
  border: 1px solid rgba(0,0,0,0.05);
}

.salon-info h4 { font-size: 15px; margin: 0; color: var(--white); }
.salon-info p { font-size: 12px; color: var(--gray-muted); margin: 0; }

/* ============ LIFESTYLE SECTION ============ */
.lifestyle-banner {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  border-radius: 24px;
}

.lifestyle-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85), transparent);
  display: flex;
  align-items: center;
  padding: 0 80px;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FOOTER ============ */
footer {
  padding: 60px 5%;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ============ MOBILE ============ */
@media (max-width: 1024px) {
  nav { height: 74px; background: rgba(0, 0, 0, 0.9) !important; }
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .p-hero { margin-left: auto; margin-right: auto; }
  .hero-visual { margin-top: 100px; width: 100%; }
  .phone-mockup { width: 280px; height: 560px; }
  .phone-mockup.second { right: 0; top: 40px; }
  .lifestyle-overlay { padding: 0 40px; justify-content: center; text-align: center; }
}
