@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================
   WEBHOSTINGSATINAL.ORG - ZERO-WRITTEN CUSTOM CSS
   THEME: Frappe / ERPNext Minimalist Utility SaaS
   ========================================================== */

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

html {
  font-size: 15px; /* Frappe uses slightly smaller base font */
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937; /* Gray 800 */
  background-color: #f9fafb; /* Gray 50 */
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
}

.section img {
  width: 100% !important;
  max-height: 450px !important;
  object-fit: cover !important;
  margin: 1.5rem auto !important;
}

a {
  text-decoration: none;
  color: #2490ef; /* Frappe Blue */
  transition: color 0.15s ease-in-out;
}

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

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, .logo-text, .section-number, .stat-val {
  font-weight: 600;
  color: #111827; /* Gray 900 */
  letter-spacing: -0.01em;
}

/* 3. HEADER & NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: #2490ef;
  border-radius: 3px;
}

.logo-text {
  font-size: 1.25rem;
  color: #111827;
}

.brand:hover {
  text-decoration: none;
}

ul.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  color: #4b5563; /* Gray 600 */
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #111827;
  text-decoration: none;
}

.cta-button, .cta-primary, .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #2490ef;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.cta-button:hover, .cta-primary:hover, .header-cta:hover {
  background-color: #1a73e8;
  color: #ffffff;
  text-decoration: none;
}

/* Secondary Button Style if needed */
.cta-secondary {
  background-color: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.cta-secondary:hover {
  background-color: #f3f4f6;
  text-decoration: none;
}

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

.hero-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
  border-radius: 9999px; /* Pill shape */
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  border: 1px solid #bfdbfe;
}

.hero-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-intro h1 span {
  color: #2490ef;
}

.hero-subtitle, .subtitle {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 3rem;
}

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

.stat-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.stat-item:hover {
  border-color: #2490ef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 144, 239, 0.15);
}

.stat-num, .stat-val {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.stat-label, .stat-lbl {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #2490ef;
  letter-spacing: 0.05em;
}

/* 5. MAIN CONTENT SECTIONS */
.content-block {
  max-width: 800px; /* Narrower reading width */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden; /* Prevent overlaps */
  clear: both;
}

.section-number {
  display: inline-block;
  background-color: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.section p {
  color: #374151;
  margin-bottom: 1.25rem;
}

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

/* 6. COMPONENTS & BOXES */
.winner-box, .tip-box, .sidebar-box, .cyber-box {
  background-color: #f8fafc;
  border-left: 4px solid #2490ef;
  padding: 1.25rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

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

.compare-table-wrapper {
  width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch; display: block;
  margin: 2rem 0;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
}

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

.compare-table th, .compare-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.compare-table th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #374151;
}

/* RATING BAR */
.rating-container {
  margin: 1.5rem 0;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.rating-label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}

.rating-bar {
  background-color: #e5e7eb;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}

.rating-fill {
  background-color: #2490ef;
  height: 100%;
  border-radius: 3px;
  width: 100%; /* Default fallback if inline fails */
}

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

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-weight: bold;
}

/* PROGRESS BAR */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background-color: #2490ef;
  z-index: 1001;
  width: 0%;
}

/* 7. FOOTER */
footer {
  background-color: #ffffff;
  color: #4b5563;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid #e5e7eb;
}

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

.footer-col h3, .footer-col h4 {
  color: #111827;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-col ul li a {
  color: #4b5563;
}

.footer-col ul li a:hover {
  color: #2490ef;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1024px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* 8. FLAWLESS MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  ul.nav-links {
  list-style: none;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  body, html {
    overflow-x: hidden;
  }
  .section, .content-block, .hero-intro {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100%;
    box-sizing: border-box;
  }
  footer {
    padding: 2rem 1rem !important;
    width: 100%;
    box-sizing: border-box;
  }
  
  ul.nav-links {
  list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .hero-intro {
    padding: 2rem 1rem;
  }

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

  .section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-button, .cta-primary, .header-cta {
    width: 100%;
    text-align: center;
  }

  .footer-container {
    text-align: center;
  }
}


/* ========================================== 
   EXTRACTED INLINE STYLES 
   ========================================== */
/* Minimalist SaaS Dropdown */
    .dropdown {
      position: relative;
      display: inline-block;
    }
    .dropdown-trigger {
      cursor: pointer;
      padding: 0.5rem 1rem;
      color: #4b5563;
      font-weight: 500;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      transition: color 0.15s ease-in-out;
    }
    .dropdown-trigger:hover {
      color: #111827;
    }
    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 6px;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      z-index: 1000;
      min-width: 260px;
      max-height: 350px;
      overflow-y: auto;
    }
    .dropdown:hover .dropdown-content {
      display: block;
    }
    .dropdown-content a {
      display: block;
      padding: 0.6rem 1rem;
      color: #4b5563;
      font-size: 0.85rem;
      font-weight: 500;
      text-decoration: none;
      border-bottom: 1px solid #f3f4f6;
      transition: background-color 0.15s ease, color 0.15s ease;
      text-align: left;
    }
    .dropdown-content a:hover {
      background-color: #f3f4f6;
      color: #2490ef;
      text-decoration: none;
      padding-left: 1.25rem;
    }
    .dropdown-content::-webkit-scrollbar {
      width: 4px;
    }
    .dropdown-content::-webkit-scrollbar-track {
      background: #f9fafb;
    }
    .dropdown-content::-webkit-scrollbar-thumb {
      background: #d1d5db;
      border-radius: 2px;
    }

/* ==========================================================
   CLEAN SAAS ACCORDION ROWS LAYOUT
   ========================================================== */


/* ==========================================================
   CLEAN BLOG LAYOUT STYLING
   ========================================================== */

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin: 2rem auto 4rem;
  width: 100%;
}

.blog-post {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-post:hover {
  border-color: #2490ef;
  box-shadow: 0 10px 20px rgba(36, 144, 239, 0.08);
  transform: translateY(-2px);
}

.blog-post-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1rem;
}

.blog-post-num {
  font-family: monospace;
  font-size: 1rem;
  color: #2490ef;
  font-weight: 700;
  background-color: rgba(36, 144, 239, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-post-header h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.blog-post-content img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.blog-post-text p {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-post-text p:last-child {
  margin-bottom: 0;
}

.blog-post-cta {
  margin-top: 2.5rem;
  border-top: 1px solid #f3f4f6;
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.blog-post-cta .cta-primary {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .blog-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .blog-post-cta {
    justify-content: center;
  }
  
  .blog-post-cta .cta-primary {
    width: 100%;
    text-align: center;
  }
}

/* Guidelines Custom Classes */
.rating-label-mt {
  margin-top: 1rem;
}
.section-cta-flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.highlight {
  color: #2490ef !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline !important;
}

/* ==========================================================
   CLEAN BLOG LAYOUT STYLING
   ========================================================== */

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin: 2rem auto 4rem;
  width: 100%;
}

.blog-post {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-post:hover {
  border-color: #2490ef;
  box-shadow: 0 10px 20px rgba(36, 144, 239, 0.08);
  transform: translateY(-2px);
}

.blog-post-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1rem;
}

.blog-post-num {
  font-family: monospace;
  font-size: 1rem;
  color: #2490ef;
  font-weight: 700;
  background-color: rgba(36, 144, 239, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-post-header h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.blog-post-content img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.blog-post-text p {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-post-text p:last-child {
  margin-bottom: 0;
}

.blog-post-cta {
  margin-top: 2.5rem;
  border-top: 1px solid #f3f4f6;
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.blog-post-cta .cta-primary {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .blog-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .blog-post-cta {
    justify-content: center;
  }
  
  .blog-post-cta .cta-primary {
    width: 100%;
    text-align: center;
  }
}

/* Guidelines Custom Classes */
.rating-label-mt {
  margin-top: 1rem;
}
.section-cta-flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.highlight {
  color: #2490ef !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline !important;
}

/* ==========================================================
   CLEAN BLOG LAYOUT STYLING
   ========================================================== */

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin: 2rem auto 4rem;
  width: 100%;
}

.blog-post {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-post:hover {
  border-color: #2490ef;
  box-shadow: 0 10px 20px rgba(36, 144, 239, 0.08);
  transform: translateY(-2px);
}

.blog-post-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1rem;
}

.blog-post-num {
  font-family: monospace;
  font-size: 1rem;
  color: #2490ef;
  font-weight: 700;
  background-color: rgba(36, 144, 239, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-post-header h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.blog-post-content img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.blog-post-text p {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-post-text p:last-child {
  margin-bottom: 0;
}

.blog-post-cta {
  margin-top: 2.5rem;
  border-top: 1px solid #f3f4f6;
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.blog-post-cta .cta-primary {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .blog-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .blog-post-cta {
    justify-content: center;
  }
  
  .blog-post-cta .cta-primary {
    width: 100%;
    text-align: center;
  }
}

/* Guidelines Custom Classes */
.rating-label-mt {
  margin-top: 1rem;
}
.section-cta-flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.highlight {
  color: #2490ef !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline !important;
}
