@font-face {
  font-family: 'BitRoad';
  src: url('fonts/Bitroad-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/BBBPoppinsTN-DisplayRegular.ttf') format('truetype');
}

@font-face {
  font-family: 'Neue Montreal Bold';
  src: url('fonts/BBBPoppinsTN-DisplayBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Neue Montreal Italic';
  src: url('fonts/BBBPoppinsTN-DisplayBoldItalic.ttf') format('truetype');
}

:root {
  --primary-color: #ff0073;
  --secondary-color: #6c0131;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --border-radius: 12px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Neue Montreal', sans-serif;
  background-color: #fff;
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
  scrollbar-width: none;
  padding: 0;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: #fff;
  color: #000;
  border: 1px solid #e0e0e0;
  font-family: 'All Neue', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: #f7f7f7;
}

.download-btn.large {
  padding: 16px 32px;
  font-size: 18px;
}

.download-icon {
  width: 20px;
  height: 20px;
}

/* TOP BAR */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  background-image: url('res/downward_nav_blue_bg.svg');
  background-color: rgba(255, 0, 115, 0);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  color: white;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 40px;
}

.top-bar .logo {
  height: 24px;
  cursor: pointer;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a {
  color: white;
  font-family: 'Neue Montreal', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.desktop-nav a:hover {
  background-color: var(--secondary-color);
}

.desktop-download {
  display: flex;
}

img {
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* HERO SECTION */
.hero {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0);
  background-repeat: no-repeat;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero .text {
  flex: 1;
  min-width: 300px;
}

.hero .text h1 {
  font-family: 'BitRoad', sans-serif;
  font-size: 3rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.hero .text h2 {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin-bottom: 20px;
}

.hero .text h2 em {
  font-family: 'Neue Montreal Bold', sans-serif;
  font-weight: bold;
}

.hero .app-description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-download {
  margin-bottom: 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.hero-download:hover {
  background-color: var(--secondary-color);
}

.compatibility {
  font-size: 0.9rem;
  color: #777;
}

.phone-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
  border-radius: 40px;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 300px;
}

.phone-mockup img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section h2 {
  font-family: 'Neue Montreal Bold', sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section .desc {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.preview-row,
.alert-row,
.settings-row {
  display: flex;
  justify-content: center;
}

.preview-row img,
.alert-row img,
.settings-row img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.eyes-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyes-img {
  width: 250px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

blockquote {
  font-style: italic;
  color: #555;
  margin-top: 30px;
  max-width: 700px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

blockquote::before {
  content: """;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: 10px;
}

/* CENTERED GESTURE IMAGE */
.gesture-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gesture-img {
  width: 250px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  display: block;
  margin: 0 auto;
}

.download-section {
  text-align: center;
  padding: 100px 0;
}

.download-section .download-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.download-section .download-btn:hover {
  background-color: var(--secondary-color);
}

/* Footer */
footer {
  background-image: url('res/upward_blue_bg.svg');
  background-color: rgba(255, 0, 115, 0);
  background-repeat: no-repeat;
  background-position: top;
  padding: 80px 0 30px;
  color: #333;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-info .footerlogo {
  width: 30px;
  margin-bottom: 15px;
}

.tagline {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.links-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}

.links-column a {
  display: block;
  color: #666;
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
}

.links-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 0.9rem;
}

/* Mobile Menu - Hidden by default */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  padding: 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.mobile-menu nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.mobile-menu nav a:hover {
  background-color: var(--secondary-color);
}

.nav-download {
  align-self: center;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-content {
    gap: 30px;
  }
  
  .hero .text h1 {
    font-size: 2.5rem;
  }
  
  .hero .text h2 {
    font-size: 1.6rem;
  }
  
  .phone-mockup {
    max-width: 260px;
  }
}

@media screen and (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .hero .text {
    max-width: 100%;
  }
  
  .hero .app-description {
    margin: 0 auto 30px;
  }
  
  .desktop-nav,
  .desktop-download {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section {
    padding: 60px 0;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero .text h1 {
    font-size: 2rem;
  }
  
  .hero .text h2 {
    font-size: 1.4rem;
  }
  
  .section h2 {
    font-size: 1.6rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .phone-mockup {
    max-width: 220px;
    padding: 15px;
    border-radius: 30px;
  }
  
  .preview-row img,
  .alert-row img,
  .settings-row img {
    max-height: 400px;
  }
  
  .gesture-img {
    width: 200px;
  }
}

@media screen and (min-width: 769px) {
  .logo {
    pointer-events: none;
  }
}