@font-face {
  font-family: 'Dogfish';
  src: local('Dogfish'),
       url('Dogfish.woff2') format('woff2'),
       url('Dogfish.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cleanwork';
  src: url('Cleanwork.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TopSecret';
  src: url('Top Secret.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Dashboard Styles */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.dashboard-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.widget {
    margin-top: 1rem;
}

.activity-meter {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
}

.meter-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.meter-bar {
    background: #ddd;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.meter-fill {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    height: 100%;
    transition: width 0.3s ease;
}

.meter-value {
    text-align: right;
    margin-top: 0.5rem;
    font-weight: bold;
}

.spot-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spot-item {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
}

.spot-item h3 {
    margin: 0 0 0.5rem 0;
    color: #2196F3;
}

.spot-item p {
    margin: 0;
}

:root {
  /* Clean Light theme */
  --bg-dark: #eef2f7; /* blue-tinted light gray */
  --overlay: rgba(255,255,255,0.6); /* softer light overlay for hero/video sections */
  --panel:   #ffffff; /* solid light panels/cards for consistent appearance */
  --accent:  #00bfff; /* existing brand aqua */
  --text:    #0f172a; /* near-black slate for readability */
  --radius: 10px;
  --shadow: 0 2px 12px rgba(15,23,42,.12);
  --max-text: 90ch;           
}

*{box-sizing:border-box;margin:0;padding:0}

html,body{height:100%;background:var(--bg-dark);font-family:'Segoe UI',Arial,sans-serif;color:var(--text)}

nav{
  position:relative;width:100%;
  background:#ffffff;padding:.6rem 0;box-shadow:var(--shadow);
  display:flex;flex-direction:column;align-items:center;gap:.4rem;z-index:100
}

/* Hamburger base elements */
.nav-toggle{ display:none; }
.nav-toggle-label{ display:none; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after{
  display:block; background:#000; height:3px; width:28px; border-radius:2px; position:relative;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after{ content:""; position:absolute; left:0; }
.nav-toggle-label span::before{ top:-8px; }
.nav-toggle-label span::after{ top:8px; }

/* Container for links when using hamburger */
.nav-links{ display:flex; flex-direction:column; align-items:center; width:100%; }
nav a{
  color:#000000;
  text-decoration:none;
  font-size:1.4rem;
  font-family: 'Sitka Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-weight: 700;
  letter-spacing:.5px;
  padding:.6rem 1.2rem;transition:.2s;opacity:.9;border-bottom:2px solid transparent;width:100%;text-align:center
}
nav a:hover{opacity:1;border-bottom-color:var(--accent)}

.video-background{min-height:100vh;width:100%;position:relative;overflow:visible;display:flex;flex-direction:column;justify-content:center;align-items:center;background:transparent}
#bgVideo{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:0.8;min-width:100%;min-height:100%}
.overlay{position:absolute;inset:0;background:var(--overlay);z-index:1}

.content{
  width: 100%;
  text-align: center;
  padding-top: 2.5rem;               
  z-index: 1;
}

.text-container {
  width: 100%;
}

.content h1{
  font-family: 'Sitka Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
  text-shadow: var(--shadow);
}

.cleanwork-title {
  font-family: 'Cleanwork', sans-serif !important;
  font-size: 200px;
  font-weight: bold;
  text-shadow: 3px 3px 5px rgba(0,0,0,0.6);
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.top-secret-text {
  font-family: 'Sitka Display', Georgia, 'Times New Roman', serif !important;
  font-weight: 700;
  font-size: 40px;
  color: var(--accent);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  margin-top: 1rem;
}

/* Global heading typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sitka Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-weight: 700;
}

/* Ensure page-specific title classes also use Sitka */
.roadmap-title,
.pricing-title,
.benefits-title,
.price-title,
.features-header h1,
.section-title,
.terms-header h1,
.terms-content h2 {
  font-family: 'Sitka Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif !important;
  font-weight: 700 !important;
}

.subtitle{
  background:var(--panel);border-radius:var(--radius);padding:1rem;
  box-shadow:var(--shadow);line-height:1.5;font-size:1rem
}

.app-stores-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.store-link {
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.store-link.disabled {
  pointer-events: none;
  cursor: default;
}

.store-badge-img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.coming-soon-text {
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin: 0;
}

.logo-container {
  margin-bottom: 0;
}

.fafo-logo {
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.coming-soon{
  background:var(--panel);border-radius:7px;padding:.7rem 1.2rem;
  box-shadow:0 2px 10px rgba(0,0,0,.16);font-size:1rem;letter-spacing:.5px;margin-top:2rem
}

@media (min-width:800px){
  nav{
    position:fixed;top:0;left:0;width:100%;background:#ffffff;
    flex-direction:row;justify-content:center;gap:2rem;padding:.8rem 0;
  }
  /* Show links inline on desktop despite wrapper */
  .nav-toggle, .nav-toggle-label{ display:none !important; }
  .nav-links{ display:flex !important; flex-direction:row; align-items:center; justify-content:center; gap:2rem; width:auto; }
  .nav-links a{ width:auto; }
  nav a{width:auto;font-size:1.5rem}
  /* Let content flow below the fixed nav instead of absolute centering */
  .content{
    position:relative;
    top:auto;left:auto;transform:none;
    padding-top:6rem; /* space below fixed nav */
    width:90%;
    margin:0 auto;
  }
  .cleanwork-title{font-size:4vw;}
  .top-secret-text{font-size:3.5vw;}
  /* Allow the banner to sit in normal flow so the page can scroll */
  .coming-soon{
    position:relative;
    left:auto;bottom:auto;transform:none;
    max-width:48rem;
    font-size:1.1rem;
    margin:2rem auto 3rem;
  }
}

@media (max-width:400px){
  .content h1{font-size:1.4rem}
  .subtitle{font-size:.95rem;padding:.8rem}
  .coming-soon{font-size:.85rem;padding:.5rem}
  .store-badge-img{height:45px}
  .coming-soon-text{font-size:0.75rem}
  .app-stores-container{gap:1rem}
}

@media (max-width: 768px){
  nav{ gap:.2rem; padding:.9rem 0; }
  nav a{
    font-size: 1.1rem;
    padding: .5rem .8rem;
  }

  /* Show hamburger icon on mobile */
  .nav-toggle-label{ display:block; position:absolute; left:1rem; top:.8rem; width:32px; height:28px; cursor:pointer; }

  /* Hide links until toggled */
  .nav-links{ display:none; margin-top:2.6rem; }
  .nav-toggle:checked ~ .nav-links{ display:flex; }

  .fafo-logo{ max-width: 70vw; }

  .top-secret-text{
    font-size: 7vw; /* scales with viewport */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-top: .5rem;
  }

  .content{ padding-top: 1.2rem; }

  /* Make banner flow naturally and be wider on mobile */
  .coming-soon{
    position: relative;
    left: auto; bottom: auto; transform: none;
    max-width: 90vw;
    margin: 1.2rem auto 2rem;
    text-align: center;
  }

  /* Lighten overlay a bit for a brighter feel on mobile */
  .overlay{ background: rgba(0,0,0,0.4); }
}