/* ===== CSS VARIABLES ===== */
:root {
  --primary: #E1306C;
  --primary-dark: #C0255C;
  --primary-light: #FF6B9D;
  --primary-xlight: #FFE4EF;
  --accent: #FF3366;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #FFF5F8;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --border: #FFD6E7;
  --shadow: 0 4px 24px rgba(225, 48, 108, 0.12);
  --shadow-lg: 0 8px 48px rgba(225, 48, 108, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, button { font-family: inherit; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
.gradient-text {
  background: linear-gradient(135deg, #E1306C 0%, #FF6B9D 50%, #FF3366 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 52px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(225,48,108,0.08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.2rem; color: var(--primary);
  transition: var(--transition);
}
.logo:hover { opacity: 0.85; }
.logo-img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary-xlight);
  color: var(--primary);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 100px 20px 60px;
  background: linear-gradient(160deg, #fff 60%, #FFF0F5 100%);
}
.hero-bg-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18;
  pointer-events: none;
}
.blob1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #E1306C, #FF6B9D);
  top: -150px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #FF3366, #FFB3CC);
  bottom: -80px; left: -80px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}
.hero-content {
  max-width: 760px; text-align: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-xlight); color: var(--primary);
  padding: 8px 20px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
  border: 1px solid var(--border);
  animation: fadeInDown 0.6s ease both;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin-bottom: 20px; line-height: 1.1;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted); margin-bottom: 40px;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.downloader-box {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.input-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.input-wrap {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: var(--transition);
}
.input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(225,48,108,0.1);
}
.input-icon { flex-shrink: 0; }
.input-wrap input {
  flex: 1; border: none; background: transparent;
  padding: 14px 0; font-size: 0.95rem; color: var(--text);
  outline: none;
}
.input-wrap input::placeholder { color: #C0B0BB; }
.paste-btn {
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: 6px;
  transition: var(--transition);
  display: flex; align-items: center;
}
.paste-btn:hover { background: var(--primary-xlight); }
.download-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; border: none; cursor: pointer;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(225,48,108,0.3);
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225,48,108,0.4);
}
.download-btn:active { transform: translateY(0); }
.result-area { margin-top: 20px; }
.result-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.result-thumb {
  width: 80px; height: 80px; border-radius: 10px;
  background: linear-gradient(135deg, #E1306C, #FF6B9D);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.result-info { flex: 1; min-width: 150px; text-align: left; }
.result-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.result-info p { font-size: 0.82rem; color: var(--text-muted); }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: none;
}
.dl-btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 3px 10px rgba(225,48,108,0.25);
}
.dl-btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.dl-btn-outline {
  background: white; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.dl-btn-outline:hover { background: var(--primary-xlight); }
.error-msg {
  background: #FFF0F0; color: #D32F2F;
  border: 1px solid #FFCDD2;
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 0.9rem; text-align: left;
}
.loading-msg {
  display: flex; align-items: center; gap: 12px;
  color: var(--primary); font-size: 0.9rem; padding: 10px 0;
  justify-content: center;
}
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--primary-xlight);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.8rem; color: var(--text-muted);
  animation: fadeInUp 0.7s ease 0.4s both;
}
.social-links {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 24px 0;
  animation: fadeInUp 0.7s ease 0.5s both;
}
.social-links span {
  font-size: 0.9rem; color: var(--text-muted);
  font-weight: 500;
}
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--primary-xlight);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--primary);
  font-size: 0.85rem; font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.social-link.instagram {
  background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}
.social-link.instagram:hover {
  background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  opacity: 0.9;
}

/* ===== FEATURES ===== */
.features {
  padding: 96px 0; background: var(--bg);
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--primary-xlight);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* ===== HOW TO ===== */
.how-to {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #FFF 100%);
}
.steps {
  display: flex; align-items: flex-start; gap: 0;
  max-width: 900px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.step {
  flex: 1; min-width: 200px;
  text-align: center; padding: 20px 24px;
}
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(225,48,108,0.3);
}
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  font-size: 1.8rem; color: var(--primary-light); padding-top: 26px;
  align-self: flex-start; flex-shrink: 0;
}

/* ===== SUPPORTED ===== */
.supported { padding: 80px 0; }
.types-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px; max-width: 800px; margin: 0 auto;
}
.type-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.type-card:hover {
  border-color: var(--primary);
  background: var(--primary-xlight);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.type-card svg { margin: 0 auto 12px; }
.type-card span { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  background: #1A1A2E; color: white; padding: 60px 0 0;
}
.footer-top {
  display: flex; gap: 60px; flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { flex: 1; min-width: 220px; display: flex; flex-direction: column; }
.footer-brand .logo { 
  color: white; 
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}
.footer-brand .logo-img {
  width: 36px;
  height: 36px;
  display: block;
  filter: none;
  border-radius: 8px;
  object-fit: cover;
}
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.88rem; line-height: 1.7; max-width: 320px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.9rem; color: white; margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--primary-light); }
.social-icons {
  display: flex; gap: 16px; margin-top: 20px;
}
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255, 107, 157, 0.1);
  border-radius: 50%;
  color: var(--primary-light);
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-3px);
}
.footer-bottom {
  padding: 20px 0; text-align: center;
  color: rgba(255,255,255,0.3); font-size: 0.8rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, white 100%);
  padding: 120px 20px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: 1rem; }

/* ===== PAGE CONTENT ===== */
.page-content { padding: 72px 20px; max-width: 820px; margin: 0 auto; }
.page-content h2 { font-size: 1.4rem; color: var(--primary); margin: 36px 0 12px; }
.page-content h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.page-content p { color: #374151; line-height: 1.8; margin-bottom: 16px; font-size: 0.97rem; }
.page-content ul { margin: 0 0 16px 20px; }
.page-content ul li { color: #374151; line-height: 1.8; font-size: 0.97rem; list-style: disc; margin-bottom: 6px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  background: var(--bg-soft);
  font-weight: 600; font-size: 0.97rem;
  user-select: none;
  gap: 12px;
}
.faq-q .arrow {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--primary-xlight); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.faq-q .arrow svg { transition: var(--transition); }
.faq-item.open .faq-q { background: var(--primary-xlight); color: var(--primary); }
.faq-item.open .faq-q .arrow { background: var(--primary); }
.faq-item.open .faq-q .arrow svg { transform: rotate(180deg); }
.faq-item.open .faq-q .arrow svg path { fill: white; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  background: white; border-top: 0;
}
.faq-item.open .faq-a { max-height: 400px; border-top: 1px solid var(--border); }
.faq-a p { padding: 18px 24px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; margin: 0; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto;
}
.contact-info h2 { font-size: 1.5rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; font-size: 0.95rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px; background: var(--primary-xlight);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; font-weight: 500; margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem; color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(225,48,108,0.1);
  background: white;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.submit-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; border: none; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(225,48,108,0.3);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(225,48,108,0.4); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 960px; margin: 0 auto 72px; }
.about-visual {
  background: linear-gradient(135deg, var(--primary-xlight), #FFE4EF);
  border-radius: 24px; padding: 60px 40px; text-align: center;
  border: 1.5px solid var(--border);
}
.about-visual-icon {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 28px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 12px 36px rgba(225,48,108,0.3);
}
.about-visual h3 { font-size: 1.8rem; color: var(--primary); }
.about-visual p { color: var(--text-muted); font-size: 0.9rem; }
.stats-row { display: flex; gap: 32px; margin-top: 24px; justify-content: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .num { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-item .lbl { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.team-section { text-align: center; }
.team-section h2 { font-size: 1.6rem; margin-bottom: 12px; }
.team-section p { color: var(--text-muted); max-width: 480px; margin: 0 auto 40px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto; }
.team-card {
  background: var(--bg-soft); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 32px 20px; text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 800; color: white;
}
.team-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.team-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; gap: 4px;
    box-shadow: 0 8px 24px rgba(225,48,108,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; border-radius: 10px; }
  .input-row { flex-direction: column; }
  .download-btn { width: 100%; justify-content: center; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-links { gap: 32px; }
}
@media (max-width: 480px) {
  .downloader-box { padding: 20px 16px; }
  .features-grid { grid-template-columns: 1fr; }
}
