/* Custom Styles for EasternLabs Landing Page */

:root {
  --color-eastern-blue: #1e40af;
  --color-eastern-pink: #be185d;
  --color-solidnote-bg: #fff8dc; /* Notebook cream */
  --color-dreamlock-bg: #1e293b; /* Slate dark for DreamLock placeholder */
  --color-text-dark: #1f2937;
  --color-text-light: #f3f4f6;
}

body {
  font-family: 'Roboto Mono', monospace;
  background-color: #fafafa;
  color: #222;
  margin: 0;
  padding: 0;
}

.font-display {
  font-family: 'VT323', monospace;
}

/* --- Navigation --- */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: white;
  border-bottom: 2px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-brand {
  font-family: 'VT323', monospace;
  font-size: 2rem;
  color: var(--color-eastern-blue);
  text-decoration: none;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-eastern-blue);
}

.btn-login {
  padding: 0.5rem 1.25rem;
  background-color: var(--color-eastern-blue);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s;
}

.btn-login:hover {
  opacity: 0.9;
}

/* --- Split Hero --- */
.split-hero {
  display: flex;
  min-height: 85vh;
  max-height: 100vh;
  width: 100%;
}

.hero-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
  transition: flex 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-side:hover {
  flex: 1.1; /* Slight expansion effect */
}

/* SolidNote Side */
.side-solidnote {
  background-color: var(--color-solidnote-bg);
  background-image: repeating-linear-gradient(to bottom, transparent, transparent 23px, #e5e7eb 24px);
  color: var(--color-text-dark);
  border-right: 1px dashed #d1d5db;
}

/* DreamLock Side */
.side-dreamlock {
  background-color: var(--color-dreamlock-bg);
  color: var(--color-text-light);
}

.hero-headline {
  font-family: 'VT323', monospace;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.hero-subhead {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 400px;
  opacity: 0.9;
}

.hero-visual-placeholder {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 300px;
  background: transparent;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: block;
  object-fit: contain;
}

.btn-hero {
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s;
  display: inline-block;
}

.btn-hero:hover {
  transform: translateY(-2px);
}

.btn-solidnote {
  background-color: var(--color-eastern-blue);
  color: white;
}

.btn-dreamlock {
  background-color: var(--color-eastern-pink);
  color: white;
}

/* --- At a Glance --- */
.at-a-glance {
  text-align: center;
  padding: 6rem 2rem;
  background: white;
}

.mission-text {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  color: #374151;
}

/* --- Product Deep Dive Blocks --- */
.product-block {
  padding: 6rem 2rem;
  border-top: 1px solid #e5e7eb;
}

.block-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.block-container.reverse {
  flex-direction: row-reverse;
}

.block-content {
  flex: 1;
}

.block-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-visual-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 300px;
  background: transparent;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}

.product-title {
  font-family: 'VT323', monospace;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-eastern-blue);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li::before {
  content: '→';
  color: var(--color-eastern-pink);
  font-weight: bold;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-eastern-blue);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Navigation */
  .main-nav {
    padding: 1rem 1.5rem;
    justify-content: center;
  }
  
  .nav-brand {
    font-size: 1.5rem;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-backdrop {
    display: none;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .btn-login {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Hero Section */
  .split-hero {
    flex-direction: column;
    min-height: auto;
    max-height: none;
    padding-top: 2rem; /* Add spacing to clear sticky header */
  }
  
  .hero-side {
    padding: 2rem 1.5rem; /* Reduced top padding since section has it */
    min-height: auto;
    max-height: none;
  }
  
  .hero-headline {
    font-size: 3rem; /* Make it clearly visible */
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
  
  .hero-subhead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
    line-height: 1.5;
  }
  
  .hero-visual-placeholder {
    width: 100%;
    max-width: 340px; /* Increased from 280px */
    height: auto;
    min-height: 300px;
    margin-bottom: 2rem;
    border: none;
    box-shadow: none; /* Cleaner look on mobile */
  }
  
  .btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 48px; /* Better touch target */
    width: 100%;
    max-width: 340px;
    text-align: center;
  }
  
  /* Mission Section */
  .at-a-glance {
    padding: 4rem 1.5rem;
  }
  
  .at-a-glance h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .mission-text {
    font-size: 1.125rem;
    line-height: 1.7;
  }
  
  /* Product Blocks */
  .product-block {
    padding: 4rem 1.5rem;
  }
  
  .product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .block-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .block-container.reverse {
    flex-direction: column;
  }
  
  .block-content {
    order: 1;
  }
  
  .block-visual {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .block-visual-img {
    width: 100%;
    max-width: 90%; /* Take up most of the width */
    height: auto;
    min-height: auto;
  }
  
  .feature-list {
    text-align: left;
    max-width: 100%;
    margin: 0 auto 2rem;
    display: inline-block;
  }
  
  .feature-list li {
    justify-content: flex-start;
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }
  
  /* Footer */
  .main-footer {
    padding: 3rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-col {
    text-align: center;
  }
  
  /* App Store Sticker */
  .app-store-sticker {
    max-width: 100%;
    padding: 0.625rem 1rem;
    margin-top: 1.5rem;
  }
  
  .app-store-sticker-title {
    font-size: 1.2rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }
  
  .hero-visual-placeholder {
    max-width: 240px;
    min-height: 200px;
  }
  
  .product-title {
    font-size: 1.75rem;
  }
  
  .block-visual-img {
    max-width: 240px;
    min-height: 200px;
  }
}

/* Footer Styling */
.main-footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 4rem 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col h4 {
  color: white;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
}

.footer-col a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}
