/* ==========================================================================
   SSStiks.biz - 1:1 SSStik.io Design & Ultra SEO System
   Vibrant Purple-Magenta Gradient, Pure SSStik Aesthetics, Responsive
   ========================================================================== */

:root {
  --primary-purple: #5940f1;
  --primary-magenta: #ce00ff;
  --ssstik-gradient: linear-gradient(89.86deg, #5940f1 8.6%, #ce00ff 99.86%);
  --ssstik-gradient-hover: linear-gradient(89.86deg, #4b32e0 8.6%, #b800e6 99.86%);
  --blue-block-bg: #eef2ff;
  --blue-block-border: #c7d2fe;
  
  --bg-grey: #f4f5f7;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(89, 64, 241, 0.12);
  --shadow-lg: 0 10px 25px rgba(89, 64, 241, 0.18);
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-grey);
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & SSStik Top Navigation
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-icon-box {
  width: 36px;
  height: 36px;
  background: var(--ssstik-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(89, 64, 241, 0.3);
}

.logo-text-sss {
  font-weight: 900;
  color: var(--primary-purple);
}

.logo-text-tik {
  font-weight: 900;
  color: var(--text-dark);
}

.logo-biz-badge {
  background: var(--primary-magenta);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--primary-purple);
}

/* Language Dropdown Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: var(--bg-grey);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  z-index: 200;
  list-style: none;
  padding: 6px 0;
}

.lang-selector:hover .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 500;
}

.lang-dropdown a:hover {
  background: var(--bg-grey);
  color: var(--primary-purple);
}

/* ==========================================================================
   Hero Splash Section (Clean Purple Gradient for Downloader & Ad Space)
   ========================================================================== */
.splash-container {
  background: var(--ssstik-gradient);
  padding: 3.5rem 1rem 3rem;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.splash-title {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.splash-subtitle {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

/* SSStik Input Box */
.input-form-box {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.form-relative-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.main-input {
  flex: 1;
  height: 52px;
  border: none;
  outline: none;
  padding: 0 120px 0 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  background: transparent;
}

.main-input::placeholder {
  color: #94a3b8;
}

.input-actions {
  position: absolute;
  right: 140px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-input-action {
  background: #f1f5f9;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-input-action:hover {
  background: #e2e8f0;
  color: var(--primary-purple);
}

.btn-submit-dl {
  height: 52px;
  padding: 0 2rem;
  background: var(--ssstik-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(89, 64, 241, 0.4);
  transition: all 0.2s ease;
}

.btn-submit-dl:hover {
  background: var(--ssstik-gradient-hover);
  transform: translateY(-1px);
}

/* Reserved Ad Banner Space (Under Downloader Form) */
.ad-space-container {
  max-width: 728px;
  min-height: 90px;
  margin: 1.5rem auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SSStik 3-Highlights Bar (Positioned Below in Content Section) */
.highlights-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 2.5rem auto 1.5rem;
  padding: 0;
  position: relative;
  z-index: 10;
}

.highlight-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(89, 64, 241, 0.12);
  border-color: rgba(89, 64, 241, 0.3);
}

.highlight-title {
  color: var(--primary-purple);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.highlight-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.45;
}

/* ==========================================================================
   Loading & Result Section
   ========================================================================== */
.status-loading-box {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.spinner-purple {
  width: 44px;
  height: 44px;
  border: 4px solid #e2e8f0;
  border-top-color: var(--primary-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status-error-box {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  text-align: left;
}

/* Result Card */
.result-card-container {
  display: none;
  max-width: 820px;
  margin: 2rem auto 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
  animation: slideUp 0.35s ease-out forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  text-align: left;
}

.result-thumb-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
  box-shadow: var(--shadow-sm);
}

.result-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-details {
  display: flex;
  flex-direction: column;
}

.result-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.result-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-purple);
}

.result-author-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.result-author-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-caption {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.dl-button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.ssstik-btn-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-purple-primary {
  background: var(--ssstik-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(89, 64, 241, 0.3);
}

.btn-purple-primary:hover {
  background: var(--ssstik-gradient-hover);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: #f8fafc;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-outline-dark:hover {
  background: #e2e8f0;
}

.btn-audio-mp3 {
  background: #9333ea;
  color: #ffffff;
}

.btn-audio-mp3:hover {
  background: #7e22ce;
}

/* ==========================================================================
   Rich Content & Text Articles (SEO Optimization Engine)
   ========================================================================== */
.content-section {
  padding: 3.5rem 0;
}

.content-section-white {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.seo-article-container {
  max-width: 900px;
  margin: 0 auto;
}

.seo-h2-title {
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.seo-intro-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* SSStik Famous Blue Block for HowTo (With Big Gradient Badges for 1 2 3) */
.blue-howto-block {
  background: var(--blue-block-bg);
  border: 1px solid var(--blue-block-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.blue-howto-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-purple);
  margin-bottom: 1.75rem;
  letter-spacing: -0.3px;
}

.blue-howto-list {
  list-style: none;
  counter-reset: howto-counter;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 0;
}

.blue-howto-list li {
  counter-increment: howto-counter;
  position: relative;
  padding-left: 3.75rem;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.65;
}

.blue-howto-list li::before {
  content: counter(howto-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  background: var(--ssstik-gradient);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(89, 64, 241, 0.35);
}

.blue-howto-list li b {
  color: var(--primary-purple);
  font-weight: 800;
  font-size: 1.125rem;
  display: inline-block;
  margin-right: 4px;
}

/* 6 Items Feature Grid */
.six-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 3rem 0;
}

.six-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.25s ease;
}

.six-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-purple);
}

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

.six-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.six-item-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   1:1 ssstik.io Device Guide Alternating Grid (Matching User Screenshot)
   ========================================================================== */
.guide-header-box {
  text-align: left;
  margin-bottom: 2rem;
}

.guide-subtitle-tag {
  color: var(--primary-magenta);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.device-guides-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 1rem;
}

.guide-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.guide-row-text h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.guide-row-text p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.guide-row-text p:last-child {
  margin-bottom: 0;
}

.guide-row-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 420px;
  height: 280px;
  margin: 0 auto;
}

.guide-row-img img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(89, 64, 241, 0.12));
  transition: transform 0.3s ease;
}

.guide-row-img img:hover {
  transform: translateY(-4px) scale(1.02);
}

@media (max-width: 868px) {
  .guide-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .guide-row.reverse .guide-row-img {
    order: 2;
  }
}

/* ==========================================================================
   Full FAQ Accordion (11 Items)
   ========================================================================== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-header {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  color: var(--text-dark);
}

.faq-header:hover {
  color: var(--primary-purple);
}

.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-card.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-purple);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-card.active .faq-body {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ==========================================================================
   Multilingual Links Bar & Footer
   ========================================================================== */
.footer-lang-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  list-style: none;
  font-size: 0.85rem;
}

.footer-lang-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-lang-links a:hover {
  color: var(--primary-purple);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  margin-top: auto;
}

.footer-disclaimer {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--primary-purple);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .splash-title {
    font-size: 2rem;
  }
  
  .form-relative-wrapper {
    flex-direction: column;
    padding: 10px;
  }
  
  .main-input {
    width: 100%;
    padding: 0 12px;
    height: 48px;
  }
  
  .input-actions {
    position: static;
    margin: 8px 0;
    width: 100%;
    justify-content: flex-end;
  }
  
  .btn-submit-dl {
    width: 100%;
    justify-content: center;
  }
  
  .highlights-bar {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  
  .six-items-grid {
    grid-template-columns: 1fr;
  }
  
  .result-card-grid {
    grid-template-columns: 1fr;
  }
  
  .result-thumb-box {
    max-width: 260px;
    margin: 0 auto;
  }

  .nav-menu {
    display: none;
  }
}
