/* ==========================================================================
   Lake Vision Security - Core Design System & Styles
   ========================================================================== */

/* --- Variables & Theme --- */
:root {
  /* Colors (Adjusted to match Logo: Deep Blue, Cyan, Metallic Silver) */
  --bg-dark: #050a14;
  --bg-darker: #02050a;
  --bg-glass: rgba(10, 20, 40, 0.6);
  --bg-glass-hover: rgba(15, 30, 60, 0.8);

  --primary: #00d4ff;
  /* Bright Cyan (from glowing swooshes) */
  --secondary: #005bb5;
  /* Deep Blue (from lens / shield core) */
  --accent: #b0bec5;
  /* Metallic Silver */

  --text-main: #f0f4f8;
  --text-muted: #a0aec0;

  --border-light: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(0, 212, 255, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-glow: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition-fast);
}

a:hover {
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
  color: #fff;
  text-shadow: none;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1) inset;
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3) inset;
  transform: translateY(-2px);
}

/* --- Layout Components --- */

/* Header / Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-smooth);
}

.header.scrolled {
  padding: 0.8rem 0;
  background: rgba(2, 5, 10, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 1px;
}

.logo i {
  color: var(--primary);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-family: var(--font-heading);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

/* Background Image Layer */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/hero_bg.png') center/cover no-repeat;
  z-index: -2;
  opacity: 0.4;
}

/* Base Gradient Overlay Layer */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 10, 20, 0.2) 0%, var(--bg-darker) 100%);
  z-index: -1;
}

/* Grid Pattern Overlay Layer (Optional, for tech feel) */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

/* Dynamic glow effect that moves */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}


.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  animation: fadeUp 1s ease-out forwards;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.badge i {
  margin-right: 0.5rem;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--bg-glass) 0%, rgba(5, 10, 20, 0.4) 100%);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: var(--bg-glass-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Split Section (Why Choose Us / Info) */
.split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
}

.split-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.split-image:hover img {
  transform: scale(1.05);
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
}

.contact-form {
  max-width: 500px;
  width: 100%;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-glass);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
  background: var(--bg-darker);
}

/* Custom Logo Sizing */
.custom-logo-link,
.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.custom-logo-link img,
.logo img {
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-bottom .custom-logo-link img,
.footer-bottom .logo img {
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-list i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  background: rgba(0, 242, 254, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
}

.feature-list h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.feature-list p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Industries Section */
.industries-bg {
  background: var(--bg-darker);
  position: relative;
}

.industries-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at right, rgba(142, 45, 226, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.tag {
  padding: 0.8rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  color: #fff;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag i {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.tag:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.15);
}

.tag:hover i {
  color: var(--primary);
}

.industry-statement {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.industry-statement span {
  color: var(--primary);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-glass);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-highlight);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.1);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  color: var(--primary);
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* arbitrary max height for animation */
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin-bottom: 0;
}

/* CTA / Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-light);
  padding-top: var(--spacing-xxl);
}

.cta-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(142, 45, 226, 0.1) 100%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-glow);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  color: #fff;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-3px);
}



/* --- Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .split-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .split-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(2, 5, 10, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left var(--transition-smooth);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .custom-logo-link img,
  .logo img {
    width: 100px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}