/* Modern Reset & Base Styles */
:root {
  --bg-dark: #0B1221;
  --bg-card: #162032;
  --primary: #3B82F6;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --accent: #10B981;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --font-main: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(11, 18, 33, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text .lead {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-image {
  position: relative;
  perspective: 1000px;
}

.phone-mockup {
  width: 300px;
  margin: 0 auto;
  border-radius: 40px;
  border: 8px solid #333;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
  background: #000;
}

.phone-mockup:hover {
  transform: rotateY(0) rotateX(0);
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  background: var(--bg-dark);
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Showcase Section */
.showcase {
  background: linear-gradient(to bottom, var(--bg-dark), #0f1623);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.showcase-item {
  text-align: center;
}

.showcase-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  border: 4px solid #2a3b55;
  transition: var(--transition);
}

.showcase-item:hover .showcase-img {
  transform: scale(1.02);
  border-color: var(--primary);
}

/* Video Section */
.video-section {
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(45deg, #1a202c, #2d3748);
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Footer */
footer {
  background: #050911;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 1rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
  font-size: 0.9rem;
}


/* Hero Slider */
.hero-slider {
  position: relative;
  width: 300px;
  /* Match phone mockup width */
  height: 600px;
  /* Approximate height */
  margin: 0 auto;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  /* Match phone radius */
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
  animation: zoomIn 0.3s;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* Make images clickable */
.showcase-img {
  cursor: pointer;
  position: relative;
}

.showcase-img::after {
  content: '\f00e';
  /* fa-search-plus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(45deg, #1a202c, #2d3748);
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Footer */
footer {
  background: #050911;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 1rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
  font-size: 0.9rem;
}


/* Hero Slider */
.hero-slider {
  position: relative;
  width: 300px;
  /* Match phone mockup width */
  height: 600px;
  /* Approximate height */
  margin: 0 auto;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  /* Match phone radius */
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
  animation: zoomIn 0.3s;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* Make images clickable */
.showcase-img {
  cursor: pointer;
  position: relative;
}

.showcase-img::after {
  content: '\f00e';
  /* fa-search-plus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.showcase-img:hover::after {
  opacity: 1;
}

.showcase-img:hover img {
  filter: brightness(0.7);
}

/* Tour Carousel */
.tour-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #0f1623;
}

.tour-slide {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fadeEffect 1s;
}

.tour-slide.active {
  display: block;
}

.tour-slide img {
  max-height: 500px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tour-caption {
  margin-top: 1.5rem;
}

.tour-caption h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tour-caption p {
  color: var(--text-muted);
}

.tour-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.progress-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.progress-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

@keyframes fadeEffect {
  from {
    opacity: 0.4
  }

  to {
    opacity: 1
  }
}