:root {
  --brand-500: #0f8f54;
  --brand-400: #15b772;
  --brand-600: #0b6a3d;
  --brand-700: #074d2d;
  --gray-900: #0d1f1a;
  --gray-700: #2e3d37;
  --gray-500: #5c6d65;
  --gray-200: #e6eee9;
  --white: #ffffff;
  --bg-muted: #f4f9f6;
  --shadow-soft: 0 20px 60px rgba(13, 31, 26, 0.08);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, #f3faf4 45%, #e5f5eb 90%);
}

.hidden {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 143, 84, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-900);
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 143, 84, 0.1), rgba(255, 255, 255, 0.4));
  padding: 6px;
  box-shadow: 0 12px 30px rgba(13, 31, 26, 0.12);
}

.logo-text strong {
  display: block;
  font-size: 1.1rem;
}

.logo-text small {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  gap: 3.6rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 1.25rem;
  letter-spacing: 0.035em;
}

.main-nav a:hover {
  color: var(--brand-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch select {
  border-radius: 999px;
  border: 1px solid rgba(15, 143, 84, 0.3);
  padding: 0.4rem 1rem;
  font-weight: 600;
  background: rgba(15, 143, 84, 0.08);
  color: var(--brand-600);
  cursor: pointer;
}

.header-cta {
  display: flex;
  gap: 0.75rem;
}

.btn.telegram {
  background: linear-gradient(135deg, #039be5, #0276b1);
  color: var(--white);
  border: none;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(3, 155, 229, 0.25);
}

.btn.telegram:hover {
  box-shadow: 0 18px 30px rgba(3, 155, 229, 0.3);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.cta-btn {
  min-width: 180px;
  justify-content: center;
  text-align: center;
}

.btn.full {
  width: 100%;
}

.btn.primary {
  background: var(--brand-500);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(15, 143, 84, 0.25);
}

.btn.small {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(15, 143, 84, 0.25);
}

.btn.ghost {
  border-color: rgba(15, 143, 84, 0.3);
  color: var(--brand-600);
}

.btn.ghost:hover {
  background: rgba(15, 143, 84, 0.08);
}

.btn.ghost.light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero {
  padding: 1.2rem 0 3.2rem;
  background: linear-gradient(180deg, rgba(234, 247, 239, 0.95), rgba(216, 241, 227, 0.7) 55%, rgba(255, 255, 255, 0));
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4.8vw, 4rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.hero-copy .lead {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(15, 143, 84, 0.12);
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag.center {
  display: inline-block;
  margin: 0 auto 0.75rem;
}

.hero-cta {
  display: flex;
  gap: 1.3rem;
  margin: 2.3rem 0 1.8rem;
  flex-wrap: wrap;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray-700);
  margin-top: 0.5rem;
}

.hero-points li {
  padding-left: 1.2rem;
  position: relative;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-500);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.panel-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.panel-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.country-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1rem;
}

.country-stats span {
  color: var(--brand-500);
  font-weight: 600;
}

.country-stats strong {
  font-size: 1.8rem;
  display: block;
  color: var(--gray-900);
}

.country-stats small {
  color: var(--gray-500);
}

.panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(15, 143, 84, 0.1);
}

.panel-list strong {
  font-size: 1.35rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-align: center;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid rgba(15, 143, 84, 0.15);
  border-radius: 18px;
  padding: 1.5rem;
  background: var(--white);
  transition: border 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--brand-400);
  transform: translateY(-4px);
}

.muted {
  background: var(--bg-muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.process-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(12, 31, 26, 0.08);
}

.process-card .step {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(15, 143, 84, 0.15);
  margin-bottom: 0.75rem;
}

.guarantee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.guarantee-list {
  border-left: 1px solid rgba(15, 143, 84, 0.2);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guarantee-list li {
  display: flex;
  flex-direction: column;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.pricing-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card li {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.pricing-card .note {
  margin-top: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.pricing-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta {
  background: linear-gradient(120deg, var(--brand-600), var(--brand-400));
  color: var(--white);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-actions {
  display: flex;
  gap: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(15, 143, 84, 0.2);
  border-radius: 14px;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1rem;
}

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

.faq-question .icon {
  transition: transform 0.3s;
  font-size: 1.2rem;
  color: var(--brand-500);
}

.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-float {
  position: fixed;
  right: 1.5rem;
  bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 40;
}

.contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 15px 35px rgba(7, 77, 45, 0.2);
  animation: floatY 3.6s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact-btn.whatsapp {
  background: linear-gradient(135deg, #1ebc73, #0c8b50);
}

.dashboard {
  display: none;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg-muted);
  width: 100%;
}

.dashboard.active {
  display: grid;
}

.dash-section {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.dash-section.active {
  display: flex;
}

.dash-sidebar {
  background: var(--brand-700);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-logo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.dash-logo img {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem;
}

.dash-logo strong {
  font-size: 1rem;
}

.dash-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dash-nav {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: inherit;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dash-nav:hover,
.dash-nav.active {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.dash-logout {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.dash-main {
  padding: clamp(1.5rem, 2.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dash-top {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.dash-label {
  color: var(--brand-500);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.dash-sub {
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.dash-balance {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dash-balance div p {
  margin: 0;
  color: var(--gray-500);
}

.dash-balance strong {
  font-size: 1.8rem;
  color: var(--gray-900);
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.dash-cards article {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(12, 31, 26, 0.08);
}

.dash-cards article strong {
  font-size: 2rem;
  display: block;
  margin: 0.3rem 0;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.dash-panel {
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(12, 31, 26, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.dash-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.dash-panel-header h3 {
  margin: 0;
}

.dash-panel-header a {
  color: var(--brand-500);
  font-weight: 600;
  font-size: 0.95rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.quick-actions button {
  border: 1px solid rgba(15, 143, 84, 0.2);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(15, 143, 84, 0.05);
  text-align: left;
  cursor: pointer;
}

.quick-actions strong {
  display: block;
  margin-bottom: 0.3rem;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-form label {
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
  border: 1px solid rgba(15, 143, 84, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 1rem;
  background: var(--white);
}

.stack-form textarea {
  min-height: 140px;
  resize: vertical;
}

.template-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.template-hint button {
  flex-shrink: 0;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row > label {
  flex: 1 1 200px;
}

.cost-preview {
  background: rgba(15, 143, 84, 0.08);
  border-radius: 14px;
  padding: 1rem;
  color: var(--brand-600);
  font-weight: 600;
}

.notify-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.notify-list li {
  list-style: none;
  background: rgba(15, 143, 84, 0.05);
  border-radius: 14px;
  padding: 1rem;
}

.notify-list.full li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.notify-list.full button {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--brand-500);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.notify-list.full button:disabled {
  color: var(--gray-500);
  cursor: default;
}

.notify-list time {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.empty-state {
  text-align: center;
  color: var(--gray-500);
  padding: 1rem 0;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.dash-table th,
.dash-table td {
  padding: 0.8rem;
  text-align: left;
}

.dash-table thead {
  border-bottom: 1px solid rgba(15, 143, 84, 0.15);
}

.dash-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dash-table tbody tr:last-child {
  border-bottom: none;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.task-list article {
  padding: 1rem;
  border: 1px solid rgba(15, 143, 84, 0.2);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag.success {
  background: rgba(21, 183, 114, 0.15);
  color: var(--brand-600);
}

.tag.warning {
  background: rgba(255, 193, 79, 0.25);
  color: #a56200;
}

.tag.pending {
  background: rgba(255, 193, 79, 0.25);
  color: #a56200;
}

.tag.info {
  background: rgba(53, 180, 255, 0.2);
  color: #086ca8;
}

.tag.danger {
  background: rgba(239, 83, 80, 0.2);
  color: #b12724;
}

.tag.neutral {
  background: rgba(92, 109, 101, 0.18);
  color: var(--gray-700);
}

.tag.muted {
  background: rgba(92, 109, 101, 0.15);
  color: var(--gray-700);
}

.status-select {
  border: 1px solid rgba(15, 143, 84, 0.3);
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
  background: rgba(15, 143, 84, 0.05);
}

.finance-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.finance-cards article {
  background: rgba(15, 143, 84, 0.08);
  border-radius: 14px;
  padding: 1rem;
}

.finance-cards strong {
  font-size: 1.6rem;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 18, 14, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.auth-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  background: var(--white);
  border-radius: 28px;
  max-width: 980px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  position: relative;
}

.auth-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  border: none;
  background: rgba(93, 107, 101, 0.15);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.auth-brand {
  background: linear-gradient(160deg, var(--brand-600), var(--brand-500));
  color: var(--white);
  padding: 3rem 2.5rem;
}

.auth-brand h3 {
  margin-top: 0;
}

.auth-brand ul {
  margin-top: 1rem;
  padding-left: 1rem;
  line-height: 1.6;
}

.auth-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-google {
  border: 1px solid rgba(15, 143, 84, 0.2);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
}

.auth-tabs {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.auth-tab {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(15, 143, 84, 0.3);
  background: transparent;
  padding: 0.6rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--brand-500);
  color: var(--white);
  border-color: var(--brand-500);
}

.auth-panel {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
}

.auth-panel.active {
  display: flex;
}

.auth-panel label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 0.3rem;
  color: var(--gray-700);
}

.auth-panel input,
.auth-panel select {
  border: 1px solid rgba(15, 143, 84, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 1rem;
}

.input-inline {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.phone-input {
  display: flex;
  gap: 0.5rem;
}

.phone-input select {
  max-width: 150px;
}

.send-code {
  white-space: nowrap;
  height: fit-content;
}
.contact-btn.telegram {
  background: linear-gradient(135deg, #35b4ff, #1685d6);
  animation-delay: 0.5s;
}

.contact-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(7, 77, 45, 0.25);
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (min-width: 1440px) {
  :root {
    font-size: 17px;
  }

  .container {
    width: min(1320px, 88vw);
  }

  .hero {
    padding: 7rem 0 5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .hero-copy h1 {
    font-size: 4rem;
  }

  .dash-main {
    padding: 3rem;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(960px, 94vw);
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .panel-card,
  .process-card,
  .feature-card,
  .pricing-card {
    padding: 1.4rem;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }

  .dash-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dash-nav {
    flex: 1 1 45%;
  }

  .dash-main {
    padding: 2rem;
  }

  .auth-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-cta,
  .pricing-actions,
  .cta-actions {
    width: 100%;
  }

  .btn {
    flex: 1;
    text-align: center;
  }

  .guarantee-list {
    border-left: none;
    border-top: 1px solid rgba(15, 143, 84, 0.2);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .dash-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-balance {
    width: 100%;
    flex-wrap: wrap;
  }

  .auth-overlay {
    padding: 1rem;
  }

  .input-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-float {
    right: 1rem;
    bottom: 3rem;
  }
}

@media (max-width: 560px) {
  :root {
    font-size: 15px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-points {
    flex-direction: column;
  }

  .panel-card,
  .process-card,
  .feature-card,
  .pricing-card {
    padding: 1.1rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .contact-float {
    right: 0.75rem;
    bottom: 2rem;
  }

  .contact-btn {
    width: 52px;
    height: 52px;
  }

  .contact-btn svg {
    width: 24px;
    height: 24px;
  }

  .dash-main {
    padding: 1.5rem;
  }

  .dash-panel {
    padding: 1.25rem;
  }
}

/* ===== User portal layout overrides ===== */

body.user-app {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, #f3faf4 45%, #e5f5eb 90%);
}

.user-header {
  width: min(1400px, 95vw);
  margin: 0 auto;
  padding: 1.5rem 1vw 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.user-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 2vw 4rem;
}

.auth-shell {
  margin: 2.5rem auto 3rem;
  width: min(1100px, 96vw);
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(280px, 320px) 1fr;
}

.auth-brand {
  background: linear-gradient(180deg, rgba(15, 143, 84, 0.15), rgba(15, 143, 84, 0.05));
  padding: 2.5rem;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
}

.auth-brand ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--brand-700);
  line-height: 1.6;
}

.auth-content {
  padding: 2.5rem;
}

.auth-hint {
  margin: 0 0 1.25rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.auth-hint a {
  color: var(--brand-500);
  font-weight: 600;
}

.auth-shell.hidden {
  display: none;
}

.btn.full {
  width: 100%;
}

.user-main .dashboard {
  border-radius: 0;
  overflow: hidden;
}

@media (max-width: 960px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    border-radius: 28px 28px 0 0;
  }

  .user-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.login-error {
  margin-top: 0.75rem;
  color: #ff6b6b;
  text-align: center;
}

