/* ==========================================================
   VDSSATINAL.ORG - PREMIUM THEME
   THEME: Apple Ecosystem Accordion (Sleek, Fast, Flawless)
   ========================================================== */

/* 1. RESET & GLOBALS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background-color: #fbfbfd;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.022em;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

a {
  text-decoration: none;
  color: #0071e3;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, .logo-text, .stat-val {
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}

p {
  color: #515154;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* 3. HEADER & NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0 2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: #1d1d1f;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.brand:hover {
  opacity: 0.8;
}

header .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

header .nav-links a {
  font-weight: 400;
  color: #515154;
  font-size: 0.85rem;
}

header .nav-links a:hover {
  color: #1d1d1f;
}

/* BUTTONS */
.header-cta, .cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background-color: #0071e3;
  color: #ffffff !important;
  font-weight: 400;
  font-size: 0.8rem;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.header-cta:hover, .cta-primary:hover {
  background-color: #0077ed;
  opacity: 1;
}

.header-cta:active, .cta-primary:active {
  transform: scale(0.97);
}

/* Reading Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: #0071e3;
  z-index: 1100;
  width: 0;
  transition: width 0.1s ease;
}

/* 4. HERO SECTION */
.hero-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3.5rem;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  color: #bf4800;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.hero-intro h1 span {
  background: linear-gradient(135deg, #1d1d1f 60%, #515154 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro .subtitle {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: #86868b;
  max-width: 680px;
  margin: 1rem auto 3rem;
  font-weight: 400;
  line-height: 1.4;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.stat-item {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.stat-item:hover {
  border-color: rgba(0, 113, 227, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08);
}

.stat-val {
  font-size: 1.85rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0.25rem;
}

.stat-lbl {
  font-weight: 500;
  color: #86868b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* 5. MAIN CONTENT SECTIONS */
.container {
  width: 100%;
  padding-bottom: 4rem;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accordion Card Design */
.section {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.section:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

/* Section Header (Clickable) */
.section-header {
  position: relative;
  cursor: pointer;
  padding-right: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.section-header:hover h2 {
  color: #0071e3;
}

.section-header img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Chevron Arrow */
.accordion-chevron {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86868b;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header:hover .accordion-chevron {
  background-color: #e8e8ed;
  color: #1d1d1f;
}

/* Section Body (Expandable) */
.section-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding-top 0.4s ease;
}

/* Expanded State */
.section.expanded .section-body {
  opacity: 1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 1.5rem;
}

.section.expanded .accordion-chevron {
  transform: rotate(180deg);
  background-color: #0071e3;
  color: #ffffff;
}

.section-cta {
  margin-top: 1.5rem;
}

.section-cta .cta-primary {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* 6. COMPONENTS & BOXES */
.winner-box, .tip-box {
  background-color: #f5f5f7;
  padding: 1.5rem;
  border-radius: 14px;
  margin: 1.5rem 0;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.winner-box h4, .tip-box strong {
  display: block;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.winner-box p, .tip-box p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.compare-table th, .compare-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}

.compare-table th {
  background-color: #f5f5f7;
  font-weight: 600;
  color: #1d1d1f;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* RATING BAR */
.rating-bar {
  background-color: #e8e8ed;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
}

.rating-bar-fill {
  background-color: #0071e3;
  height: 100%;
  border-radius: 3px;
  width: 95%; 
}

/* LISTS */
.feature-list {
  list-style: none;
  margin: 1.25rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #515154;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0071e3;
  font-weight: bold;
}

/* FAQ LIST */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.faq-answer {
  color: #515154;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* 7. FOOTER */
footer {
  background-color: #f5f5f7;
  color: #86868b;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid, .footer-columns {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.link-col h4 {
  color: #1d1d1f;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.link-col ul {
  list-style: none;
}

.link-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.link-col ul li a {
  color: #515154;
}

.link-col ul li a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 0.75rem;
}

/* 8. FLAWLESS MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  header {
    padding: 0 1rem;
    height: 52px;
  }
  
  header .nav-links {
    display: none; /* Hide header menu links on mobile to match Apple's clean design */
  }

  .brand .logo-text {
    font-size: 1rem;
  }
  
  .hero-intro {
    padding: 4.5rem 1rem 2.5rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 1.25rem 0.75rem;
  }

  .stat-val {
    font-size: 1.5rem;
  }

  .content-block {
    padding: 0 1rem;
  }

  .section {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }
  
  .section-header {
    padding-right: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }
  
  .accordion-chevron {
    width: 28px;
    height: 28px;
  }

  .cta-primary {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}


/* ========================================== 
   EXTRACTED INLINE STYLES 
   ========================================== */
/* Dropdown and TOC Styles - Apple light theme integration */
    .dropdown {
      position: relative;
      display: inline-block;
    }

    .dropdown-trigger {
      font-size: 0.85rem;
      color: #515154;
      font-weight: 400;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      padding: 0.5rem 0.75rem;
      border-radius: 6px;
      transition: all 0.3s ease;
    }

    .dropdown-trigger:hover {
      color: #1d1d1f;
      background-color: #f5f5f7;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background-color: #ffffff;
      min-width: 320px;
      max-height: 480px;
      overflow-y: auto;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 8px;
      z-index: 1000;
      padding: 0.5rem;
    }

    .dropdown-content a {
      display: block;
      padding: 0.6rem 0.8rem;
      font-size: 0.875rem;
      color: #515154;
      border-radius: 4px;
      transition: all 0.2s;
      text-align: left;
    }

    .dropdown-content a:hover {
      background-color: #f5f5f7;
      color: #1d1d1f;
      padding-left: 1rem;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    .toc-container {
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 20px;
      padding: 2rem;
      margin: 2rem auto 3rem;
      max-width: 1000px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015);
    }

    .toc-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      color: #1d1d1f;
      text-align: center;
      letter-spacing: -0.015em;
    }

    .toc-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1rem;
    }

    .toc-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      background: #fbfbfd;
      border: 1px solid transparent;
      border-radius: 8px;
      transition: all 0.2s ease;
    }

    .toc-item:hover {
      border-color: #0071e3;
      background: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 113, 227, 0.08);
    }

    .toc-num {
      font-weight: 700;
      color: #0071e3;
      font-size: 1.1rem;
    }

    .toc-text {
      font-size: 0.95rem;
      color: #515154;
      font-weight: 500;
    }

/* ==========================================================
   DEVELOPER DASHBOARD TAB STYLES
   ========================================================== */
.tabs-container {
  margin: 3rem auto;
  max-width: 1000px;
}

.tabs-switcher {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Outfit', sans-serif;
  min-width: 180px;
}

.tab-btn:hover {
  background-color: #f5f5f7;
}

.tab-btn.active {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.tab-icon {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.tab-svg {
  width: 28px;
  height: 28px;
  stroke: #86868b;
  transition: stroke 0.3s ease;
}

.tab-btn.active .tab-svg {
  stroke: #0071e3;
}

.tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0.25rem;
}

.tab-subtitle {
  font-size: 0.75rem;
  color: #86868b;
}

.tab-btn.active .tab-title {
  color: #0071e3;
}

/* Tabs Content Panel Transition */
.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Normal Section Overrides for Tabs Panel */
.tab-panel .section {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 20px !important;
  padding: 3rem !important;
  margin-bottom: 2.5rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01) !important;
}

.tab-panel .section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tabs-switcher {
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
  }
  .tab-btn {
    min-width: 100%;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 0.75rem 1rem;
  }
  .tab-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
  .tab-btn .tab-title {
    margin-bottom: 0;
  }
  .tab-subtitle {
    display: none;
  }
  .tab-panel .section {
    padding: 1.5rem !important;
  }
  .tab-panel .section h2 {
    font-size: 1.3rem;
  }
}


/* Guidelines Custom Classes */
.td-blue-accent {
  color: #0071e3;
  font-weight: 600;
}
.section-cta-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}
.cta-wide-block {
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-sizing: border-box;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
}
.cta-secondary-custom {
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s;
}


/* Footer Container Alignment */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Custom Elements & Layout Tweak Classes */
footer, .footer {
  /* tag styled above, class selector mapped for validation */
}
.brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background-color: #f5f5f7;
  color: #1d1d1f !important;
  font-weight: 400;
  font-size: 0.8rem;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.cta-secondary:hover {
  background-color: #e8e8ed;
  opacity: 1;
}
.cta-secondary:active {
  transform: scale(0.97);
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #86868b;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.rounded-soft {
  border-radius: 12px;
}
.section-content {
  margin-top: 1.25rem;
}
.tabs-content {
  width: 100%;
}

.highlight {
  color: rgba(0, 113, 227, 1) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline !important;
}
