/* ============================================
   Mailtico - Modern Dark Theme
   Version: 2.0
   ============================================ */

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

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  color: #e5e7eb !important;
  background: #0a0e1a !important;
  line-height: 1.6;
  font-size: 18px !important;
  overflow-x: hidden;
}

.wrapper {
  background: #0a0e1a !important;
  min-height: 100vh;
}

.content-wrapper {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.content-wrapper .container-fluid {
  padding: 0 !important;
  max-width: 100% !important;
}

.content-wrapper .row {
  margin: 0 !important;
}

.content-wrapper .col-lg-10,
.content-wrapper .col-md-10,
.content-wrapper .col-sm-12,
.content-wrapper .col-xs-12 {
  width: 100% !important;
  padding: 0 !important;
  position: static !important;
  left: auto !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  color: #ffffff !important;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

h1 { font-size: 5rem !important; }
h2 { font-size: 3.5rem !important; }
h3 { font-size: 2.8rem !important; }
h4 { font-size: 2.2rem !important; }
h5 { font-size: 1.8rem !important; }
h6 { font-size: 1.4rem !important; }

p {
  font-size: 1.25rem !important;
  line-height: 1.8;
  color: #a8aebb !important;
  margin: 0 0 15px 0;
}

a {
  color: #8b5cf6;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a78bfa;
}

/* Override old styles */
.ctrl-site.act-index .row-large {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ctrl-site.act-index .content {
  padding: 0 !important;
}

.ctrl-site.act-index .container-fluid-large {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: 0 !important;
  position: static !important;
}

h1.page-heading {
  padding-top: 0;
  margin-top: 0;
  font-size: 3rem !important;
  color: #ffffff !important;
}

h1.page-heading small {
  font-size: 1rem;
  color: #9ca3af;
}

/* Hide old section styles */
.hide_overflow {
  overflow: visible !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove old section backgrounds */
.section {
  padding: 0 !important;
  position: relative;
  background: transparent !important;
}

.section .bg_image {
  display: none !important;
}

.section h2 {
  font-size: 3.2rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.section p {
  font-size: 1.35rem !important;
  line-height: 1.8 !important;
  color: #a8aebb !important;
}

.section p a {
  color: #8b5cf6 !important;
}

.section p + p {
  padding-top: 15px;
}

/* Override welcome section */
.section.section_welcome {
  padding: 0 !important;
  min-height: auto !important;
  background: transparent !important;
}

.section.section_welcome .bg_image {
  display: none !important;
}

.section.section_welcome h1 {
  font-size: 4.5rem !important;
  padding-bottom: 30px !important;
  color: #ffffff !important;
}

.section.section_welcome h1:after {
  display: none !important;
}

.section.section_welcome h1 span {
  display: block;
}

/* Override other sections */
.section.section_why,
.section.section_support,
.section.section_contact {
  background: transparent !important;
  padding: 0 !important;
  min-height: auto !important;
}

/* Articles */
.related-articles,
.list-articles {
  margin-top: 20px;
}

.related-articles .article,
.list-articles .article {
  background: rgba(26, 31, 53, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  min-height: auto;
  transition: all 0.3s ease;
}

.related-articles .article:hover,
.list-articles .article:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
}

.related-articles .article .title,
.list-articles .article .title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.related-articles .article .excerpt,
.list-articles .article .excerpt,
.list-articles .article .categories {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* Buttons */
.btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  border: none !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5558e3, #7c4de8) !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
  color: #ffffff !important;
}

.btn-default {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-default:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* Forms */
.form-control {
  background: rgba(15, 18, 25, 0.6) !important;
  border: 2px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(15, 18, 25, 0.8) !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
  color: #ffffff !important;
  outline: none;
}

.form-control::placeholder {
  color: #6b7280;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2.8rem !important; }
  h2 { font-size: 2.5rem !important; }
  h3 { font-size: 2rem !important; }
  h4 { font-size: 1.65rem !important; }
  h5 { font-size: 1.3rem !important; }
  
  p {
    font-size: 1.05rem;
  }
  
  .section p {
    font-size: 1.15rem !important;
  }
  
  h1.page-heading {
    font-size: 2.5rem !important;
  }
  
  .section.section_welcome h1 {
    font-size: 2.8rem !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem !important; }
  h2 { font-size: 2rem !important; }
  
  .btn {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

/* Utility Classes */
.text-white {
  color: #ffffff !important;
}

.text-gray {
  color: #9ca3af !important;
}

.bg-dark {
  background: #0a0e1a !important;
}

.bg-darker {
  background: #0f1219 !important;
}

/* Override any remaining white backgrounds */
.container,
.container-fluid,
.row,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  background: transparent !important;
}

/* Image wrapper */
.image_wrapper {
  display: none !important;
}

/* Alerts & Notifications */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid;
  margin-bottom: 15px;
}

.alert-success {
  color: #10b981 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  background: rgba(16, 185, 129, 0.1) !important;
}

.alert-error,
.alert-danger {
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

.alert-info {
  color: #3b82f6 !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  background: rgba(59, 130, 246, 0.1) !important;
}

.alert-warning {
  color: #f59e0b !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

/* Loading & Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Footer Styles - CRITICAL */
footer,
.main-footer,
footer.main-footer {
  background: rgba(15, 18, 25, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 50px 0 30px !important;
  margin-top: 80px !important;
  color: #9ca3af !important;
}

footer *,
.main-footer *,
footer.main-footer * {
  color: #9ca3af !important;
}

footer .container,
.main-footer .container {
  max-width: 1200px !important;
}

footer .copyright,
.main-footer .copyright {
  font-size: 1.1rem !important;
  color: #9ca3af !important;
  font-weight: 500;
  display: block;
  padding: 10px 0;
}

footer .links,
.main-footer .links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
}

footer .links li,
.main-footer .links li {
  display: inline-block !important;
  margin: 0 !important;
}

footer .links li:not(:last-child)::after,
.main-footer .links li:not(:last-child)::after {
  content: '•' !important;
  margin-left: 15px !important;
  color: rgba(255, 255, 255, 0.2) !important;
}

footer .links a,
.main-footer .links a {
  color: #d1d5db !important;
  text-decoration: none !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  padding: 8px 5px !important;
  letter-spacing: 0.3px !important;
}

footer .links a:hover,
.main-footer .links a:hover {
  color: #8b5cf6 !important;
}

footer .social,
.main-footer .social {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

footer .social li,
.main-footer .social li {
  display: inline-block !important;
}

footer .social a,
.main-footer .social a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #d1d5db !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-size: 1.1rem !important;
}

footer .social a:hover,
.main-footer .social a:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

footer .social a i,
.main-footer .social a i {
  color: inherit !important;
}

/* Navbar override */
.navbar,
.navbar-default,
header.navbar,
header.navbar-default {
  background: rgba(15, 18, 25, 0.95) !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  margin-bottom: 0 !important;
  min-height: 85px !important;
  padding: 0 !important;
}

.navbar-brand,
.navbar-default .navbar-brand {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  padding: 25px 20px !important;
  letter-spacing: -0.02em !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.navbar-nav > li > a {
  color: #d1d5db !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  padding: 28px 20px !important;
}

.navbar-nav > li > a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.navbar-toggle {
  margin-top: 25px !important;
  margin-bottom: 25px !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.navbar-toggle .icon-bar {
  background-color: #ffffff !important;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Block Address Page Styles */
.box,
.box-primary,
.box-default {
  background: rgba(26, 31, 53, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  padding: 30px !important;
}

.box-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px !important;
}

.box-header h3,
.box-header .box-title {
  font-size: 2rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.box-body {
  padding: 30px !important;
  background: transparent !important;
}

.box-body p {
  font-size: 1.15rem !important;
  color: #b4b9c7 !important;
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}

.box-body strong {
  color: #ffffff !important;
}

.box-body label {
  font-size: 1.1rem !important;
  color: #e5e7eb !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  display: block;
}

.box-body input[type="text"],
.box-body input[type="email"] {
  background: rgba(15, 18, 25, 0.6) !important;
  border: 2px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 16px 18px !important;
  font-size: 1.1rem !important;
  border-radius: 12px !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
}

.box-body input[type="text"]:focus,
.box-body input[type="email"]:focus {
  background: rgba(15, 18, 25, 0.8) !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
  outline: none !important;
}

.box-body input::placeholder {
  color: #6b7280 !important;
}

.box-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px !important;
}

/* Well / Info Boxes */
.well,
.callout,
.alert-info,
.info-box {
  background: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  color: #93c5fd !important;
  margin-bottom: 20px !important;
}

.well p,
.callout p,
.alert-info p {
  color: #93c5fd !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
}

/* Page Content */
.content {
  background: transparent !important;
  padding: 40px 0 !important;
}

.page-heading,
h1.page-heading {
  font-size: 3rem !important;
  color: #ffffff !important;
  margin-bottom: 30px !important;
  font-weight: 900 !important;
}

/* Contact Info Box */
.contact-info-box {
  background: rgba(26, 31, 53, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 25px !important;
  margin: 30px 0 !important;
  text-align: center !important;
}

.contact-info-box h3 {
  font-size: 1.8rem !important;
  color: #8b5cf6 !important;
  margin-bottom: 15px !important;
}

.contact-info-box p {
  font-size: 1.15rem !important;
  color: #b4b9c7 !important;
  margin-bottom: 15px !important;
}

.contact-info-box a {
  color: #8b5cf6 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1.15rem !important;
}

.contact-info-box a:hover {
  color: #a78bfa !important;
  text-decoration: underline !important;
}

/* Telegram Icon */
.telegram-icon {
  font-size: 2.5rem !important;
  color: #0088cc !important;
  margin-bottom: 15px !important;
  display: inline-block !important;
}

/* Print styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
