/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Outfit:wght@700;900&display=swap');

:root {
  --primary: #FF007F;
  /* Neon Pink */
  --secondary: #00E5FF;
  /* Neon Cyan */
  --dark: #050505;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Handling */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('assets/background.png');
  background-size: cover;
  background-position: center;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.85);
  /* Darken the brick wall */
  backdrop-filter: blur(2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  position: relative;
  /* For absolute positioning of language switcher */
}

/* Header / Logo */
header {
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Language Switcher */
.lang-container {
  position: absolute;
  top: 1rem;
  right: 0;
  z-index: 10;
}

#lang-selector {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 2.5rem 0.6rem 1rem;
  /* Extra right padding for arrow */
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.3s ease;

  /* Custom Arrow */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.2em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#lang-selector:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  transform: translateY(-1px);
}

#lang-selector:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}

#lang-selector option {
  background: #121212;
  color: white;
  padding: 10px;
}


.logo {
  max-width: 200px;
  /* Adjust based on actual image aspect ratio */
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.5));
  animation: float 6s ease-in-out infinite;
}

/* Hero Section */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--secondary), #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

/* Phone Mockup */
.mockup-container {
  position: relative;
  margin: 2rem 0;
  perspective: 1000px;
}

.phone-frame {
  width: 280px;
  /* Approx mobile width */
  height: auto;
  border-radius: 40px;
  border: 8px solid #1a1a1a;
  box-shadow:
    0 0 0 2px #333,
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(255, 0, 127, 0.2);
  overflow: hidden;
  background: #000;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.model-screen {
  width: 100%;
  height: auto;
  display: block;
}

/* Download Buttons */
.cta-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.1);
  border-color: var(--secondary);
}

.store-btn img {
  height: 24px;
  width: auto;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-text span:first-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.store-text span:last-child {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--secondary);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .logo {
    max-width: 150px;
  }

  .phone-frame {
    width: 240px;
    transform: none;
  }

  .phone-frame:hover {
    transform: none;
  }

  .lang-container {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 1rem;
  }
}