/* General Body Styles */
body {
    background-color: #000;
    color: #a7a7a7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #222;
}
.logo { font-weight: 700; font-size: 1.5rem; color: #fff; }
.nav-link { color: #fff; text-decoration: none; font-weight: 600; }

/* Hero Section Styles */
.hero {
    text-align: center;
    padding: 5rem 1rem;
}


.hero-content {
    /* Widen the container to fit 4 cards */
    max-width: 1100px; 
    margin: 0 auto;
}

.hero-copy {

    max-width: 800px;
    margin: 0 auto;

}

.hero-copy h1 {
    margin-top:0px!important;
}


h1 {
    color: #ffffff;
    font-size: 3.5rem; /* Slightly larger heading */
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.sub-headline {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #a7a7a7;
}

/* Pack Selection Grid - UPDATED FOR 4 COLUMNS */
.pack-selection-grid {
    display: grid;
    /* This creates a 4-column grid on larger screens */
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    text-align: left;
    margin-top:32px;
    margin-bottom: 32px;
}

/* Individual Pack Card Styles */
.pack-card {
    background-color: #0d0d0d;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pack-card:hover {
    transform: translateY(-5px);
    border-color: #4a4a4a;
}

.pack-card h3 {
    font-size: 1.25rem;
    font-weight: 200;
    color: #e0e0e0;
    margin: 0 0 0.5rem 0;
}

.pack-description {
    margin: 0 0 0.5 0;
    flex-grow: 1;
    font-size: 0.95rem;
    color: #888;
}

.pack-cta {
    font-weight: 600;
    color: #ffffff;
}

/* --- UPDATED Infinite Slider Styles --- */
.slider-section {
    padding: 1rem 0;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    
    /* This will stack the two tracks and add a gap */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-track {
    display: flex;
    gap: 12px;
    /* Note: A longer duration for a smoother, less frantic feel */
    animation: scroll 80s linear infinite; 
}

/* This is the new reverse track */
.slider-track--reverse {
    animation: scroll-reverse 80s linear infinite;
}

.slider-section:hover .slider-track {
    animation-play-state: paused;
}

.slider-card {
    background-color: #1F1F1F;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 1rem;
    width: 320px; /* Slightly wider for better text fit */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.card-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #e0e0e0;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.card-footer img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    object-fit: contain;
}

/* Keyframes for the forward scroll */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50%)); }
}

/* NEW Keyframes for the reverse scroll */
@keyframes scroll-reverse {
    from { transform: translateX(calc(-50%)); }
    to { transform: translateX(0); }
}

/* Media Queries for Responsiveness */
@media (max-width: 1150px) {
    .hero-content { max-width: 90%; }
    /* On tablets, switch to a 2x2 grid for packs */
    .pack-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
    .sub-headline { font-size: 1.1rem; }
    
    /* On mobile, switch to a single column for packs */
    .pack-selection-grid {
        grid-template-columns: 1fr;
    }
}

/* === Landing Auth Modal (Dark) === */
.lp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; 
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
}
.lp-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.lp-modal {
  background-color: #121214;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #222;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s ease-in-out;
  max-width: 500px;
  width: 90%;
}
.lp-modal-overlay.is-visible .lp-modal {
  transform: scale(1);
}
.lp-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: #888;
  cursor: pointer;
}
.lp-modal-close:hover { color: #fff; }

#lp-auth-title { color: #fff; margin: 0 0 6px; font-weight: 600; }
#lp-auth-subtitle { color: #a7a7a7; margin: 0 0 16px; }

.lp-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.lp-auth-form input[type="email"],
.lp-auth-form input[type="password"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #0d0d0d;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.lp-auth-form input:focus {
  outline: none;
  border-color: #8c00ff;
  box-shadow: 0 0 5px rgba(140,0,255,0.4);
}

.lp-primary-btn {
  background-color: #ff3269;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}
.lp-primary-btn:hover { filter: brightness(1.05); }

.google-signin-btn {
  background-color: #131314;
  border: 1px solid #8e918f;
  border-radius: 4px;
  color: #e3e3e3;
  font-size: 14px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 10px; margin: 6px 0 14px;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
.google-signin-btn:hover { background-color: #1d212d; border-color: #98aee1; }
.google-signin-btn svg { width: 18px; height: 18px; margin-right: 12px; }

.lp-divider {
  display: flex; align-items: center; color: #888; font-size: 12px; margin: 10px 0 12px;
}
.lp-divider::before, .lp-divider::after {
  content: ''; flex: 1; border-bottom: 1px solid #222;
}
.lp-divider::before { margin-right: .5em; }
.lp-divider::after { margin-left: .5em; }

.lp-auth-footer { text-align: center; margin-top: 12px; font-size: 13px; color: #888; }
.lp-auth-footer a { color: #a7a7a7; text-decoration: underline; }
.lp-auth-footer a:hover { color: #fff; }

.lp-alt-link { display: block; margin-top: 8px; }
.lp-error { color: #ff5555; font-size: 12px; min-height: 1.2em; }

/* Landing Auth Modal — dark, minimal, matches app */
.lp-no-scroll { overflow: hidden; }

.lp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lp-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lp-modal {
  width: min(520px, 92vw);
  background: #121214;
  color: #a7a7a7;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 28px;
  transform: translateY(6px) scale(.98);
  transition: transform 220ms ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.lp-modal-overlay.is-visible .lp-modal {
  transform: translateY(0) scale(1);
}

.lp-modal h2 {
  margin: 0 0 6px 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;
}

.lp-modal p { margin: 0 0 14px 0; }

.lp-modal-close {
  position: absolute;
  top: 10px; right: 12px;
  background: transparent;
  border: none;
  color: #a7a7a7;
  font-size: 22px;
  cursor: pointer;
}
.lp-modal-close:hover { color: #fff; }

.google-signin-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #131314;
  border: 1px solid #8e918f;
  color: #e3e3e3;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
}
.google-signin-btn:hover { background: #1d212d; border-color: #98aee1; }
.google-signin-btn svg { width: 18px; height: 18px; }

.lp-divider {
  margin: 16px 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: #666;
}
.lp-divider::before, .lp-divider::after {
  content: ''; flex: 1; border-bottom: 1px solid #222;
}

.lp-auth-form {
  display: grid;
  gap: 10px;
}

.lp-auth-form input {
  background: #0d0d0d;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px 12px;
  font-family: inherit;
}

.lp-auth-form input:focus {
  outline: none;
  border-color: #8c00ff;
  box-shadow: 0 0 5px rgba(140,0,255,0.5);
}

.lp-primary-btn {
  background: #ff3269;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.lp-primary-btn:hover {
  filter: brightness(1.05);
}

.lp-error {
  min-height: 1em;
  color: #ff5555;
  font-size: 12px;
}

.lp-auth-footer {
  margin-top: 10px;
  font-size: 13px;
  color: #888;
}
.lp-auth-footer a { color: #a7a7a7; text-decoration: underline; }
.lp-auth-footer a:hover { color: #fff; }


/* =============================================
   Navbar CTA Button ("Go to App")
   ============================================= */

/* Turns the link into a flex container to align text and icon */
.nav-link--button {
  display: flex;
  align-items: center;
  gap: 8px; /* Adds space between the text and the icon */
}

/* Sizes the SVG icon to be proportional to the text */
.nav-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease-in-out;
}

/* Adds a subtle movement effect on hover */
.nav-link--button:hover .nav-arrow {
  transform: translateX(2px);
}


/* =============================================
   Hero CTA Button ("Launch Your Dashboard")
   ============================================= */

/* Container to center the button and add top margin */
.hero-cta-container {
  text-align: center;
  margin-top: 32px;
  margin-bottom:32px;
}

.pack-selection-grid {



}

/* Main button styling */
.hero-cta {
  display: inline-block;
  background-color: #ff3269; /* The brand's primary pink color */
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px; /* Creates the rounded, pill shape */
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect to make the button feel interactive */
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 50, 105, 0.3);
}