/* =============================================
   Favopic Landing Page – Custom Styles
   ============================================= */

/* Font */
@font-face {
  font-family: 'Inter';
  src: url('font/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('font/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  background: #ffffff;
  color: #000000;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Force semibold across all elements, override Bootstrap resets */
h1, h2, h3, h4, h5, h6,
p, a, li, span, small, label,
input, button, select, textarea,
nav, header, footer, section, main, article, div {
  font-weight: 600;
}

/* =============================================
   Navbar
   ============================================= */
.navbar {
  padding-top: 16px;
  padding-bottom: 16px;
  background: #ffffff !important;
}

.navbar-brand img {
  height: 44px;
  width: auto;
}

.btn-download-dark {
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.btn-download-dark:hover {
  color: #ffffff;
  opacity: 0.85;
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
  background-image: url('assets/bg.svg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
}

.hero-shape-wrapper {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-shape {
  width: clamp(300px, 42vw, 520px);
  height: auto;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-heading {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000000;
  max-width: 700px;
  text-align: left;
  margin: 0 auto;
}

/* =============================================
   App Demo Section
   ============================================= */
.demo-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #ffffff;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-left-text {
  grid-column: 1;
  grid-row: 1;
  padding-right: 32px;
  align-self: center;
}

.demo-left-text p {
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
  margin: 0 0 12px;
}

.demo-iphone-col {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.demo-tint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.demo-iphone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

.demo-right-callout {
  grid-column: 3;
  grid-row: 1;
  padding-left: 32px;
  align-self: center;
}

.demo-right-callout img.callout-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  display: block;
}

.demo-right-callout p {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
  margin: 0;
  max-width: 160px;
}

.demo-lock-note {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  color: #000000;
}

.demo-lock-note img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile demo layout */
@media (max-width: 767.98px) {
  .demo-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .demo-right-callout {
    padding: 0;
    margin-top: 40px;
    margin-bottom: 32px;
    text-align: center;
    order: 1;
  }

  .demo-right-callout img.callout-icon {
    margin: 0 auto 10px;
  }

  .demo-right-callout p {
    max-width: 220px;
    font-size: 15px;
    margin: 0 auto;
  }

  .demo-iphone-col {
    order: 2;
    width: 100%;
    max-width: 320px;
  }

  .demo-tint {
    width: 300px;
    height: 300px;
  }

  .demo-lock-note {
    order: 3;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .demo-left-text {
    order: 4;
    padding: 0;
    margin-top: 40px;
    text-align: center;
  }
}

/* =============================================
   How It Works Section
   ============================================= */
.howto-section {
  padding-top: 80px;
  padding-bottom: 140px;
  background: #ffffff;
}

.howto-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #000000;
  margin-bottom: 48px;
}

.howto-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.howto-image {
  flex: 0 0 auto;
  max-width: 280px;
}

.howto-image img {
  width: 100%;
  height: auto;
  display: block;
}

.howto-step {
  flex: 0 0 auto;
  max-width: 320px;
}

.howto-step-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.howto-step-inner img.step-badge {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 2px;
}

.howto-step-inner p {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
  text-align: left;
}

@media (max-width: 767.98px) {
  .howto-row {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .howto-image {
    max-width: 260px;
    align-self: center;
  }

  .howto-step {
    width: 100%;
  }
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  padding-top: 160px;
  padding-bottom: 160px;
  background: #ffffff;
  text-align: center;
}

.cta-heading {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #000000;
  max-width: 380px;
  margin: 0 auto 32px;
  line-height: 1.3;
}

.btn-download-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background-image: url('assets/tint.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  cursor: pointer;
}
.btn-download-gradient:hover {
  color: #ffffff;
  opacity: 0.9;
}

.appstore-badge {
  display: block;
  margin: 16px auto 0;
  height: 40px;
  width: auto;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  margin-top: auto;
  padding: 20px 0;
  background: #ffffff;
  border-top: none;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  color: #000000;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 1; }
.footer-social img { width: 20px; height: 20px; }

.footer-right {
  text-align: right;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  opacity: 0.8;
  line-height: 1.4;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }

.footer-copy {
  font-size: 12px;
  color: #888888;
  margin: 0;
}

@media (max-width: 575.98px) {
  .footer-inner {
    padding: 0 16px;
  }
  .footer-copy {
    font-size: 11px;
  }
  .footer-links a {
    font-size: 12px;
  }
}

/* =============================================
   Imprint Page
   ============================================= */
.imprint-section {
  padding-top: 64px;
  padding-bottom: 100px;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.imprint-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000000;
}

.imprint-section h2 {
  font-size: 14px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 4px;
  color: #000000;
}

.imprint-section p {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 8px;
}

.imprint-section p.italic-note {
  font-style: italic;
  color: #555555;
  margin-top: 16px;
}

/* =============================================
   Utilities
   ============================================= */
.container-xl {
  max-width: 1200px;
}

@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}
