/* ============================================
   VioVoc Splash Page Styles
   Design: VIOVOC_temp_landingpage_V1_P.pdf
   ============================================ */

/* Burgues Script — decorative accent font */
@font-face {
  font-family: 'Burgues Script';
  src: url('../fonts/BurguesScript-Regular.woff2') format('woff2'),
       url('../fonts/BurguesScript-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS Variables ---- */
:root {
  --color-precision-blue: #1ca6c0;
  --color-spirit-teal: #66cad8;
  --color-miami-blue: #0891a6;
  --color-navy: #0f4c5c;
  --color-dark-blue: #1a3246;
  --color-white: #ffffff;
  --color-text-dark: #2d3748;
  --color-text-nav: #4a5568;
  --color-footer-bg: #7b96a3;
  --color-footer-bottom-bg: #6d8a96;
  --color-cta-bg: #b8cdd6;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-accent: 'Burgues Script', cursive;
}

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-white);
  min-height: 100vh;
}

a { text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
address { font-style: normal; }

/* ============================================
   TOP ACCENT BAR
   ============================================ */
.top-bar {
  height: 14px;
  background: var(--color-spirit-teal);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links li a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0d3b66;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--color-precision-blue);
}

.btn-login {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-white);
  background: #0d3b66;
  padding: 0.55rem 1.75rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  white-space: nowrap;
  margin-left: 0.75rem;
}

.btn-login:hover {
  background: #0a2e52;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-nav);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ============================================
   SPLASH IMAGE (full-width rendered from design)
   ============================================ */
.splash-image {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(180deg, #8b8db8 0%, #9a9cc5 50%, #8b8db8 100%);
  padding: 2.5rem 2rem;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sensor-caption {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  text-align: center;
  flex-shrink: 0;
}

.cta-form {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.cta-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-dark);
  background: var(--color-white);
  outline: none;
}

.cta-input::placeholder {
  color: var(--color-precision-blue);
  opacity: 0.8;
}

.btn-register {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  background: #0d3b66;
  padding: 1rem 2.5rem;
  border: none;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-register:hover {
  background: #0a2e52;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-footer-bg);
  position: relative;
  overflow: hidden;
}

.accent-line {
  height: 8px;
  background: #2d5a5e;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 0;
  position: relative;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-col h3 sup {
  font-size: 0.6em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-col ul li,
.footer-col ul li a,
.footer-col address,
.footer-col address a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.footer-col ul li a:hover,
.footer-col address a:hover {
  color: var(--color-white);
}

/* Coming Soon watermark */
.coming-soon-overlay {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.coming-soon-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6.5rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  user-select: none;
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.15),
    4px 4px 0 rgba(0, 0, 0, 0.08),
    6px 6px 6px rgba(0, 0, 0, 0.1);
}

/* Scroll-to-top button area (right side) */
.site-footer .scroll-top {
  position: absolute;
  right: 2rem;
  top: 3rem;
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-top: none;
  position: relative;
  z-index: 2;
}

.copyright {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.social-icons a:hover {
  color: var(--color-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet landscape — tighten nav spacing */
@media (max-width: 1024px) {
  .nav-links {
    gap: 0;
  }
  .nav-links li a {
    font-size: 0.72rem;
    padding: 0.5rem 0.5rem;
  }
  .btn-login {
    padding: 0.5rem 1.25rem;
    font-size: 0.72rem;
  }
}

/* iPad portrait / tablet — hamburger menu, vertical CTA */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-links li a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.9rem;
  }
  .btn-login {
    margin-left: 0;
    margin-top: 0.75rem;
    text-align: center;
    display: block;
    font-size: 0.9rem;
    padding: 0.65rem 1.75rem;
  }
  .site-header {
    position: relative;
  }

  /* CTA stacks vertically */
  .cta-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  .sensor-caption {
    text-align: center;
  }
  .cta-form {
    width: 100%;
    max-width: 480px;
  }

  /* Footer 2-column */
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
  .coming-soon-text {
    font-size: clamp(2.5rem, 8vw, 5rem);
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .header-inner {
    padding: 0 1rem;
    height: 60px;
  }
  .header-logo {
    height: 40px;
  }
  .main-nav {
    top: 60px;
    padding: 0.75rem 1rem 1.25rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-input {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.875rem 1.25rem;
  }
  .btn-register {
    padding: 0.875rem;
  }

  .footer-inner {
    padding: 2rem 1rem 0;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .coming-soon-overlay {
    bottom: 20px;
  }
  .coming-soon-text {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
