/* Instagram Landing Page Styles - FolloweUS */

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --surface: #16161f;
  --surface2: #1e1e2e;
  --border: rgba(124,58,237,0.15);
  --text: #f0f0ff;
  --text2: #a0a0c0;
  --primary: #7c3aed;
  --primary2: #a855f7;
  --accent1: #06b6d4;
  --accent2: #f59e0b;
  --accent3: #ec4899;
  --accent4: #10b981;
  --instagram-gradient: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  --grad1: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --grad2: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
  --grad3: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  --grad4: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad5: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
  --grad6: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(124,58,237,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}

.nav-logo img { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--grad3);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

/* Language Bar */
.lang-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.lang-bar::-webkit-scrollbar { display: none; }

.lang-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.lang-label {
  font-size: 0.8rem;
  color: var(--text2);
  font-weight: 600;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.lang-pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text2);
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
}

.lang-pill:hover, .lang-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(131,58,180,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(131,58,180,0.15);
  border: 1px solid rgba(131,58,180,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary2);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  background: var(--instagram-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text2);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--instagram-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(131,58,180,0.4);
}

.btn-large { padding: 1.25rem 3rem; font-size: 1.25rem; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.stat { text-align: center; }

.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--instagram-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Styles */
section { padding: 4rem 1.5rem; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro {
  color: var(--text2);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Comparison Table */
.comparison-section { background: var(--bg2); }

.comparison-chart {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-chart table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-chart th,
.comparison-chart td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-chart th {
  background: var(--surface2);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.comparison-chart td {
  font-size: 0.9rem;
  color: var(--text2);
}

.comparison-chart .highlight {
  background: rgba(131,58,180,0.1);
  color: var(--text);
  font-weight: 600;
}

.comparison-chart tr:last-child td { border-bottom: none; }

/* Article Section */
.article-section {
  max-width: 800px;
  margin: 0 auto;
}

.article-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.article-section p {
  color: var(--text2);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(131,58,180,0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text2);
  font-size: 0.9rem;
}

/* Steps Grid */
.how-to-section { background: var(--bg2); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--instagram-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text2);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section { background: var(--bg); }

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-toggle { display: none; }

.faq-question {
  display: block;
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  padding-right: 3rem;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary2);
}

.faq-toggle:checked + .faq-question::after { content: '−'; }

.faq-question:hover { background: var(--surface2); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  padding: 0 1.25rem;
  color: var(--text2);
  line-height: 1.7;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem;
}

/* CTA Section */
.cta-section {
  background: var(--instagram-gradient);
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-section .btn-primary {
  background: #fff;
  color: #833ab4;
}

.cta-section .btn-primary:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Related Tools */
.related-section { background: var(--bg2); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.related-tool {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.related-tool:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.related-tool h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary2);
}

.related-tool p {
  color: var(--text2);
  font-size: 0.85rem;
}

/* Footer */
.page-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary2); }

.page-footer p {
  color: var(--text2);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links .nav-link { display: none; }
  .hero-stats { gap: 1.5rem; }
  .hero-title { font-size: 2rem; }
  .comparison-chart { overflow-x: auto; }
  .comparison-chart table { min-width: 500px; }
}

/* RTL Support */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .lang-inner { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats { flex-direction: row-reverse; }
[dir="rtl"] .faq-question { padding-right: 1.25rem; padding-left: 3rem; }
[dir="rtl"] .faq-question::after { right: auto; left: 1.25rem; }
