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

:root {
  --bg-primary: #f7f9f6;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf1eb;
  --accent-primary: #2d5a27;
  --accent-primary-hover: #1e3f1a;
  --accent-primary-rgba: rgba(45, 90, 39, 0.1);
  --accent-secondary: #b89047;
  --accent-secondary-hover: #987535;
  --accent-secondary-rgba: rgba(184, 144, 71, 0.15);
  --text-primary: #1c2b1a;
  --text-secondary: #4a5c49;
  --text-light: #7c8e7b;
  --border-color: #dfede0;
  
  --shadow-sm: 0 4px 6px -1px rgba(45, 90, 39, 0.04), 0 2px 4px -1px rgba(45, 90, 39, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(45, 90, 39, 0.06), 0 4px 6px -2px rgba(45, 90, 39, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(45, 90, 39, 0.08), 0 10px 10px -5px rgba(45, 90, 39, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  padding-top: 80px; 
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

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

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--accent-primary-rgba);
  color: var(--accent-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-secondary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.cta-button {
  background-color: var(--accent-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-outline {
  background-color: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  padding: 0.65rem 1.4rem;
}

.cta-outline:hover {
  background-color: var(--accent-primary-rgba);
  color: var(--accent-primary);
}

.menu-toggle-checkbox {
  display: none;
}

.menu-toggle-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
}

.split-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.split-grid > div h3 {
  margin-top: 0;
}

.hamburger {
  position: relative;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.menu-toggle-checkbox:checked ~ .menu-toggle-button .hamburger {
  background-color: transparent;
}

.menu-toggle-checkbox:checked ~ .menu-toggle-button .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle-checkbox:checked ~ .menu-toggle-button .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 43, 26, 0.9) 0%, rgba(45, 90, 39, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
  color: white;
  text-align: center;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 43, 26, 0.93) 0%, rgba(45, 90, 39, 0.83) 100%);
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner .section-title {
  color: white;
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.hero-stat-icon {
  font-size: 1.75rem;
}

.hero-stat-card h4 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.hero-stat-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0 !important;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 90, 39, 0.2);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgb(215, 106, 34);
  opacity: 0.33;
  font-family: var(--font-heading);
  line-height: 1;
}

.step-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

details {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

details[open] {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

summary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-primary);
  transition: var(--transition);
}

details[open] summary::after {
  content: '−';
}

.details-content {
  margin-top: 1rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media screen and (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-grid-contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.align-start {
  align-items: start;
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 90, 39, 0.2);
}

.card-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white !important;
  border: none !important;
  overflow: hidden;
}

.card-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(27, 43, 26, 0.95) 20%, rgba(27, 43, 26, 0.5) 100%);
  z-index: 1;
}

.card-bg-image > :not(.card-bg-overlay) {
  position: relative;
  z-index: 2;
}

.card-bg-image h3 {
  color: white !important;
  margin-bottom: 0.75rem;
}

.card-bg-image p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.card-bg-image .card-icon {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.card-bg-image .card-link {
  color: var(--accent-secondary) !important;
}

.card-bg-image .card-link:hover {
  color: white !important;
}

.card-icon {
  width: 55px;
  height: 55px;
  background-color: var(--accent-primary-rgba);
  color: var(--accent-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  color: var(--accent-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  color: var(--accent-primary-hover);
}

.card-link::after {
  content: '→';
  transition: var(--transition);
}

.card-link:hover::after {
  transform: translateX(4px);
}

.form-wrapper {
  width: 100%;
  max-width: 700px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px var(--accent-primary-rgba);
}

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

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-1px);
}

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

.metric-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.metric-change {
  font-size: 0.85rem;
  font-weight: 600;
}

.metric-change.positive {
  color: #2d8a4e;
}

.metric-change.positive::before {
  content: '▲ ';
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar {
  height: 100%;
  background-color: var(--accent-secondary);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.table-container {
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.log-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.log-table th {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
}

.log-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.log-table tr:last-child td {
  border-bottom: none;
}

.log-table tr:hover {
  background-color: rgba(45, 90, 39, 0.02);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.saving {
  background-color: rgba(45, 90, 39, 0.1);
  color: var(--accent-primary);
}

.status-badge.expense {
  background-color: rgba(184, 91, 71, 0.1);
  color: #b85b47;
}

.status-badge.invest {
  background-color: var(--accent-secondary-rgba);
  color: var(--accent-secondary-hover);
}

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

.showcase-card {
  position: relative;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.showcase-card:hover .showcase-image {
  transform: scale(1.08);
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(27, 43, 26, 0.95) 10%, rgba(27, 43, 26, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: white;
  z-index: 1;
}

.showcase-overlay h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.showcase-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.unsplash-credit {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: 0.5rem;
  text-decoration: underline;
}

.unsplash-credit:hover {
  color: white !important;
}

.alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 43, 26, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.alert-modal:target {
  opacity: 1;
  pointer-events: auto;
}

.alert-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
}

.alert-content {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem 2.5rem 2rem;
  width: 90%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border-color);
  z-index: 10001;
}

.alert-modal:target .alert-content {
  transform: scale(1) translateY(0);
}

.alert-close-x {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1;
  transition: var(--transition);
}

.alert-close-x:hover {
  color: var(--text-primary);
}

.alert-icon-circle {
  width: 70px;
  height: 70px;
  background-color: rgba(45, 90, 39, 0.1);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-primary);
  margin: 0 auto 1.5rem auto;
}

.alert-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.alert-message {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.alert-action-btn {
  display: block;
  background-color: var(--accent-primary);
  color: white;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.alert-action-btn:hover {
  background-color: var(--accent-primary-hover);
  box-shadow: var(--shadow-sm);
}

.footer {
  background-color: #172416;
  color: #cfdcd0;
  padding: 4rem 0 2rem 0;
  border-top: 4px solid var(--accent-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #8da48c;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #8da48c;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8da48c;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: white;
}

@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 1.25rem; 
  }

  .section-padding {
    padding: 3rem 0;
  }

  .table-container {
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }

  .logo {
    font-size: 1.3rem; 
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 2.2rem; 
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .hero-stat-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    gap: 0.6rem;
  }

  .hero-stat-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
  }

  .hero-stat-card h4 {
    font-size: 1rem;
  }

  .hero-stat-card p {
    font-size: 0.75rem;
  }

  .menu-toggle-button {
    display: flex;
  }

  .form-wrapper {
    padding: 1.5rem 1.25rem;
  }

  .log-table th,
  .log-table td {
    padding: 0.5rem 0.35rem;
    font-size: 0.75rem;
  }

  .hide-mobile {
    display: none !important;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;   
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -8px 0 24px rgba(45, 90, 39, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: flex-start; 
    padding: 120px 1.5rem 2rem 1.5rem; 
    gap: 1.5rem;
    transform: translateX(100%); 
    visibility: hidden; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    z-index: 999;
    backdrop-filter: blur(12px);
    border-left: 1px solid var(--border-color);
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: inline-block; 
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
  }

  .nav-link.active {
    background-color: var(--accent-primary-rgba);
    color: var(--accent-primary);
  }

  .menu-toggle-checkbox:checked ~ .nav-menu {
    transform: translateX(0);
    visibility: visible;
  }
  
  body:has(.menu-toggle-checkbox:checked) {
    overflow: hidden;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-grid,
  .split-grid-contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
  
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}
