/* Blur effect for sidebar when modal is active */
.sidebar-blur {
  filter: blur(5px);
  transition: filter 0.3s;
}
/* Root & Dojo Color Palette */
:root {
  --bg-dark: #1b1a17;
  --accent-red: #cc2e2e;
  --text-light: #f5f3f1;
  --text-muted: #c0bfb7;
  --font-heading: 'Noto Sans JP', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
}

main {
  /* Using the CSS variable from globalHeader.css + extra padding for spacing */
  padding-top: calc(var(--total-header-height, 146px) + 20px);
  position: relative;
  z-index: 10;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer styling */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  margin-top: 2rem;
}

/* Header */
.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--text-muted);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  display: inline-block;
}

.nav-buttons {
  float: right;
  position: relative;
  z-index: 1005;
}

.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-outline {
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-red);
  color: var(--text-light);
}

.btn-primary {
  background: var(--accent-red);
  color: var(--text-light);
}

.btn-primary:hover {
  opacity: 0.8;
}

/* Legacy hero and pricing styles removed - now using index.css for new structure */


.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: #2a2925;
  padding: 2rem;
  border-radius: 8px;
  color: var(--text-light);
  min-width: 300px;
  max-width: 90vw;
  position: relative;
  text-align: center;
  padding-bottom: 3rem; /* Add extra space at the bottom for buttons */
}
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--accent-red);
}

/* Modal actions container for buttons */
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem; /* Lower the buttons a bit */
}

/* Style for Learn More button */
.btn-learn {
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  background: transparent;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  transition: var(--transition);
  text-decoration: none;
}

.btn-learn:hover {
  background: var(--text-muted);
  color: var(--bg-dark);
}

/* Legacy tier modal styles removed - keeping only sidebar blur */

/* Blur background when modal is active */
body.modal-blur main,
body.modal-blur header,
body.modal-blur footer {
  filter: blur(8px);
  transition: filter 0.3s;
}