/* Landing Page Styles - All prefixed with "lp-" to avoid conflicts */

/* Typography setup */
:root {
  --lp-brand-teal: #0f9aa6;
  --lp-brand-green: #24c168;
  --lp-brand-deep: #0b5a66;
  --lp-dark: #0e1720;
  --lp-text: #25313c;
  --lp-muted: #5a6b7a;
  --lp-surface: #ffffff;
  --lp-gradient-hero: linear-gradient(180deg, #0a6b79 0%, #4fd1b1 100%);
  --lp-radius-xl: 28px;
  --lp-radius-lg: 20px;
  --lp-radius-md: 12px;
  --lp-shadow-elev: 0 12px 40px rgba(16, 24, 40, 0.2);
}

html { 
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 80px;
  color: var(--lp-text);
  background: #f7f8fa;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
}

.lp-display, .lp-faq-heading, .lp-cta-heading {
  margin: 0 0 12px;
  color: var(--lp-text);
}

.lp-display {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 2.5vw + 0.7rem, 3.2rem);
  line-height: 1.05;
}

.lp-faq-heading, .lp-cta-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 2.2vw + 1rem, 3rem);
  line-height: 1.1;
}

.lp-lead { 
  color: var(--lp-text); 
  max-width: 60ch;
  margin-top: 24px;
  margin-bottom: 24px;
}

.lp-lead.lp-subtle { 
  color: var(--lp-text); 
}

.lp-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.lp-site-header .lp-container.lp-nav {
  box-sizing: border-box;
  width: min(1200px, 92%);
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.lp-site-header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000; 
  background: transparent; 
  color: #fff; 
  transition: all 0.3s ease;
}

.lp-site-header.scrolled { 
  background: rgba(255, 255, 255, 0.95) !important; 
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.lp-site-header.scrolled .lp-brand { 
  color: #333 !important; 
  transition: color 0.3s ease;
}

.lp-site-header.scrolled .lp-menu a { 
  color: #3794AA !important; 
  font-family: 'Roboto', sans-serif !important;
  font-size: 15.5px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.lp-site-header.scrolled .lp-menu a:hover { 
  color: #2a7a8a !important; 
  transition: color 0.3s ease;
}

.lp-nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0 32px; 
  margin: 0; 
  min-height: 80px; 
}

.lp-brand { 
  display: flex; 
  align-items: center; 
  gap: 24px;
  color: #fff; 
  transition: color 0.3s ease; 
  position: relative; 
  width: auto; 
  height: 48px; 
}

.lp-brand a {
  position: relative;
  display: block;
  width: 190px;
  height: 48px;
}

.lp-logo { 
  width: 190px; 
  height: 48px; 
  transition: opacity 0.3s ease; 
}

.lp-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 40px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin: 10px 0;
  margin-left: 32px;
  position: relative;
}

.lp-partner-logo::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.lp-partner-logo-text {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-site-header.scrolled .lp-partner-logo {
  border-color: rgba(55, 148, 170, 0.3);
  border-left-color: rgba(55, 148, 170, 0.3);
  background: rgba(55, 148, 170, 0.05);
}

.lp-site-header.scrolled .lp-partner-logo::before {
  background: rgba(55, 148, 170, 0.3);
}

.lp-site-header.scrolled .lp-partner-logo-text {
  color: rgba(55, 148, 170, 0.7);
}

.lp-logo-transparent { 
  opacity: 1; 
  position: absolute; 
  top: 0; 
  left: 0; 
}

.lp-logo-white { 
  opacity: 0; 
  position: absolute; 
  top: 0; 
  left: 0; 
}

.lp-site-header.scrolled .lp-logo-transparent { 
  opacity: 0 !important; 
  transition: opacity 0.3s ease;
}

.lp-site-header.scrolled .lp-logo-white { 
  opacity: 1 !important; 
  transition: opacity 0.3s ease;
}

.lp-desktop-menu { 
  display: flex; 
  align-items: center; 
  gap: 24px; 
}

.lp-menu { 
  display: flex; 
  align-items: center; 
  gap: 24px; 
}

.lp-menu a { 
  color: #eaf6f8; 
  text-decoration: none; 
  font-family: 'Roboto', sans-serif !important; 
  font-size: 15.5px; 
  font-weight: 500; 
  letter-spacing: 0.02em; 
  transition: color 0.3s ease; 
  transform: translateY(1px); 
}

.lp-menu a:hover { 
  color: #fff; 
}

/* Hero */
.lp-hero { 
  background: var(--lp-gradient-hero); 
  color: #fff; 
  padding: 48px 0 0; 
  margin-top: -80px;
  margin-bottom: -15px;
  padding-top: 100px;
  position: relative;
  z-index: 2;
}

.lp-hero-grid { 
  display: grid; 
  grid-template-columns: 3fr 2fr; 
  gap: 40px; 
  align-items: center; 
  position: relative; 
  z-index: 2; 
}

.lp-hero-card { 
  background: #ffffff; 
  color: var(--lp-text); 
  padding: 32px; 
  border-radius: var(--lp-radius-xl); 
  box-shadow: var(--lp-shadow-elev); 
  margin-top: -80px; 
  position: relative; 
  z-index: 3; 
}

.lp-hero-card .lp-display { 
  color: #1c8b52; 
}

.lp-hero-phone { 
  display: flex; 
  justify-content: center; 
  position: relative; 
  z-index: 10; 
  margin-bottom: -80px; 
}

.lp-phone-full { 
  width: 360px; 
  max-width: 100%; 
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.25)); 
  border-radius: 34px; 
}

.lp-phone-hero { 
  width: 360px; 
  max-width: 100%; 
  height: auto; 
  object-fit: contain; 
}

.lp-store-buttons { 
  display: flex; 
  gap: 12px; 
  margin-top: 20px; 
  flex-wrap: wrap; 
}

.lp-store-button { 
  height: 60px; 
  width: auto; 
  transition: transform 0.2s ease, filter 0.2s ease;
  border-radius: 8px;
}

.lp-store-button:hover { 
  transform: translateY(-2px); 
  filter: brightness(1.1);
}

.lp-store-button:active { 
  transform: translateY(0); 
}

/* FAQ Section */
.lp-faq-section {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.lp-faq-heading {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 12px;
  color: var(--lp-text);
}

.lp-faq-subhead {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--lp-brand-teal);
  margin-top: 0;
  margin-bottom: 24px;
  font-style: italic;
}

.lp-faq-intro {
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--lp-text);
  margin: 0 auto 48px auto;
  max-width: 800px;
}

.lp-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.lp-faq-item {
  border-bottom: 1px solid #e6eef2;
  margin-bottom: 0;
}

.lp-faq-item:last-child {
  border-bottom: none;
}

.lp-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lp-faq-question:hover {
  color: var(--lp-brand-teal);
}

.lp-faq-question h3 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--lp-text);
  flex: 1;
}

.lp-faq-icon {
  font-size: 2rem;
  font-weight: 300;
  color: var(--lp-brand-teal);
  transition: transform 0.3s ease;
  line-height: 1;
  min-width: 32px;
  text-align: center;
}

.lp-faq-item.active .lp-faq-icon {
  transform: rotate(0deg);
}

.lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.lp-faq-item.active .lp-faq-answer {
  padding-bottom: 24px;
}

.lp-faq-answer p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 1rem;
  line-height: 1.6;
  padding-right: 40px;
}

/* Call To Action Section */
.lp-cta-section {
  background: transparent;
  padding: 100px 0 0 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.lp-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: start;
}

.lp-cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-cta-heading {
  color: var(--lp-text);
  margin-bottom: 20px;
}

.lp-cta-text {
  color: var(--lp-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 60ch;
}

.lp-cta-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: transparent;
  overflow: visible;
  align-self: stretch;
  position: relative;
  min-height: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  box-shadow: none;
}

.lp-cta-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
  background: transparent;
  display: block;
}

/* Footer */
.lp-site-footer { 
  background: #F5F5F5; 
  color: #595959; 
  padding: 22px 0; 
  position: relative;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.lp-footer-grid { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 16px; 
}

.lp-footer-links a { 
  color: #595959; 
  text-decoration: none; 
  margin-left: 18px; 
}

.lp-footer-links a:hover { 
  color: #333333; 
}

/* Mobile Menu Toggle */
.lp-mobile-menu-toggle {
  display: none;
}

/* Medium screens - Switch to mobile menu when nav would overlap partner logo */
@media (max-width: 1000px) {
  .lp-desktop-menu {
    display: none;
  }
  
  .lp-mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: all 0.4s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  .lp-mobile-menu-toggle:focus {
    outline: none;
    box-shadow: none;
  }
  
  .lp-mobile-menu-toggle:focus-visible {
    outline: 2px solid #3794AA;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(55, 148, 170, 0.3);
  }
  
  .lp-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
  }
  
  .lp-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  
  .lp-site-header:has(.lp-menu.active) {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .lp-site-header:has(.lp-menu.active) .lp-logo-transparent {
    opacity: 0 !important;
  }
  
  .lp-site-header:has(.lp-menu.active) .lp-logo-white {
    opacity: 1 !important;
  }
  
  .lp-site-header:has(.lp-menu.active) .lp-mobile-menu-toggle {
    color: #3794AA !important;
  }
  
  .lp-menu a {
    color: #13707F;
    padding: 12px 0;
    border-bottom: 1px solid #e6eef2;
    font-family: 'Roboto', sans-serif;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .lp-menu a:last-child {
    border-bottom: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .lp-hero-grid, .lp-cta-grid { 
    grid-template-columns: 1fr; 
  }
  
  .lp-hero-card { 
    order: 2; 
  }
  
  .lp-hero-phone { 
    order: 1; 
  }
}

/* Tablet responsive */
@media (max-width: 1023px) and (min-width: 640px) {
  .lp-hero {
    padding: 228px 0 132px 0;
  }
  
  .lp-hero-phone {
    display: none;
  }
  
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .lp-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Mobile responsive */
@media (max-width: 639px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .lp-site-header {
    top: 0;
  }
  
  .lp-nav {
    padding: 20px 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .lp-brand {
    display: flex;
    align-items: center;
    position: relative;
    width: auto;
    height: 40px;
    gap: 12px;
  }
  
  .lp-brand a {
    width: 152px;
    height: 40px;
  }
  
  .lp-logo {
    position: relative;
    width: 152px;
    height: 40px;
  }
  
  .lp-logo-transparent {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .lp-logo-white {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .lp-partner-logo {
    min-width: 100px;
    height: 28px;
    padding: 4px 8px;
    margin: 10px 0;
    margin-left: 20px;
  }
  
  .lp-partner-logo::before {
    left: -16px;
    height: 20px;
  }
  
  .lp-partner-logo-text {
    font-size: 11px;
  }
  
  .lp-mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: all 0.4s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  .lp-mobile-menu-toggle:focus {
    outline: none;
    box-shadow: none;
  }
  
  .lp-mobile-menu-toggle:focus-visible {
    outline: 2px solid #3794AA;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(55, 148, 170, 0.3);
  }
  
  .lp-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
  }
  
  .lp-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  
  .lp-site-header:has(.lp-menu.active) {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .lp-site-header:has(.lp-menu.active) .lp-logo-transparent {
    opacity: 0 !important;
  }
  
  .lp-site-header:has(.lp-menu.active) .lp-logo-white {
    opacity: 1 !important;
  }
  
  .lp-site-header:has(.lp-menu.active) .lp-mobile-menu-toggle {
    color: #3794AA !important;
  }
  
  .lp-menu a {
    color: #13707F;
    padding: 12px 0;
    border-bottom: 1px solid #e6eef2;
    font-family: 'Roboto', sans-serif;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .lp-menu a:last-child {
    border-bottom: none;
  }
  
  .lp-site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .lp-site-header.scrolled .lp-brand {
    color: #333;
  }
  
  .lp-site-header.scrolled .lp-logo-transparent {
    opacity: 0;
  }
  
  .lp-site-header.scrolled .lp-logo-white {
    opacity: 1;
  }
  
  .lp-site-header.scrolled .lp-mobile-menu-toggle {
    color: #3794AA;
  }
  
  .lp-site-header.scrolled .lp-menu a {
    font-size: 20px !important;
    font-weight: 700 !important;
  }
  
  .lp-desktop-menu {
    display: none;
  }
  
  /* Hero section */
  .lp-hero {
    padding: 228px 0 132px 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .lp-hero-grid {
    gap: 30px;
    text-align: center;
  }
  
  .lp-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .lp-display {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  
  .lp-lead {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .lp-store-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .lp-store-button {
    height: 50px;
    width: auto;
  }
  
  /* Hide hero image on mobile */
  .lp-hero-phone {
    display: none;
  }
  
  /* FAQ Section */
  .lp-faq-section {
    padding: 64px 0;
  }
  
  .lp-faq-heading {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 8px;
  }
  
  .lp-faq-subhead {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
  }
  
  .lp-faq-intro {
    font-size: 1rem;
    margin-bottom: 32px;
    padding: 0;
  }
  
  .lp-faq-question {
    padding: 20px 0;
  }
  
  .lp-faq-question h3 {
    font-size: 1.1rem;
    padding-right: 12px;
  }
  
  .lp-faq-icon {
    font-size: 1.5rem;
    min-width: 24px;
  }
  
  .lp-faq-answer p {
    font-size: 0.95rem;
    padding-right: 0;
  }
  
  /* CTA section */
  .lp-cta-section {
    padding: 64px 0 0 0;
  }
  
  .lp-cta-grid {
    gap: 40px;
    text-align: center;
    align-items: start;
  }
  
  .lp-cta-content {
    align-items: center;
    text-align: center;
  }
  
  .lp-cta-heading {
    font-size: 1.8rem;
  }
  
  .lp-cta-text {
    font-size: 1rem;
    text-align: center;
  }
  
  .lp-cta-image {
    align-self: end;
    min-height: auto;
  }
  
  .lp-cta-img {
    max-width: 100%;
    position: relative;
    bottom: 0;
    left: auto;
    transform: none;
  }
  
  /* Footer */
  .lp-site-footer {
    padding: 24px 0;
  }
  
  .lp-footer-grid {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .lp-copyright {
    order: 1;
    text-align: center;
    width: 100%;
  }
  
  .lp-footer-links {
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .lp-footer-links a {
    margin-left: 0;
  }
  
  /* General mobile improvements */
  .lp-container {
    width: 90%;
    padding: 0 20px;
  }
}

