:root {
  --primary: #E1306C;
  --secondary: #833AB4;
  --dark: #1a1a1a;
  --light: #fafafa;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,.12);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
* {margin:0;padding:0;box-sizing:border-box}
body {background:var(--light);color:var(--dark);line-height:1.6}
.container {max-width:1100px;margin:0 auto;padding:0 20px}
.header {background:var(--white);box-shadow:0 2px 8px rgba(0,0,0,.06);position:sticky;top:0;z-index:100}
.header .container {display:flex;align-items:center;padding:14px 20px}
.logo {display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.4rem}
.logo-img {height:32px;width:auto}
.nav {margin-left:auto;display:flex;gap:20px}
.nav a {text-decoration:none;color:var(--dark);font-weight:500}
.hero {background:linear-gradient(135deg,var(--secondary) 0%,var(--primary) 100%);color:var(--white);text-align:center;padding:60px 20px}
.hero h1 {font-size:2.2rem;margin-bottom:10px}
.hero-sub {font-size:1.1rem;opacity:.9;margin-bottom:30px}
.downloader-box {background:var(--white);border-radius:var(--radius);padding:30px;max-width:600px;margin:0 auto 30px;box-shadow:var(--shadow)}
#instagram-url {width:100%;padding:14px 18px;border:2px solid var(--white);border-radius:var(--radius);font-size:1rem;transition:.3s;outline:none}
#instagram-url:focus {border-color:var(--primary)}
.btn-primary {width:100%;margin-top:12px;padding:14px 20px;background:var(--primary);color:var(--white);border:none;border-radius:var(--radius);font-size:1.05rem;font-weight:600;cursor:pointer;transition:.3s}
.btn-primary:hover {background:#c13584}
.progress-bar {margin-top:15px;height:4px;background:#e8e8e8;border-radius:4px;overflow:hidden}
.progress-fill {height:100%;background:var(--primary);width:0%;animation:progress 2s ease-in-out infinite}
@keyframes progress{0%{width:0}50%{width:70%}100%{width:100%}}
.error-message {margin-top:12px;background:#ffe5e5;color:#d63031;padding:10px 14px;border-radius:var(--radius);font-size:.9rem}
.hidden {display:none}
.results-section {padding:50px 0;background:var(--white)}
.results-section h2 {text-align:center;margin-bottom:30px}
.results-container {max-width:700px;margin:0 auto}
.result-item {background:var(--light);border-radius:var(--radius);padding:25px;margin-bottom:25px;text-align:center}
.result-media {max-width:100%;border-radius:var(--radius);margin-bottom:15px}
.download-btn {display:inline-flex;align-items:center;gap:8px;background:#00b894;color:var(--white);padding:12px 28px;border-radius:var(--radius);text-decoration:none;font-weight:600}
.faq {padding:50px 0;background:var(--light)}
.faq h2 {text-align:center;margin-bottom:25px}
.faq-item {background:var(--white);border-radius:var(--radius);margin-bottom:10px;overflow:hidden}
.faq-question {width:100%;padding:18px 22px;background:none;border:none;text-align:left;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.faq-question::after {content:'+'；font-size:1.3rem;color:var(--primary)}
.faq-item.active .faq-question::after {content:'−'}
.faq-answer {max-height:0;overflow:hidden;transition:max-height .3s ease-out;padding:0 22px}
.faq-item.active .faq-answer {max-height:200px;padding-bottom:18px}
.footer {background:var(--white);color:var(--black);padding:30px 0;text-align:center;font-size:.9rem}
.footer-brand {display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}
.footer-links {display:flex;gap:15px;justify-content:center;margin-bottom:8px}
.footer-links a {color:#000000;text-decoration:none}
.ad-slot {margin:30px auto;max-width:728px;text-align:center;min-height:90px}
@media(max-width:600px){.hero h1{font-size:1.8rem}.nav{display:none}}