/* ===============================
   RESET & GLOBAL STYLES
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #0d1b2a; /* Very dark slate */
  color: #f1f1f1;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

/* ===============================
   COLOR VARIABLES
   =============================== */
:root {
  --dark-bg: #0d1b2a;
  --dark-mid: #1b263b;
  --graffiti-red: #ff3f3f;
  --graffiti-blue: #00dced;
  --graffiti-yellow: #ffea00;
  --graffiti-green: #00ff9f;
  --white: #f1f1f1;
  --shadow: rgba(0, 0, 0, 0.8);

  --font-graffiti: 'Permanent Marker', cursive;
  --font-body: 'Roboto', sans-serif;
}

/* ===============================
   CONTAINER & LAYOUT
   =============================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--dark-bg);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 4px 10px var(--shadow);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-graffiti);
  font-size: 2rem;
  color: var(--graffiti-red);
  text-shadow: 2px 2px var(--shadow);
}
.logo:hover {
  color: var(--graffiti-yellow);
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links li a {
  color: var(--white);
  font-weight: 700;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: var(--graffiti-green);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle.active i {
  transform: rotate(90deg);
  transition: transform 0.3s ease-in-out;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-mid);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('../img/brick-wall-texture.jpg') no-repeat center/cover;
  opacity: 0.6;
  z-index: -2;
}

/* Hero Content */
.hero-content {
  text-align: center;
  z-index: 2;
  padding: 0 1rem;
}
.hero-title {
  font-family: var(--font-graffiti);
  font-size: 3rem;
  color: var(--graffiti-blue);
  text-shadow: 4px 4px var(--shadow);
  margin-bottom: 1rem;
  opacity: 0;
  animation: graffitiReveal 1s ease-out forwards 0.2s;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.5s;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.8s;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn-primary {
  background: var(--graffiti-red);
  color: var(--dark-bg);
  box-shadow: 0 4px 10px var(--shadow);
}
.btn-primary:hover {
  background: var(--graffiti-yellow);
  transform: translateY(-3px) scale(1.05);
  color: var(--dark-bg);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease-out;
  border-radius: 50%;
}
.btn-primary:hover::after {
  transform: scale(1);
}

.btn-secondary {
  border: 2px dashed var(--graffiti-green);
  color: var(--graffiti-green);
  background: transparent;
}
.btn-secondary:hover {
  background: var(--graffiti-green);
  color: var(--dark-bg);
  transform: translateY(-3px) scale(1.05);
}

/* Sprite Drips */
.drip {
  position: absolute;
  width: 20px;
  height: 60px;
  background: var(--graffiti-red);
  border-radius: 10px 10px 20px 20px;
  animation: dripAnim 2s infinite ease-in;
}
.drip-1 {
  top: 30%;
  left: 15%;
  animation-delay: 0.2s;
}
.drip-2 {
  top: 40%;
  right: 20%;
  animation-delay: 0.5s;
}
.drip-3 {
  bottom: 25%;
  left: 50%;
  animation-delay: 0.8s;
}

/* ===============================
   FEATURES SECTION
   =============================== */
.features-section {
  padding: 6rem 0 4rem;
  background: var(--dark-bg);
}

.section-title {
  font-family: var(--font-graffiti);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--graffiti-yellow);
  text-shadow: 3px 3px var(--shadow);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.2s;
}

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

/* Glass-like Card with Graffiti Accents */
.feature-card {
  background: rgba(27, 38, 59, 0.8);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border: 2px solid var(--graffiti-blue);
  border-radius: 12px;
  text-align: center;
  transform: translateY(60px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards 0.4s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 6px 20px var(--shadow);
  cursor: pointer;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('../img/spray-texture.png') no-repeat center/cover;
  opacity: 0.1;
}
.icon-wrapper {
  font-size: 2.5rem;
  color: var(--graffiti-green);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: var(--font-graffiti);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--graffiti-red);
}
.feature-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

/* ===============================
   DOWNLOAD SECTION
   =============================== */
.download-section {
  padding: 6rem 0 4rem;
  background: var(--dark-mid);
  text-align: center;
}

.download-section .section-title {
  color: var(--graffiti-blue);
}
.download-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.4s;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--graffiti-green);
  color: var(--dark-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-store.apple {
  background: var(--graffiti-yellow);
  color: var(--dark-bg);
}
.btn-store:hover {
  background: var(--graffiti-red);
  transform: translateY(-3px) scale(1.05);
}

.download-text {
  margin-top: 1rem;
  color: var(--white);
  font-size: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.8s;
}

/* ===============================
   PRIVACY SECTION
   (mai jos)
   =============================== */
.privacy-section {
  padding: 6rem 0 4rem;
  background: var(--dark-mid);
  color: var(--white);
}
.privacy-container {
  background: rgba(27, 38, 59, 0.9);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border: 2px solid var(--graffiti-blue);
  border-radius: 12px;
}
.privacy-title {
  font-family: var(--font-graffiti);
  font-size: 2.5rem;
  text-align: center;
  color: var(--graffiti-yellow);
  text-shadow: 3px 3px var(--shadow);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.2s;
}
.updated-date {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.4s;
}
.privacy-content p,
.privacy-content li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.6s;
}
.privacy-content h2 {
  font-family: var(--font-graffiti);
  font-size: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--graffiti-red);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.6s;
}
.privacy-content h3 {
  font-family: var(--font-graffiti);
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--graffiti-blue);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.7s;
}
.privacy-content ul,
.privacy-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.privacy-content li {
  margin-bottom: 0.7rem;
}
.contact-email {
  font-size: 1rem;
  font-weight: 700;
  color: var(--graffiti-green);
  text-align: center;
  margin: 1rem 0;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.8s;
}

/* ===============================
   FOOTER
   =============================== */
.footer {
  background: var(--dark-bg);
  position: relative;
  padding: 3rem 0 1rem;
  color: #ccc;
  overflow: hidden;
}
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
}

.footer-brand {
  flex: 1 1 240px;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.3s;
}
.footer-brand h3 {
  font-family: var(--font-graffiti);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--graffiti-blue);
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--white);
}

.footer-links {
  flex: 1 1 160px;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.5s;
}
.footer-links ul li {
  margin-bottom: 0.8rem;
}
.footer-links ul li a {
  color: #dbe1e8;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-links ul li a:hover {
  color: var(--graffiti-yellow);
}

.footer-social {
  flex: 1 1 160px;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.7s;
}
.footer-social a {
  color: #dbe1e8;
  font-size: 1.3rem;
  margin-right: 1rem;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: var(--graffiti-green);
}

/* ===============================
   MEDIA QUERIES
   =============================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 240px;
    background: var(--dark-mid);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
  }
  .nav-links.active {
    right: 0;
  }
  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .download-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

/* ===============================
   KEYFRAME ANIMATIONS
   =============================== */
@keyframes fadeInUp {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@keyframes graffitiReveal {
  0% {
    transform: scale(0.4) rotate(-10deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.2) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes dripAnim {
  0% {
    height: 60px;
    opacity: 0.7;
  }
  50% {
    height: 150px;
    opacity: 0.2;
  }
  100% {
    height: 60px;
    opacity: 0.7;
  }
}

@keyframes blobMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(100px, 80px) scale(1.1);
  }
  50% {
    transform: translate(-80px, 120px) scale(0.9);
  }
  75% {
    transform: translate(50px, -60px) scale(1.05);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}
