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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f0f4f8;
  color: #1a2332;
  line-height: 1.5;
}

/* ========= Header ========= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  font-size: 1.5rem;
}

.header-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e3a5f;
}

.header-brand-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-subtitle {
  font-size: 0.75rem;
  color: #64748b;
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #1e3a5f;
}

.header-line {
  height: 3px;
  background: linear-gradient(90deg, #1e3a5f, #2563eb, #60a5fa, #1e3a5f);
  background-size: 300% 100%;
  animation: headerShimmer 6s ease infinite;
}

@keyframes headerShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.main-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 48px 24px;
}

/* ========= Ad Layout (Sidebar Skyscrapers) ========= */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto 24px;
  align-items: start;
}

.content-center {
  min-width: 0;
}

.ad-slot {
  min-height: 250px;
  position: sticky;
  top: 80px;
  padding: 8px 0;
}

@media (max-width: 1200px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
    max-width: 820px;
  }
  .ad-slot { display: none; }
}

/* ========= Hero ========= */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #1a2332;
}

.gradient-text {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: #1e3a5f;
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #1e3a5f;
  letter-spacing: 0.02em;
}

/* ========= Interactive Card ========= */
.interactive-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 36px 32px;
  margin: 0 auto 32px;
  max-width: 820px;
  border: 1px solid #e2e8f0;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
}

.card-divider::before,
.card-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.token-area {
  width: 100%;
}

.input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.token-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  color: #1a2332;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.token-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

/* ========= Buttons ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
  background: #f1f5f9;
  color: #1e3a5f;
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover:not(:disabled) {
  background: #e2e8f0;
}

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-ms {
  background: #ffffff;
  color: #1a2332;
  border: 1.5px solid #d1d5db;
  font-weight: 600;
}

.btn-ms:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ms-logo {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.ms-logo svg {
  width: 100%;
  height: 100%;
}

/* ========= Status ========= */
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease;
}

.status.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========= Inbox Section ========= */
.inbox-section {
  width: 100%;
  max-width: 820px;
  margin: 24px auto 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.inbox-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.inbox-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2332;
}

.inbox-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #1e3a5f;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

#inboxContainer {
  min-height: 200px;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.empty-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: #64748b;
  gap: 12px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========= Email Items ========= */
.email-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.email-item:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.email-item.unread {
  background: #f0f7ff;
  border-color: #bfdbfe;
}

.email-status-indicator {
  width: 6px;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  margin-top: 8px;
}

.email-item.unread .email-status-indicator {
  background: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.email-avatar {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.email-avatar.unread-avatar {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.email-body-content {
  flex: 1;
  min-width: 0;
}

.email-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2px;
}

.email-sender {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1a2332;
}

.email-time {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  margin-left: 12px;
}

.email-subject {
  font-weight: 600;
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-item.unread .email-subject {
  color: #1a2332;
}

.email-preview {
  font-size: 0.78rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-open-icon {
  color: #94a3b8;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s;
  margin-top: 4px;
}

.email-item:hover .email-open-icon {
  opacity: 1;
}

#loadMoreBtn {
  display: block;
  margin: 16px auto 0;
  padding: 10px 32px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #1e3a5f;
  cursor: pointer;
  transition: all 0.2s;
}

#loadMoreBtn:hover:not(:disabled) {
  border-color: #2563eb;
  color: #2563eb;
}

#loadMoreBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========= Email Detail Page ========= */
.email-detail-page {
  background: #f0f4f8;
}

.email-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.back-link {
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.9rem;
}

.back-link:hover {
  text-decoration: underline;
}

.email-detail-brand {
  font-weight: 700;
  color: #1e3a5f;
  font-size: 0.9rem;
}

.email-detail-main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 32px 24px;
}

.email-detail-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.email-detail-subject {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2332;
  padding: 28px 32px 0;
  line-height: 1.3;
}

.email-detail-meta {
  padding: 16px 32px;
  border-bottom: 1px solid #f1f5f9;
}

.meta-row {
  display: flex;
  padding: 4px 0;
  font-size: 0.88rem;
}

.meta-label {
  min-width: 80px;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}

.meta-value {
  color: #1a2332;
  word-break: break-word;
}

.email-detail-body {
  padding: 24px 32px 32px;
}

.email-html-body {
  line-height: 1.7;
  color: #1a2332;
}

.email-html-body blockquote {
  border-left: 3px solid #e2e8f0;
  margin: 12px 0;
  padding-left: 16px;
  color: #64748b;
}

.email-text-body {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: #1a2332;
}

/* ========= Callback Page ========= */
.callback-page {
  background: #f0f4f8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.callback-container {
  width: 100%;
  max-width: none;
}

.callback-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.callback-header {
  text-align: center;
  padding: 32px 32px 16px;
}

.success-icon {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.callback-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 4px;
}

.callback-email {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.token-section {
  padding: 16px 32px;
}

.token-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 8px;
}

.token-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.75rem;
  color: #1a2332;
  word-break: break-all;
  line-height: 1.5;
  margin-bottom: 12px;
  max-height: 120px;
  overflow-y: auto;
}

.callback-footer {
  text-align: center;
  padding: 16px 32px 32px;
}

.hint {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ========= Magazine Section Base ========= */
.mag-section {
  margin-top: 120px;
  position: relative;
}

.mag-section-alt {
  background: #f8fafc;
  margin-left: -24px;
  margin-right: -24px;
  padding: 100px 24px;
  margin-top: 120px;
  position: relative;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.mag-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 24px;
}

/* ========= Magazine Header ========= */
.mag-header {
  text-align: center;
  margin-bottom: 64px;
}

.mag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 99px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  margin-bottom: 20px;
}

.mag-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.mag-underline {
  background: linear-gradient(120deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.mag-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  color: #475569;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========= Grids ========= */
.mag-grid {
  text-align: left;
  display: grid;
  gap: 24px;
}

.mag-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mag-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .mag-grid-3, .mag-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ========= Feature Cards ========= */
.mag-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  overflow: hidden;
}

.mag-card:hover {
  transform: translateY(-6px);
  border-color: #3b82f6;
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.08), 0 10px 10px -5px rgba(37, 99, 235, 0.03);
}

.mag-card-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 2px 10px;
  border-radius: 99px;
  pointer-events: none;
}

.mag-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.1));
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: #2563eb;
}

.mag-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.mag-card p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

/* ========= Steps ========= */
.mag-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  position: relative;
}

@media (max-width: 768px) {
  .mag-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.mag-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.mag-step:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.05);
}

.mag-step-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 24px;
  padding: 10px;
}

.mag-step-icon svg {
  width: 100%;
  height: 100%;
}

.mag-step-num {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563eb;
  background: #dbeafe;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.mag-step h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.mag-step p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.mag-step code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 6px;
  color: #0f172a;
}

/* ========= FAQ ========= */
.mag-faq {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mag-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
  overflow: hidden;
}

.mag-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.mag-faq-item[open] {
  border-color: #2563eb;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.05);
}

.mag-faq-item summary {
  padding: 20px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.mag-faq-item summary:hover {
  color: #2563eb;
}

.mag-faq-item summary::-webkit-details-marker {
  display: none;
}

.mag-faq-item summary::after {
  content: '';
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.3s ease;
}

.mag-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.mag-faq-item p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding: 0;
}

.mag-faq-item[open] p {
  max-height: 500px;
  opacity: 1;
  padding: 16px 0 20px;
}

.mag-faq-item a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 500;
}

/* ========= Guide Cards ========= */
.mag-guide {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.mag-guide:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 16px 30px -10px rgba(37, 99, 235, 0.08);
}

.mag-guide-h {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.mag-guide-icon {
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #eff6ff;
  border-radius: 10px;
  color: #2563eb;
}

.mag-guide-h h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.mag-guide p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
}

/* ========= Pro Cards ========= */
.mag-pro {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.mag-pro:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 16px 30px -10px rgba(37, 99, 235, 0.08);
}

.mag-pro-icon {
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #eff6ff;
  border-radius: 12px;
  color: #2563eb;
  margin-bottom: 20px;
}

.mag-pro h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.mag-pro p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

/* ========= CTA ========= */
.mag-cta {
  margin-top: 120px;
  background: radial-gradient(circle at top left, #1e293b, #0f172a);
  margin-left: -24px;
  margin-right: -24px;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.mag-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.mag-cta-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: 24px;
}

.mag-cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mag-cta-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.mag-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.mag-cta-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

/* ========= Footer ========= */
.site-footer {
  background: #ffffff;
  margin-top: 120px;
  padding: 80px 24px 32px;
  border-top: 1px solid #e2e8f0;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid #f1f5f9;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  font-size: 1.5rem;
  background: #f1f5f9;
  padding: 8px;
  border-radius: 10px;
  display: inline-block;
}

.footer-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: #0f172a;
  margin-left: 10px;
  vertical-align: middle;
}

.footer-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-col a:hover {
  color: #2563eb;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.footer-bottom a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #2563eb;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .mag-title { font-size: 1.8rem; }
  .mag-cta-title { font-size: 1.8rem; }
  .mag-section-alt { padding: 60px 20px; margin-top: 80px; }
  .mag-cta { padding: 60px 20px; margin-top: 80px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
