/* =========================
   RESET + BASE
========================= */
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:Inter, Arial, sans-serif; min-height:100vh; overflow-x:hidden; transition: background 0.3s, color 0.3s; }
body.dark { background:#0b0f1a; color:white; }
body.light { background:#f7f8fc; color:#111; }

/* =========================
   FLOATING ICONS
========================= */
.floating-bg { position:fixed; inset:0; z-index:-1; pointer-events:none; }
.float { position:absolute; width:72px; opacity:0.35; animation:idleFloat 7s ease-in-out infinite; }
.f1 { top:18%; left:8%; animation-delay:0s; }
.f2 { top:62%; left:12%; animation-delay:1s; }
.f3 { top:32%; left:38%; animation-delay:2s; }
.f4 { top:68%; left:56%; animation-delay:3s; }
.f5 { top:22%; left:72%; animation-delay:4s; }
.f6 { top:55%; left:88%; animation-delay:5s; }
@keyframes idleFloat { 0%{transform:translate(0,0);}50%{transform:translate(12px,-14px);}100%{transform:translate(0,0);} }

/* =========================
   NAVBAR
========================= */
.navbar { display:flex; justify-content:space-between; align-items:center; padding:20px 56px; position:fixed; width:100%; z-index:20; }
.nav-left, .nav-right { display:flex; align-items:center; gap:16px; position:sticky; top:10px; }
.nav-left::before, .nav-right::before { content:""; position:absolute; inset:-10px; background:rgba(0,0,0,0.35); backdrop-filter:blur(12px); border-radius:999px; z-index:-1; }
body.light .nav-left::before, body.light .nav-right::before { background:rgba(255,255,255,0.6); }

.logo-link { display:flex; align-items:center; gap:10px; font-weight:700; text-decoration:none; color:inherit; transition: transform 0.35s ease, filter 0.35s ease; }
.logo-link img { width:36px; }
.logo-link:hover { transform:translateY(-6px) rotate(-3deg); filter:drop-shadow(0 8px 12px rgba(255,255,255,0.35)); }

/* =========================
   BUTTONS
========================= */
.btn { --g1:#8d49fd; --g2:#7f56f3; --g3:#5691f3; border:none; border-radius:999px; background:linear-gradient(to bottom,var(--g1),var(--g2),var(--g3)); color:white; cursor:pointer; font-weight:500; transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; }
.btn span { display:block; padding:12px 28px; }
.btn:hover { transform:translateY(-2px) scale(1.05); box-shadow:0 12px 30px rgba(0,0,0,0.35); filter:brightness(1.15); }
.btn-get-started span { font-size:1.15rem; padding:16px 32px; } /* bigger get started */

/* =========================
   THEME TOGGLE + DAY/NIGHT ICON
========================= */
.theme-toggle { position:relative; width:46px; height:24px; margin-left:8px; }
.theme-toggle input { display:none; }
.slider { position:absolute; inset:0; background:#555; border-radius:999px; transition:0.3s; }
.slider::before { content:""; position:absolute; width:18px; height:18px; top:3px; left:4px; background:white; border-radius:50%; transition:0.3s; }
input:checked + .slider::before { transform:translateX(20px); }
.day-night-icon { width:28px; height:auto; margin-left:6px; }

/* =========================
   PILLS
========================= */
.pill { background: rgba(255,255,255,0.08); backdrop-filter:blur(14px); border-radius:999px; padding:32px; max-width:860px; margin:40px auto; text-align:center; display:flex; flex-direction:column; align-items:center; gap:16px; transition: transform 0.25s ease, filter 0.25s ease, background 0.3s; }
.pill:hover { transform:translateY(-4px); filter:brightness(1.1); }
body.light .pill { background: rgba(255,255,255,0.15); } /* keep boxed in light mode */
.pill-img { width:72px; height:72px; object-fit:contain; }

/* =========================
   HERO
========================= */
.hero { padding:180px 20px 140px; max-width:860px; margin:auto; text-align:center; }
.hero h1 { font-size:3.2rem; margin-bottom:20px; line-height:1.2; }
.hero p { font-size:1.15rem; opacity:0.85; margin-bottom:40px; }

/* =========================
   FEATURES
========================= */
.features { max-width:900px; margin:auto; padding:80px 20px; display:flex; flex-direction:column; gap:40px; }

/* =========================
   HOW IT WORKS
========================= */
.how-it-works { max-width:1000px; margin:80px auto; padding:20px; text-align:center; }
.how-it-works h2 { margin-bottom:24px; }
.steps-container { display:flex; flex-wrap:wrap; justify-content:center; gap:24px; margin-top:20px; }
.step { display:flex; flex-direction:column; align-items:center; gap:12px; max-width:200px; transition: transform 0.25s ease, filter 0.25s ease, background 0.3s; }
.step img { width:72px; height:72px; object-fit:contain; }
body.light .step { background: rgba(255,255,255,0.15); }

/* =========================
   TESTIMONIALS
========================= */
.testimonials { max-width:1000px; margin:80px auto; padding:20px; overflow:hidden; text-align:center; }
.testimonials h2 { margin-bottom:24px; }
.testimonial-marquee { overflow:hidden; position:relative; width:100%; }
.testimonial-track { display:flex; gap:24px; animation:scrollTestimonial 30s linear infinite; }
.testimonial { flex:0 0 280px; padding:24px; text-align:center; border-radius:999px; transition: transform 0.25s ease, filter 0.25s ease, background 0.3s; }
.testimonial:hover { transform:translateY(-4px); filter:brightness(1.1); }
body.light .testimonial { background: rgba(255,255,255,0.15); }
@keyframes scrollTestimonial { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

/* =========================
   FOOTER
========================= */
footer { text-align:center; padding:60px 20px 100px; opacity:0.95; }
footer .footer-links { display:flex; justify-content:center; gap:24px; margin-bottom:20px; }
footer .footer-links a { text-decoration:none; color:inherit; opacity:0.7; transition:opacity 0.2s; }
footer .footer-links a:hover { opacity:1; }
footer .quote-box { display:inline-block; background:rgba(255,255,255,0.08); backdrop-filter:blur(14px); padding:20px 32px; border-radius:999px; margin:20px 0 40px; font-style:italic; }
body.light footer .quote-box { background: rgba(255,255,255,0.15); }
footer p.copyright { margin-top:20px; opacity:0.8; }

/* =========================
   SCROLLBAR CLEANUP
========================= */
.testimonial-container::-webkit-scrollbar, .testimonial-track::-webkit-scrollbar { display:none; }

/* =========================
   AUTH FORM
========================= */
.auth-container {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.auth-card {
  background: linear-gradient(to right, #1e3a8a, #7f56f3);
  border-radius:1rem;
  padding:3rem 2rem;
  width:100%;
  max-width:400px;
  text-align:center;
  box-shadow:0 20px 40px rgba(0,0,0,0.3);
  animation: slideInFromLeft 1s ease-out;
}

.auth-title {
  font-size:2.5rem;
  font-weight:800;
  color:#fff;
  margin-bottom:0.5rem;
  animation: appear 2s ease-out;
}

.auth-subtitle {
  color:rgba(255,255,255,0.8);
  margin-bottom:2rem;
  animation: appear 3s ease-out;
}

.auth-form .relative {
  position:relative;
  margin-bottom:1.5rem;
}

.auth-form input {
  width:100%;
  padding:14px 16px;
  background:rgba(255,255,255,0.08);
  border:1.5px solid rgba(255,255,255,0.2);
  border-radius:8px;
  color:white;
  font-size:1rem;
  transition:0.3s;
  backdrop-filter:blur(10px);
}

.auth-form input::placeholder {
  color:rgba(255,255,255,0.4);
}

.auth-form input:focus {
  outline:none;
  border-color:#a78bfa;
  background:rgba(255,255,255,0.12);
  box-shadow:0 0 20px rgba(167,139,250,0.3);
}

.auth-form input.error-input {
  border-color:#ef4444;
  background:rgba(239,68,68,0.1);
  animation:shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform:translateX(0); }
  25% { transform:translateX(-5px); }
  75% { transform:translateX(5px); }
}

.auth-form label {
  display:none;
}

.auth-form .error-message {
  color:#ef4444;
  font-size:0.85rem;
  margin-top:6px;
  display:none;
  text-align:left;
  font-weight:500;
}

.auth-form input.error-input + .error-message {
  display:block;
}

.auth-options {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:1.5rem;
}

.forgot-link {
  color:#c4b5fd;
  text-decoration:none;
  font-size:0.9rem;
}

.forgot-link:hover {
  text-decoration:underline;
}

/* Forgot Password Modal */
.forgot-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.forgot-modal-content {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(20px);
  margin: 10% auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.forgot-modal-content h2 {
  margin-top: 0;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.forgot-modal-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.close-forgot {
  color: rgba(255, 255, 255, 0.7);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close-forgot:hover,
.close-forgot:focus {
  color: #fff;
}

.forgot-modal-content .relative {
  margin-bottom: 15px;
}

.forgot-modal-content .btn-auth {
  margin-top: 10px;
}

body.light .forgot-modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light .forgot-modal-content h2 {
  color: #1a1a1a;
}

body.light .forgot-modal-content p {
  color: rgba(0, 0, 0, 0.6);
}

body.light .close-forgot {
  color: rgba(0, 0, 0, 0.6);
}

body.light .close-forgot:hover,
body.light .close-forgot:focus {
  color: #000;
}

/* Success Modal */
.success-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.success-modal-content {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(20px);
  margin: 15% auto;
  padding: 40px 30px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 15px;
  width: 90%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.success-modal-content h2 {
  color: #10b981;
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.success-modal-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 25px;
  line-height: 1.5;
}

.success-modal-content .btn {
  background: #10b981;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.success-modal-content .btn:hover {
  background: #059669;
}

body.light .success-modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(16, 185, 129, 0.2);
}

body.light .success-modal-content h2 {
  color: #059669;
}

body.light .success-modal-content p {
  color: rgba(0, 0, 0, 0.6);
}

/* Delete Confirmation Modal */
.delete-confirm-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.delete-confirm-content {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(20px);
  margin: 15% auto;
  padding: 40px 30px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.delete-confirm-content h2 {
  color: #ef4444;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.delete-confirm-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0;
  line-height: 1.4;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-cancel, .btn-delete {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cancel {
  background: rgba(100, 116, 139, 0.3);
  color: #fff;
}

.btn-cancel:hover {
  background: rgba(100, 116, 139, 0.5);
}

.btn-delete {
  background: #ef4444;
  color: white;
}

.btn-delete:hover {
  background: #dc2626;
}

body.light .delete-confirm-content {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(239, 68, 68, 0.2);
}

body.light .delete-confirm-content h2 {
  color: #dc2626;
}

body.light .delete-confirm-content p {
  color: rgba(0, 0, 0, 0.6);
}

.btn-auth {
  width:100%;
  padding:12px 0;
  background: #a78bfa;
  border-radius:0.5rem;
  font-weight:600;
  color:#fff;
  transition:0.25s;
}

.btn-auth:hover {
  background:#7c3aed;
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 12px 20px rgba(0,0,0,0.3);
}

/* Footer link */
.auth-footer {
  margin-top:1.5rem;
  color:rgba(255,255,255,0.8);
}

.auth-footer a {
  color:#c4b5fd;
  text-decoration:none;
}

.auth-footer a:hover {
  text-decoration:underline;
}

/* Animations */
@keyframes slideInFromLeft {
  0% { transform:translateX(-100px); opacity:0; }
  100% { transform:translateX(0); opacity:1; }
}

@keyframes appear {
  0% { opacity:0; transform:translateY(20px); }
  100% { opacity:1; transform:translateY(0); }
}

/* Light mode override */
body.light .auth-card {
  background: linear-gradient(to right, #93c5fd, #a78bfa);
}

body.light .auth-form input {
  border-bottom:2px solid rgba(0,0,0,0.2);
  color:#111;
}

body.light .auth-form input:focus + label {
  color:#7f56f3;
}

body.light .auth-options,
body.light .auth-footer {
  color:#111;
}

body.light .forgot-link,
body.light .auth-footer a {
  color:#7f56f3;
}

/* Logo hover effect */
.logo-link { 
  display:flex; 
  align-items:center; 
  gap:10px; 
  font-weight:700; 
  text-decoration:none; 
  color:inherit; 
  transition: transform 0.35s ease, filter 0.35s ease; 
}
.logo-link img { width:36px; }
.logo-link:hover { 
  transform:translateY(-6px) rotate(-3deg); 
  filter:drop-shadow(0 8px 12px rgba(255,255,255,0.35)); 
}

/* Theme icon next to switch */
.theme-icon { 
  width:24px; 
  height:24px; 
  margin-left:8px; 
}

.google-btn {
  width: 100%;
  max-width: 350px;
  margin: 10px 0;
  padding: 0;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  background: linear-gradient(to bottom, #e9e9e9 50%, #fff);
  overflow: hidden;
  display: inline-flex;
  transition: all 0.3s ease;
}

.google-btn:hover {
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.google-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #101010;
  background: linear-gradient(to top, #ececec, #fff);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.google-btn-inner:hover {
  background: linear-gradient(to top, #e2e2e2, #fff);
  color: #4285F4; /* Google blue on hover */
}

.google-btn svg {
  width: 24px;
  height: 24px;
}

/* =========================
   DASHBOARD GRID
========================= */
.dashboard-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  padding: 140px 40px 40px; /* padding to avoid navbar */
  min-height: 100vh;
}

.sidebar {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.light .sidebar { background: rgba(255,255,255,0.15); }

.sidebar-section h3 { margin-bottom: 12px; }
.sidebar-section ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.sidebar-section ul li { cursor:pointer; padding:6px 12px; border-radius:6px; transition:0.2s; }
.sidebar-section ul li:hover { background: rgba(255,255,255,0.1); }

.main-content h2 { margin-bottom: 20px; }
.recent-activity, .progress-section { margin-bottom: 40px; }

.search-container {
  position: sticky;
  top:80px;
  z-index:15;
  margin: 0 40px 20px;
}

.search-container input {
  width: 100%;
  padding:12px 20px;
  border-radius:50px;
  border:none;
  font-size:1rem;
  background: rgba(255,255,255,0.1);
  color:white;
}

body.light .search-container input {
  background: rgba(0,0,0,0.08);
  color:#111;
}

.search-dropdown {
  list-style:none;
  background: rgba(255,255,255,0.05);
  margin-top:4px;
  border-radius:8px;
  max-height:200px;
  overflow-y:auto;
  display:none;
  padding:0;
}

body.light .search-dropdown { background: rgba(0,0,0,0.08); }

.search-dropdown li {
  padding:8px 16px;
  cursor:pointer;
}

.search-dropdown li:hover { background: rgba(255,255,255,0.1); }

@media screen and (max-width: 768px){
  .dashboard-grid { grid-template-columns: 1fr; padding:120px 20px 20px; }
  .sidebar { flex-direction: row; overflow-x:auto; padding:10px; gap:10px; }
}

/* Birthday input styling */
.input-boxed[type="date"] {
  color: white;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 0.8rem;
  padding: 10px 12px;
}

.input-boxed[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1); /* Makes the calendar icon visible in dark mode */
  cursor: pointer;
}

/* Terms message styling */
.terms-msg {
  font-size: 0.9rem;
  margin: 0.5rem 0 1.2rem;
  color: rgba(255,255,255,0.8);
  text-align: center;
}

.terms-msg a {
  color: #c4b5fd;
  text-decoration: underline;
}

body.light .terms-msg {
  color: #111;
}

body.light .terms-msg a {
  color: #7f56f3;
}

/* DASHBOARD LAYOUT */
.dashboard-container {
  display: flex;
  min-height: 100vh;
  padding-top: 80px; /* space for navbar */
}

/* SIDEBAR */
.sidebar {
  width: 220px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: width 0.3s;
}
.sidebar.collapsed {
  width: 60px;
}
.sidebar h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #c4b5fd;
}
.sidebar ul {
  list-style: none;
  padding-left: 0;
}
.sidebar ul li {
  padding: 6px 0;
  color: #fff;
}

/* COLLAPSE BUTTON */
.collapse-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
  cursor: pointer;
}

/* MAIN CONTENT */
.main-content {
  flex: 1;
  padding: 20px 40px;
}

/* TOP SECTION */
.top-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.search-bar {
  width: 300px;
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: white;
}
.search-bar::placeholder {
  color: rgba(255,255,255,0.6);
}

/* PROFILE DROPDOWN */
.profile-container {
  position: relative;
}
.dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  background: rgba(0,0,0,0.8);
  border-radius: 0.5rem;
  overflow: hidden;
  z-index: 100;
  min-width: 160px;
  flex-direction: column;
}
.dropdown a {
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}
.dropdown a:hover {
  background: rgba(255,255,255,0.1);
}
.dropdown.show {
  display: flex;
  flex-direction: column;
}

/* PROGRESS SECTION */
.progress-section {
  margin-top: 40px;
  text-align: center;
}
.progress-section canvas {
  max-width: 400px;
  margin: 20px auto;
}
#noProgressMsg {
  color: rgba(255,255,255,0.6);
}

/* LIGHT MODE ADJUSTMENTS */
body.light .sidebar {
  background: rgba(0,0,0,0.05);
}
body.light .sidebar h3 {
  color: #7f56f3;
}
body.light .search-bar {
  border-color: rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.15);
  color: #111;
}
body.light .search-bar::placeholder {
  color: rgba(0,0,0,0.5);
}
body.light .dropdown {
  background: #f7f8fc;
}
body.light .dropdown a {
  color: #111;
}
body.light #noProgressMsg {
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px){
  .dashboard-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }
  .sidebar.collapsed {
    width: 100%;
  }
  .main-content {
    padding: 20px 10px;
  }
  .top-section {
    gap: 6px;
  }
  .search-bar {
    width: 90%;
  }
}

/* PROFILE ICON */
.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
}

/* SIGN OUT RED */
.signout {
  color: #ff4d4d !important;
}

/* UIVERSE COLLAPSE BUTTON */
.button {
  display: block;
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0;
  overflow: hidden;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  border: 0;
}

.button:before,
.button:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 7px;
}

.button:before {
  border: 4px solid #f0eeef;
  transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}

.button:after {
  border: 4px solid #96daf0;
  transform: scale(1.3);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.button:hover:before,
.button:focus:before {
  opacity: 0;
  transform: scale(0.7);
}

.button:hover:after,
.button:focus:after {
  opacity: 1;
  transform: scale(1);
}

.button-box {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.button-elem {
  display: block;
  width: 20px;
  height: 20px;
  margin: 17px 18px 0 18px;
  transform: rotate(180deg);
  fill: #f0eeef;
}

.button:hover .button-box,
.button:focus .button-box {
  transition: 0.4s;
  transform: translateX(-56px);
}

/* =========================
   CHECKBOX STYLING
========================= */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #8d49fd;
}

.checkbox-group label {
  cursor: pointer;
  font-size: 0.95rem;
  user-select: none;
}

.checkbox-group label:hover {
  opacity: 0.8;
}

/* =========================
   HAMBURGER MENU STYLES (HIDDEN)
========================= */
.hamburger-menu {
  display: none !important;
}

.mobile-menu {
  display: none !important;
}

/* =========================
   MOBILE RESPONSIVE DESIGN
========================= */
@media (max-width: 1200px) {
  .navbar {
    padding: 20px 32px;
  }
  
  .dashboard-navbar {
    padding: 16px 24px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Navbar Mobile */
  .navbar {
    padding: 16px 20px;
  }

  .hamburger-menu {
    display: none !important;
  }

  .nav-right {
    gap: 8px;
  }

  .logo-link span {
    display: none;
  }

  .logo-link img {
    width: 32px;
  }

  .day-night-icon {
    width: 24px;
  }

  .theme-toggle {
    width: 40px;
    height: 22px;
  }

  /* Dashboard Navbar Mobile */
  .dashboard-navbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .navbar-center {
    order: 3;
    width: 100%;
    min-width: unset;
  }

  .search-bar {
    max-width: 100%;
  }

  .navbar-left::before,
  .navbar-right::before {
    display: none;
  }

  /* Hero Section */
  .hero {
    padding: 140px 20px 100px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .pill {
    padding: 24px;
    border-radius: 16px;
  }

  .pill-img {
    width: 56px;
    height: 56px;
  }

  /* Features */
  .features {
    padding: 40px 20px;
    gap: 20px;
  }

  /* How it works */
  .steps-container {
    flex-direction: column;
    gap: 20px;
  }

  .step {
    max-width: 100%;
  }

  /* Testimonials */
  .testimonial-track {
    animation: scrollTestimonial 20s linear infinite;
  }

  .testimonial {
    flex: 0 0 240px;
    padding: 20px;
  }

  /* Footer */
  footer {
    padding: 40px 20px 80px;
  }

  footer .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  footer .quote-box {
    padding: 16px 24px;
    max-width: 90vw;
  }

  /* Pricing Page Mobile */
  .pricing-container {
    padding: 160px 16px 60px;
  }

  .pricing-header h1 {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .plan-name {
    font-size: 1.5rem;
  }

  /* Blog Page Mobile */
  .blog-container {
    padding: 160px 16px 60px;
  }

  .blog-header h1 {
    font-size: 2rem;
  }

  .blog-post-title {
    font-size: 1.4rem;
  }

  .modal-content {
    width: 90vw;
    padding: 30px 20px;
    max-height: 85vh;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.5rem;
    padding-right: 30px;
  }

  /* TOS Page Mobile */
  .tos-container {
    padding: 160px 16px 60px;
  }

  .tos-header h1 {
    font-size: 2rem;
  }

  .tos-content {
    padding: 20px;
    border-radius: 16px;
  }

  /* Support Page Mobile */
  .support-container {
    padding: 160px 16px 60px;
  }

  .support-header h1 {
    font-size: 2rem;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-section {
    padding: 24px;
    border-radius: 16px;
  }

  .form-group {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .navbar {
    padding: 12px 16px;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .pill {
    padding: 16px;
    margin: 20px auto;
  }

  .pill-img {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding: 120px 16px 80px;
  }

  footer {
    padding: 30px 16px 70px;
  }

  .pricing-container {
    padding: 150px 12px 50px;
  }

  .pricing-card {
    padding: 25px 20px;
  }

  .plan-price {
    font-size: 2rem;
  }

  .blog-container {
    padding: 150px 12px 50px;
  }

  .blog-post {
    padding: 20px;
    border-radius: 16px;
  }

  .modal-content {
    padding: 24px 16px;
    max-height: 90vh;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .form-section {
    padding: 20px;
  }

  .form-section h2 {
    font-size: 1.5rem;
  }
}

