/* ==========================================================================
   Shree Win Login - Simple & Minimal UI
   Palette: Deep Navy Blue & Royal Indigo (#181a3a to #12142e)
   Accents: Warm Gold/Yellow (#ffc837 -> #ff8008) & Royal Lavender/Blue (#7b78ff -> #5650f0)
   ========================================================================== */

:root {
  --primary-color: #ffc837;
  --primary-dark: #ff8008;
  --secondary-color: #7b78ff;
  --secondary-dark: #5650f0;
  --accent-download: #10ac84;

  --bg-dark: #12142e;
  --bg-dark-secondary: #181a3a;
  --bg-surface: #1e224f;
  --bg-surface-elevated: #262b64;

  --text-main: #ffffff;
  --text-body: #c4c9e8;
  --text-muted: #8b92be;
  --text-gold: #ffe58f;
  --text-dark-btn: #351c00;

  --border-subtle: rgba(123, 120, 255, 0.2);
  --border-card: rgba(123, 120, 255, 0.35);
  --border-gold: rgba(255, 200, 55, 0.5);

  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

#page {
  flex: 1 0 auto;
  width: 100%;
}

.grid-container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #ffe58f;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-body);
  font-size: 1.02rem;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 24px;
  color: var(--text-body);
}

li {
  margin-bottom: 0.6rem;
}

strong {
  color: #ffffff;
}

hr {
  border: 0;
  height: 1px;
  background: var(--border-subtle);
  margin: 2rem 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--bg-dark-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 999;
}

.inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.site-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-image {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn-login, .nav-btn-register {
  font-size: 15px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.nav-btn-login {
  background: var(--primary-color);
  color: var(--text-dark-btn) !important;
}

.nav-btn-login:hover {
  background: var(--primary-dark);
}

.nav-btn-register {
  background: var(--secondary-color);
  color: #ffffff !important;
}

.nav-btn-register:hover {
  background: var(--secondary-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  margin: 20px 0 30px;
  padding: 40px 20px;
  text-align: center;
}

.website-name-heading {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-gold);
}

.website-square-icon-wrapper {
  margin: 0 auto 16px;
  display: inline-block;
}

.website-square-icon {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-subheading-only {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-gold);
  line-height: 1.45;
  max-width: 620px;
  margin: 0 auto 24px;
}

.hero-buttons-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto 20px;
  width: 100%;
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
  width: 100%;
}

.btn-signup {
  background: var(--primary-color);
  color: var(--text-dark-btn) !important;
}
.btn-signup:hover { background: var(--primary-dark); }

.btn-login-hero {
  background: var(--secondary-color);
  color: #ffffff !important;
}
.btn-login-hero:hover { background: var(--secondary-dark); }

.btn-download-hero {
  background: var(--accent-download);
  color: #ffffff !important;
}
.btn-download-hero:hover { background: #0b8a6a; }

.hero-description-only {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   App Quick Info Table (.app-info-table)
   ========================================================================== */
.app-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
}

.app-info-table td {
  padding: 14px 20px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
}

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

.app-info-table .header-cell {
  font-weight: 600;
  font-size: 14px;
  width: 35%;
  color: var(--text-gold);
  background: var(--bg-dark-secondary);
}

.app-info-table .value-cell {
  font-size: 15px;
  width: 65%;
  color: var(--text-main);
}

/* ==========================================================================
   Heading Styles 
   ========================================================================== */
.entry-content h2, 
.entry-content h3 {
  padding: 10px 0;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid var(--border-subtle);
}

.entry-content h2 { font-size: 1.4rem; }
.entry-content h3 { font-size: 1.2rem; }

/* ==========================================================================
   Standout 3D Feature Cards Grid (.website-features / .features-grid)
   ========================================================================== */
.website-features {
  margin: 30px 0;
}

.features-heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  border-bottom: none !important;
}

.features-description {
  margin: 0 auto 2.5rem auto;
  text-align: center;
  color: var(--text-body);
  max-width: 800px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 auto 2.5rem auto;
}

.feature-column {
  width: calc(33.333% - 16px);
}

@media (max-width: 992px) {
  .feature-column { width: calc(50% - 12px); }
}

@media (max-width: 640px) {
  .feature-column { width: 100%; }
}

.feature-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  text-align: center;
}

.feature-image-wrapper {
  margin-bottom: 16px;
}

.feature-image {
  font-size: 2.2rem;
}

.feature-heading {
  margin: 10px 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.feature-subheading {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* Floating ORB and glow classes are removed from HTML mentally but CSS just won't style them */
.floating-orb, .image-glow, .image-ring, .feature-accent { display: none; }

/* ==========================================================================
   Table of Contents Box (#ez-toc-container)
   ========================================================================== */
#ez-toc-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 25px 0;
}

.ez-toc-title-container {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.ez-toc-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-gold);
  margin: 0;
}

.ez-toc-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 0;
}

.ez-toc-list li {
  margin-bottom: 6px;
}

.ez-toc-list a {
  color: var(--text-body);
}
.ez-toc-list a:hover { color: var(--primary-color); }

/* ==========================================================================
   Comparison Table Matrix (.seo-table)
   ========================================================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  margin: 25px 0;
  background: var(--bg-surface);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.seo-table th, .seo-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-table th {
  background: var(--bg-dark-secondary);
  color: var(--text-gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.seo-table tr:last-child td { border-bottom: none; }
.seo-table tr:hover td { background: var(--bg-surface-elevated); }

.table-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  background: var(--border-subtle);
  color: var(--text-gold);
}

/* ==========================================================================
   FAQ Section (.website-faqs)
   ========================================================================== */
.website-faqs { margin: 30px 0; }

.faqs-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  border-bottom: none !important;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: var(--bg-surface);
}

.faq-question {
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  background: transparent;
  width: 100%;
  border: none;
  text-align: left;
}

.faq-icon {
  color: var(--primary-color);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 16px 16px;
  color: var(--text-body);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-dark-secondary);
  padding: 32px 0 24px;
  width: 100%;
}

.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li a { color: var(--text-body); }
.footer-menu li a:hover { color: var(--primary-color); }

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sticky Desktop Bar */
.sticky-desktop-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: 92%;
  max-width: 440px;
}

.btn-desktop-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--secondary-color);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 10px 16px 10px 20px;
  color: #ffffff;
  cursor: pointer;
}

.desktop-pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.desktop-pill-title {
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
}

.desktop-pill-sub {
  font-size: 0.75rem;
  opacity: 0.85;
}

.desktop-pill-action {
  background: #ffffff;
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .header-buttons .nav-btn-login,
  .header-buttons .nav-btn-register {
    padding: 6px 14px;
    font-size: 13px;
  }
  .header-image { height: 38px; }
  .hero-main { padding: 28px 14px; }
  .website-name-heading { font-size: 1.9rem; }
  .website-square-icon { width: 110px; height: 110px; border-radius: 18px; }
}
