*{box-sizing:border-box}html{font-family:Arial, sans-serif;color:var(--text);line-height:1.6;margin:0;padding:0;scroll-behavior:smooth}body{margin:0;background:var(--surface)}
.container{max-width:1100px;margin:0 auto;padding:24px}
.row{display:flex;gap:16px}.between{justify-content:space-between}.center{align-items:center}.right{margin-left:auto}
.site-header{border-bottom:1px solid var(--surface-alt)}
.site-nav .nav-list{list-style:none;display:flex;gap:16px;align-items:center;margin:0;padding:12px 24px;border-bottom:1px solid var(--surface-alt)}
.site-nav a{text-decoration:none;color:var(--text)}
.site-footer{border-top:1px solid var(--surface-alt);padding:24px 0}
.hero{background:linear-gradient(135deg,var(--primary-weak),#fff);padding:64px 0}.hero h1{margin:0}
label{display:block;margin:12px 0 6px}input,button{font:inherit}
input{width:100%;padding:10px;border:1px solid var(--surface-alt);border-radius:6px}
.btn{display:inline-block;padding:10px 16px;border-radius:6px;border:2px solid transparent;cursor:pointer;text-decoration:none}
.btn-primary{background:var(--primary);color:#fff}
.muted{color:var(--muted)}.small{font-size:.9rem}
.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;background:#fff;padding:6px;border:2px solid var(--primary)}

.container{
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
/* Remove default top padding inside main container to allow full-bleed heroes to sit flush */
#main.container{ padding-top: 0; }
/* Utility: make a section span full viewport width regardless of container */
.full-bleed{ width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }

/* Subscription Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
  padding-right: 40px;
}

.modal-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.2;
}

.modal-header p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group label .required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-group input::placeholder {
  color: #999;
  font-style: italic;
}

.form-group input {
  padding: 16px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: #fafbfc;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-subscribe {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-subscribe:active {
  transform: translateY(0);
}

.privacy-note {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin: 16px 0 0;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 767px) {
  .modal-content {
    padding: 32px 24px;
    margin: 20px;
    width: calc(100% - 40px);
  }
  
  .modal-header {
    padding-right: 0;
    margin-bottom: 24px;
  }
  
  .modal-header h2 {
    font-size: 24px;
  }
  
  .modal-header p {
    font-size: 14px;
  }
  
  .form-group input {
    padding: 14px;
    font-size: 15px;
  }
  
  .btn-subscribe {
    padding: 16px 28px;
    font-size: 15px;
  }
}
