@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #FF416C;
  --primary-light: #FF758C;
  --primary-dark: #E0375E;
  --accent-gold: #FFB300;
  --bg-color: #09090F;
  --bg-card: rgba(26, 25, 38, 0.65);
  --bg-input: rgba(16, 15, 26, 0.8);
  --text-color: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.38);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 117, 140, 0.3);
}

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

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

/* Background Animated Blobs */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  animation: pulse-glow 12s infinite alternate ease-in-out;
}

.glow-blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 65, 108, 0.15) 0%, transparent 80%);
}

.glow-blob-2 {
  bottom: -10%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(138, 35, 135, 0.15) 0%, transparent 80%);
  animation-delay: -6s;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(4vw, -4vw); }
}

a {
  text-decoration: none;
  color: var(--primary-light);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(9, 9, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.logo-icon {
  font-size: 26px;
  background: linear-gradient(135deg, var(--accent-gold), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-color);
}

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

.nav-links a.active {
  color: var(--primary-light);
}

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

.lang-switch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Home Layout */
.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 40px;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 40px 0;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #FFFFFF 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.5;
}

.download-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white !important;
  font-weight: 700;
  border-radius: 16px;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(255, 65, 108, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-btn i {
  font-size: 24px;
}

.download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 65, 108, 0.4);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* CSS Phone Frame & Swiper Mockup */
.phone-mockup {
  width: 320px;
  height: 640px;
  background: #09090F;
  border-radius: 44px;
  border: 10px solid #1c1c2e;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  width: 80px;
  height: 18px;
  background: #1c1c2e;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 100;
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 16px;
  position: relative;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.phone-logo {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.phone-nav-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.phone-swiper {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mock-card-deck {
  flex: 1;
  position: relative;
}

.mock-card {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: #161622;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2) , opacity 0.4s ease;
}

.card-img-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

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

.card-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(22,22,34,1) 0%, rgba(22,22,34,0.8) 30%, transparent 100%);
  pointer-events: none;
}

.card-details {
  padding: 16px;
  background: #161622;
}

.card-details h3 {
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.card-details h3 span {
  font-weight: 400;
  color: var(--text-secondary);
}

.card-details p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.phone-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px 0 8px;
}

.control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.control-btn:active {
  transform: scale(0.9);
}

.btn-nope {
  background: rgba(255, 65, 108, 0.1);
  border: 1px solid rgba(255, 65, 108, 0.3);
  color: var(--primary);
}

.btn-nope:hover {
  background: var(--primary);
  color: white;
}

.btn-star {
  width: 40px;
  height: 40px;
  background: rgba(255, 179, 0, 0.1);
  border: 1px solid rgba(255, 179, 0, 0.3);
  color: var(--accent-gold);
}

.btn-star:hover {
  background: var(--accent-gold);
  color: white;
}

.btn-like {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00E676;
}

.btn-like:hover {
  background: #00E676;
  color: white;
}

/* Match Overlay Animation */
.match-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 9, 15, 0.95);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: 34px;
}

.match-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.match-overlay h2 {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.match-overlay p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-align: center;
  padding: 0 20px;
}

.match-avatars {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}

.match-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  overflow: hidden;
}

.match-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-match-chat {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  font-family: inherit;
}

.btn-match-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
}

/* Features Section (2x2 Grid) */
.features-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #FFF, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(255, 65, 108, 0.12);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  background: rgba(255, 65, 108, 0.1);
  border: 1.5px solid var(--border-active);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 24px;
  margin-bottom: 24px;
}

.glass-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.glass-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

/* Call to Action Section */
.cta-section {
  padding: 60px 0 100px;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(255, 65, 108, 0.12), rgba(138, 35, 135, 0.08));
  border: 1px solid var(--border-active);
  border-radius: 32px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-box .download-badges {
  justify-content: center;
}

/* Document & Secondary Pages */
.page-container {
  max-width: 850px;
  margin: 120px auto 60px;
  padding: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: fadeUp 0.6s ease-out;
}

.page-container h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-container .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  font-style: italic;
}

.page-container h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--primary-light);
}

.page-container p, .page-container ul {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-container ul {
  padding-left: 24px;
}

.page-container li {
  margin-bottom: 10px;
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  color: white;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 12px rgba(255, 117, 140, 0.15);
  background: rgba(26, 25, 38, 0.9);
}

/* Deletion Form Box */
.deletion-box {
  margin-top: 36px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

/* Footer */
footer {
  text-align: center;
  padding: 36px 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
  background: rgba(9, 9, 15, 0.8);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 20px 0;
  }
  .hero-content {
    align-items: center;
  }
  .download-badges {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .page-container {
    margin: 100px 16px 40px;
    padding: 24px;
  }
  .page-container h1 {
    font-size: 2rem;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 16px 12px;
  }
  .logo {
    font-size: 20px;
  }
  .logo-icon {
    font-size: 22px;
  }
  .nav-links {
    display: none; /* Hide nav links on very small mobile screens for simplicity */
  }
}
