@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;700&display=swap');

:root {
  --bg-dark: #090a0c;     /* Matte obsidian */
  --bg-darker: #030405;   /* Vantablack void */
  --text-primary: #f8f9fa; /* Softer, matte white */
  --text-secondary: #8c93a1; /* Refined muted silver */
  
  /* Classy Gold/Champagne Accents */
  --accent-gold: #d4af37; 
  --accent-gold-hover: #f3d266;
  --accent-gold-glow: rgba(212, 175, 55, 0.15); /* Very subtle, architectural lighting glow */
  
  /* Deep, Frosted Obsidian Glass */
  --glass-bg: rgba(18, 20, 24, 0.55);
  --glass-border: rgba(255, 255, 255, 0.04); /* Razor-thin, whisper-quiet edge */
  --glass-specular: inset 1px 1px 0px rgba(255, 255, 255, 0.08); /* Replicates a polished 1mm bevel */
  --glass-blur: blur(32px); /* High-end aggressive blur */
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background: radial-gradient(circle at top right, var(--bg-dark), var(--bg-darker) 60%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px var(--accent-gold-glow); }
  50% { box-shadow: 0 0 32px var(--accent-gold-glow); }
  100% { box-shadow: 0 0 15px var(--accent-gold-glow); }
}

.animate-fade-in {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #858b97);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.slogan, .slogan-container {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.animated-word {
  color: #F7E018; /* Golden-greenish color matching the shutter */
  opacity: 0;
  animation: typingGlow 4s infinite linear;
}

@keyframes typingGlow {
  0% { opacity: 0; filter: drop-shadow(0 0 0px rgba(247, 224, 24, 0)); }
  10% { opacity: 1; filter: drop-shadow(0 0 8px rgba(247, 224, 24, 0.6)); }
  80% { opacity: 1; filter: drop-shadow(0 0 4px rgba(247, 224, 24, 0.3)); }
  100% { opacity: 0; filter: drop-shadow(0 0 0px rgba(247, 224, 24, 0)); }
}

.w1 { animation-delay: 0s; }
.w2 { animation-delay: 0.5s; }
.w3 { animation-delay: 1.0s; }
.w4 { animation-delay: 1.5s; }

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo img {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #F2F4F7;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-home:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(-3px);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 100px;
}

.hero-logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-shutter-pure {
  width: 350px; /* Forces the emblem to be massively wide, matching or exceeding the large 'Nautical Lens' typography */
  max-width: 90vw;
  height: auto;
  margin-bottom: 2rem;
  /* Dehydrates any pure black background smoothly */
  mix-blend-mode: screen; 
  /* Brute forces near-blacks in the original image into absolute #000 so there's absolutely 0 boundary shadow or trace of a square */
  filter: contrast(1.5) brightness(0.9);
  animation: levitate 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes levitate {
  0% { transform: translateY(0px) scale(1); filter: contrast(1.5) brightness(0.9); }
  50% { transform: translateY(-10px) scale(1.02); filter: contrast(1.5) brightness(1.1); }
  100% { transform: translateY(0px) scale(1); filter: contrast(1.5) brightness(0.9); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  
  /* Classy Metallic Gradient */
  background: linear-gradient(135deg, #ffffff 0%, #e2c070 45%, #a3822a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  
  letter-spacing: -0.05em;
  line-height: 1;
}

.description-blocks {
  max-width: 950px;
  margin: 1.5rem auto;
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.description-blocks p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.description-blocks strong {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.3rem;
  display: block;
  margin-top: 2.5rem;
}

/* Product Cards */
.products-section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  height: 400px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  border: 1px solid var(--glass-border);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.product-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-bg {
  transform: scale(1.05);
}

.product-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 2.5rem;
  z-index: 2;
}

.product-content h3 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.product-content p {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.btn-arrow {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 10px 25px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: white;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.product-card:hover .btn-arrow {
  background: white;
  color: black;
}

/* Aurelia Product Page Specifics */
.product-hero {
  min-height: 50vh;
  text-align: center;
  padding-top: 15vh;
}

.video-container {
  max-width: 900px;
  margin: -100px auto 4rem auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

.video-container:hover .play-overlay {
  background: rgba(0,0,0,0.2);
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 5px; /* for icon optical centering */
  transition: transform 0.3s;
}

.video-container:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--accent-gold-glow);
}

.sales-copy {
  max-width: 800px;
  margin: 0 auto 5rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.sales-copy .highlight {
  color: white;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 16px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.feature-card h4 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1rem;
}

.cta-section {
  text-align: center;
  padding: 4rem 0 8rem;
  border-top: 1px solid var(--glass-border);
}

.btn-primary {
  display: inline-block;
  background: var(--accent-gold);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  animation: pulseGlow 3s infinite;
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
}

/* Specific override to keep the demo button CTA pure red as requested */
#demoBtn {
  background: #e61919;
}
#demoBtn:hover {
  background: #ff3333;
}

footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.contact-info {
  margin-top: 1rem;
}
.contact-info a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}
.contact-info a:hover {
  color: var(--accent-gold);
}

/* Modal styling for Landbot password gate */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-content h3 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.password-input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.password-input:focus {
  border-color: var(--accent-gold);
}

.error-msg {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  height: 20px;
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: white;
  color: black;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #e2e2e2;
}

#landbot-container {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  height: 600px;
  max-height: 90vh;
  z-index: 999;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
}
@media (max-width: 480px) {
  #landbot-container {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    max-height: 100vh;
    border-radius: 0;
  }
}
