/*======================================
    WatchTower - Dark Theme
    Navy: #0B1426, #1A2B44, #2D4A6B
    Gold: #D4AF37, #B8860B
========================================*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --navy-dark: #0B1426;
  --navy-mid: #1A2B44;
  --navy-light: #2D4A6B;
  --gold: #D4AF37;
  --gold-dark: #B8860B;
  --white: #ffffff;
  --gray-100: rgba(255, 255, 255, 0.9);
  --gray-200: rgba(255, 255, 255, 0.7);
  --gray-300: rgba(255, 255, 255, 0.5);
  --gray-400: rgba(255, 255, 255, 0.3);
  --gray-500: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--gray-200);
  overflow-x: hidden;
  font-size: 16px;
  background-color: var(--navy-dark);
}

p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
}

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

a:focus,
input:focus,
textarea:focus,
button:focus,
.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

span, a {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

ul, ol {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.section {
  padding: 100px 0;
}

/*======================================
    Preloader
========================================*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
  background-color: var(--navy-dark);
  overflow: hidden;
}

.preloader .preloader-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.preloader .preloader-icon {
  width: 60px;
  height: 60px;
  display: inline-block;
  position: relative;
}

.preloader .preloader-icon span {
  position: absolute;
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background: var(--gold);
  animation: preloader-fx 1.6s linear infinite;
}

.preloader .preloader-icon span:last-child {
  animation-delay: -0.8s;
}

@keyframes preloader-fx {
  0% { transform: scale(0, 0); opacity: 0.5; }
  100% { transform: scale(1, 1); opacity: 0; }
}

/*======================================
    Buttons
========================================*/
.btn {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
  color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn i {
  margin-right: 8px;
  font-size: 18px;
}

/*======================================
    Header / Navigation
========================================*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.sticky {
  background: rgba(11, 20, 38, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.navbar-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.navbar-brand .logo-sub {
  font-size: 0.7rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-item {
  display: inline-block;
}

.navbar-nav .nav-item a {
  color: var(--gray-200);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  white-space: nowrap;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a.active {
  color: var(--gold);
}

.navbar-nav .nav-item a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.toggler-icon {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header .button {
  margin-left: 30px;
}

.header .button .btn {
  padding: 12px 24px;
  font-size: 13px;
}

/*======================================
    Hero Section
========================================*/
.hero-area {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

/* Animated Background */
.hero-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; top: 30%; left: 85%; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; top: 60%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; top: 80%; left: 75%; animation-delay: 3s; }
.particle:nth-child(5) { width: 4px; height: 4px; top: 40%; left: 60%; animation-delay: 1.5s; }
.particle:nth-child(6) { width: 3px; height: 3px; top: 70%; left: 15%; animation-delay: 0.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.8; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.hero-badge i {
  font-size: 16px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--gray-200);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-content .button {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Phone Mockup */
.hero-image {
  position: relative;
  z-index: 2;
}

.phone-mockup {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.phone-frame {
  background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 45px;
  padding: 12px;
  box-shadow: 
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 25px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  background: #000;
  border-radius: 35px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glow Effect */
.phone-mockup::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

/*======================================
    Features Section
========================================*/
.features {
  background: var(--navy-dark);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-500), transparent);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h3 {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-200);
}

.single-feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gray-500);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.single-feature:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-10px);
}

.single-feature .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
}

.single-feature i {
  font-size: 36px;
  color: var(--navy-dark);
}

.single-feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.single-feature p {
  color: var(--gray-200);
  font-size: 15px;
  line-height: 1.7;
}

/*======================================
    App Overview Section
========================================*/
.app-overview {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  position: relative;
}

.overview-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.overview-content p {
  color: var(--gray-200);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.overview-list {
  margin: 30px 0;
}

.overview-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--gray-100);
}

.overview-list li i {
  color: var(--gold);
  font-size: 20px;
  margin-top: 3px;
}

.overview-image {
  position: relative;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.screenshot-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gray-500);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.screenshot-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-item.placeholder {
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 14px;
}

/*======================================
    CTA Section
========================================*/
.call-action {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  position: relative;
  overflow: hidden;
}

.call-action::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.call-action .cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.call-action h2 {
  color: var(--navy-dark);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.call-action p {
  color: var(--navy-mid);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 35px;
}

.call-action .btn {
  background: var(--navy-dark);
  color: var(--white);
}

.call-action .btn:hover {
  background: var(--navy-mid);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/*======================================
    Footer
========================================*/
.footer {
  background: var(--navy-dark);
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 5px;
}

.footer-brand .logo-sub {
  font-size: 0.75rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  color: var(--gray-200);
  max-width: 300px;
  margin-bottom: 25px;
}

.footer-links {
  min-width: 150px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--gray-200);
  font-size: 15px;
}

.footer-links ul li a:hover {
  color: var(--gold);
}

.footer-contact a {
  color: var(--gold);
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--gray-500);
  margin-top: 50px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--gray-300);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--gray-300);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/*======================================
    Scroll to Top
========================================*/
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold-dark);
  transform: translateY(-5px);
}

/*======================================
    Responsive
========================================*/
@media (max-width: 991px) {
  .navbar-nav {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header .button {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-area {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-image {
    margin-top: 60px;
  }
  
  .phone-mockup {
    max-width: 280px;
  }
  
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-content .button {
    flex-direction: column;
  }
  
  .hero-content .button .btn {
    width: 100%;
    text-align: center;
  }
  
  .call-action h2 {
    font-size: 1.75rem;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-links {
    width: 100%;
  }
  
  .footer-links h4 {
    margin-bottom: 15px;
  }
  
  .footer-links ul li {
    margin-bottom: 10px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/*======================================
    Animations
========================================*/
.wow {
  visibility: hidden;
}
