:root{
  --bg:#0b0f14;
  --panel:#101824;
  --panel2:#0f1621;
  --border:rgba(255,255,255,.08);
  --text:#e8eef6;
  --muted:rgba(232,238,246,.68);
  --green:#00d084;
  --green2:#00b974;
  --danger:#ff4d4d;
  --shadow:0 18px 60px rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% -10%, rgba(0,208,132,.18), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(0,208,132,.10), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{width:min(1100px, calc(100% - 32px)); margin:0 auto}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.72);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:16px 0}
.brand{display:flex; align-items:center; gap:10px}
.brand-dot{width:10px; height:10px; border-radius:999px; background:var(--green); box-shadow:0 0 18px rgba(0,208,132,.55)}
.brand-text{font-weight:700; letter-spacing:.2px}
.nav{display:flex; gap:18px; align-items:center}
.nav-link{font-size:14px; color:var(--muted); padding:10px 10px; border-radius:10px}
.nav-link:hover{color:var(--text); background:rgba(255,255,255,.04)}
.nav-link.active{color:var(--text); background:rgba(0,208,132,.10); border:1px solid rgba(0,208,132,.22)}

.nav-toggle{display:none; background:transparent; border:1px solid var(--border); border-radius:12px; padding:10px; cursor:pointer}
.nav-toggle span{display:block; width:18px; height:2px; background:var(--text); margin:4px 0; border-radius:10px}
.mobile-nav{display:none; border-top:1px solid var(--border); background: rgba(11,15,20,.85)}
.mobile-nav-inner{display:flex; flex-direction:column; padding:12px 0}
.mobile-link{padding:12px 8px; border-radius:10px; color:var(--muted)}
.mobile-link:hover{color:var(--text); background:rgba(255,255,255,.04)}

.site-main{padding:34px 0 60px}

.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:center;
}
.kicker{color:rgba(0,208,132,.9); font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:12px}
.h1{font-size:48px; line-height:1.05; margin:12px 0 12px}
.lead{color:var(--muted); font-size:16px; line-height:1.7; margin:0 0 18px}
.disclaimer{
  margin-top:14px;
  padding:14px 14px;
  border:1px solid rgba(0,208,132,.20);
  background: rgba(0,208,132,.06);
  border-radius:14px;
  color:rgba(232,238,246,.84);
  font-size:13px;
}

.card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(16,24,36,.95), rgba(12,18,28,.92));
  border-radius:18px;
  box-shadow: var(--shadow);
}
.card-pad{padding:18px}

.btn-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 16px;
  font-weight:700;
  font-size:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
}
.btn:hover{background: rgba(255,255,255,.07)}
.btn-green{
  border:1px solid rgba(0,208,132,.35);
  background: linear-gradient(180deg, rgba(0,208,132,.95), rgba(0,185,116,.95));
  color:#05140e;
}
.btn-green:hover{filter:brightness(1.05)}
.btn-sm{padding:9px 12px; font-size:13px}
.btn-danger{
  border:1px solid rgba(255,77,77,.35);
  background: rgba(255,77,77,.10);
  color: rgba(255,210,210,.95);
}
.btn-danger:hover{background: rgba(255,77,77,.16)}
.btn-block{width:100%}

.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.section{margin-top:26px}
.section-title{font-size:18px; margin:0 0 10px}
.muted{color:var(--muted)}

.form{display:grid; gap:12px}
.label{font-size:13px; color:rgba(232,238,246,.78)}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.input:focus{border-color:rgba(0,208,132,.45); box-shadow:0 0 0 4px rgba(0,208,132,.12)}

.alert{padding:12px 12px; border-radius:14px; border:1px solid var(--border)}
.alert-success{border-color:rgba(0,208,132,.30); background:rgba(0,208,132,.08)}
.alert-error{border-color:rgba(255,77,77,.35); background:rgba(255,77,77,.07)}

.table{width:100%; border-collapse:collapse; overflow:hidden; border-radius:14px; border:1px solid var(--border)}
.table th,.table td{padding:12px 12px; text-align:left; border-bottom:1px solid var(--border); font-size:14px}
.table th{color:rgba(232,238,246,.85); font-weight:700; background:rgba(255,255,255,.03)}
.table td{color:rgba(232,238,246,.82)}
.table tr:last-child td{border-bottom:none}
.table tbody tr:hover td{background: rgba(255,255,255,.03)}
.table td.actions{white-space:nowrap}

.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,208,132,.25);
  background: rgba(0,208,132,.08);
  color: rgba(232,238,246,.90);
  font-size:12px;
}

.site-footer{border-top:1px solid var(--border); background: rgba(11,15,20,.72)}
.footer-inner{display:flex; gap:16px; justify-content:space-between; padding:22px 0}
.footer-note{color:var(--muted); font-size:13px; margin-top:6px}
.footer-social{display:flex; gap:12px; margin-top:10px; flex-wrap:wrap}
.social-link{color:rgba(232,238,246,.72); font-size:13px; padding:8px 10px; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,.03)}
.social-link:hover{color:var(--text); background:rgba(255,255,255,.06)}
.footer-copy{color:rgba(232,238,246,.62); font-size:13px; text-align:right}
.footer-brand{font-weight:800}

.mock{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.mock img{width:100%; height:auto; display:block}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr;}
  .h1{font-size:40px}
}
@media (max-width: 760px){
  .nav{display:none}
  .nav-toggle{display:inline-flex}
  .grid-2{grid-template-columns:1fr}
  .h1{font-size:34px}
  .table td.actions{white-space:normal}
  .table td.actions .btn{width:100%}
  .table td.actions{display:grid; gap:8px}
  .footer-inner{flex-direction:column; gap:18px}
  .footer-copy{text-align:left}
}

/* Additional enhancement styles */
.card:hover {
  border-color: rgba(0,208,132,.25);
  transition: border-color 0.2s ease;
}

.input::placeholder {
  color: rgba(232,238,246,.4);
}

textarea.input {
  resize: vertical;
  min-height: 120px;
}

.btn {
  transition: all 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.social-link {
  transition: all 0.2s ease;
}

.nav-link {
  transition: all 0.2s ease;
}

/* Loading state */
.btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Scroll smooth */
html {
  scroll-behavior: smooth;
}

/* ==================== ENHANCED RESPONSIVE DESIGN ==================== */

/* Mobile Navigation Animation */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-nav.open {
  display: block;
  max-height: 300px;
  padding: 12px 0;
}

/* Hamburger Animation */
.nav-toggle {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,.06);
}

.nav-toggle span {
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Better Button Sizes on Mobile */
@media (max-width: 760px) {
  .btn {
    padding: 14px 18px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
  
  .btn-row {
    flex-direction: column;
  }
  
  .card-pad {
    padding: 16px;
  }
  
  .container {
    width: calc(100% - 24px);
  }
  
  .site-main {
    padding: 20px 0 40px;
  }
  
  .lead {
    font-size: 15px;
  }
  
  .section-title {
    font-size: 16px;
  }
}

/* Tablet Enhancements */
@media (min-width: 761px) and (max-width: 980px) {
  .hero {
    gap: 20px;
  }
  
  .h1 {
    font-size: 36px;
  }
}

/* Very Small Screens */
@media (max-width: 400px) {
  .h1 {
    font-size: 28px;
  }
  
  .header-inner {
    padding: 12px 0;
  }
  
  .brand-text {
    font-size: 14px;
  }
  
  .table th, .table td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* ==================== SKELETON LOADING ==================== */

.skeleton {
  background: linear-gradient(90deg, 
    rgba(255,255,255,.04) 25%, 
    rgba(255,255,255,.08) 50%, 
    rgba(255,255,255,.04) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 28px;
  width: 60%;
  margin-bottom: 12px;
}

.skeleton-btn {
  height: 44px;
  width: 120px;
  border-radius: 999px;
}

/* ==================== TOAST NOTIFICATIONS ==================== */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: toast-in 0.3s ease;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-success {
  border-color: rgba(0,208,132,.35);
  background: linear-gradient(135deg, rgba(0,208,132,.15), rgba(16,24,36,.95));
}

.toast-error {
  border-color: rgba(255,77,77,.35);
  background: linear-gradient(135deg, rgba(255,77,77,.15), rgba(16,24,36,.95));
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast.removing {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@media (max-width: 760px) {
  .toast-container {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  
  .toast {
    max-width: 100%;
  }
}

/* ==========================================
   HOMEPAGE SECTIONS STYLES
   ========================================== */

/* Features Section */
.features-section {
  margin-top: 60px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  border-color: rgba(0, 208, 132, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.15), rgba(0, 208, 132, 0.05));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 28px;
  color: var(--green);
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.05), rgba(16, 24, 36, 0.8));
  border-radius: 20px;
  border: 1px solid rgba(0, 208, 132, 0.1);
}

.stat-card {
  background: transparent;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), #00ff9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* About Section */
.about-section {
  margin-top: 40px;
}

.about-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-placeholder i {
  font-size: 80px;
  color: var(--green);
  opacity: 0.5;
}

.about-section h2 {
  font-size: 32px;
  font-weight: 700;
}

.about-section p {
  font-size: 16px;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.12), rgba(0, 185, 116, 0.05));
  border: 1px solid rgba(0, 208, 132, 0.2);
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 20, 0.85);
  border-radius: inherit;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
}

.cta-section p {
  font-size: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials Section */
.testimonials-section {
  margin-top: 40px;
}

.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  border-color: rgba(0, 208, 132, 0.25);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

.testimonial-text i {
  font-size: 24px;
  color: var(--green);
  opacity: 0.5;
  display: block;
  margin-bottom: 10px;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
}

.testimonial-avatar-placeholder {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.2), rgba(0, 208, 132, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.testimonial-author strong {
  font-size: 15px;
  font-weight: 600;
}

/* Notice Section */
.notice-section .alert {
  background: rgba(0, 208, 132, 0.08);
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: 14px;
  color: var(--text);
}

.notice-section .alert i {
  color: var(--green);
}

/* Responsive adjustments for homepage sections */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .about-placeholder {
    height: 250px;
  }
  
  .cta-section h2 {
    font-size: 26px;
  }
  
  .feature-card {
    padding: 20px !important;
  }
}
