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

:root {
  --primary: #A855F7;
  --primary-light: #C084FC;
  --primary-dark: #9333EA;
  --accent: #EC4899;
  --accent-light: #F472B6;
  --brand-grad: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
  --bg-color: #FAF5FF;
  --bg-soft: #F3E8FF;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-input: #FFFFFF;
  --text-color: #2D2333;
  --text-secondary: #6B5B73;
  --text-muted: #9E90A8;
  --border-color: rgba(168, 85, 247, 0.14);
  --border-active: rgba(236, 72, 153, 0.35);
  --shadow-brand: 0 18px 40px rgba(168, 85, 247, 0.18);
}

* {
  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.7;
  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(168, 85, 247, 0.22) 0%, transparent 80%);
}

.glow-blob-2 {
  bottom: -10%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.20) 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);
  transition: all 0.3s ease;
}

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

/* 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(255, 255, 255, 0.72);
  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: 24px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  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: var(--brand-grad);
  border-radius: 2px;
  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);
}

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

.lang-switch {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  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(168, 85, 247, 0.14);
  border-color: var(--border-active);
}

/* 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-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 22px;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid var(--border-active);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-color);
}

.hero h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  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: var(--brand-grad);
  color: white !important;
  font-weight: 700;
  border-radius: 16px;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
  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 14px 34px rgba(236, 72, 153, 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: var(--bg-color);
  border-radius: 44px;
  border: 10px solid #2D2333;
  box-shadow: 0 30px 60px rgba(45, 35, 51, 0.28), 0 0 0 1px rgba(168, 85, 247, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  width: 80px;
  height: 18px;
  background: #2D2333;
  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;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-color) 40%);
}

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

.phone-logo {
  font-size: 18px;
  font-weight: 900;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.phone-nav-icon {
  width: 36px;
  height: 36px;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.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: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 24px rgba(45, 35, 51, 0.10);
  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: 55%;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 30%, transparent 100%);
  pointer-events: none;
}

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

.card-details h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-color);
  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 6px 14px rgba(45, 35, 51, 0.12);
}

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

.btn-nope {
  background: #FFFFFF;
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--accent);
}

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

.btn-star {
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--primary);
}

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

.btn-like {
  background: #FFFFFF;
  border: 1px solid rgba(0, 200, 120, 0.35);
  color: #00B368;
}

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

/* Match Overlay Animation */
.match-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 245, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  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: var(--brand-grad);
  -webkit-background-clip: text;
  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(--accent-light);
  overflow: hidden;
}

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

.btn-match-chat {
  padding: 10px 24px;
  background: var(--brand-grad);
  color: white;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  font-family: inherit;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.28);
}

.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;
  color: var(--text-color);
}

.section-title .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  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(45, 35, 51, 0.06);
  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: var(--shadow-brand);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  background: var(--brand-grad);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 18px rgba(168, 85, 247, 0.28);
}

.glass-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-color);
}

.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: var(--brand-grad);
  border-radius: 32px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 26px 50px rgba(168, 85, 247, 0.32);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #FFFFFF;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
}

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

.cta-box .download-btn {
  background: #FFFFFF;
  color: var(--primary-dark) !important;
  box-shadow: 0 10px 26px rgba(45, 35, 51, 0.18);
}

.cta-box .download-btn:hover {
  box-shadow: 0 16px 34px rgba(45, 35, 51, 0.26);
}

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

.page-container h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  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-dark);
}

.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: var(--text-color);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
  background: #FFFFFF;
}

/* 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(255, 255, 255, 0.7);
}

/* 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 */
  }
}
