/* AethelNode Inc — Techreviewer-inspired */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --red: #E32726;
  --red-dark: #C41F1E;
  --red-soft: rgba(227, 39, 38, 0.08);
  --navy: #1A233A;
  --navy-light: #243049;
  --black: #111827;
  --text: #374151;
  --text-light: #6B7280;
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max: 1140px;
  --wide: 1200px;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Header ── */
.tr-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 500; }
.tr-header-inner { max-width: var(--wide); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 8px; }
.tr-logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--black); letter-spacing: -0.02em; }
.tr-logo-icon { width: 34px; height: 34px; background: var(--red); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 15px; border-radius: 4px; flex-shrink: 0; }
.tr-nav { display: flex; align-items: center; gap: 4px; margin-left: 32px; flex: 1; }
.tr-nav-item { position: relative; }
.tr-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--black);
  border: none; background: none; cursor: pointer; font-family: var(--font);
}
.tr-nav-link:hover, .tr-nav-link.active { color: var(--red); }
.tr-nav-link svg { width: 10px; height: 10px; opacity: 0.5; }
.tr-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s; z-index: 100;
}
.tr-nav-item:hover .tr-dropdown, .tr-nav-item.open .tr-dropdown { opacity: 1; visibility: visible; transform: none; }
.tr-dropdown a { display: block; padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--text); }
.tr-dropdown a:hover { background: var(--gray-50); color: var(--red); }
.tr-dropdown a strong { display: block; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.tr-dropdown a span { font-size: 12px; color: var(--text-light); }
.tr-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tr-btn-profile {
  padding: 9px 18px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--black);
  transition: border-color 0.2s, color 0.2s;
}
.tr-btn-profile:hover { border-color: var(--red); color: var(--red); }
.tr-menu-btn { display: none; border: none; background: none; font-size: 22px; cursor: pointer; }

/* Buttons */
.tr-btn-red {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; background: var(--red); color: var(--white) !important;
  font-size: 14px; font-weight: 700; border-radius: var(--radius); border: 2px solid var(--red);
  transition: background 0.2s, transform 0.15s; cursor: pointer; font-family: var(--font);
}
.tr-btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.tr-btn-outline-red {
  display: inline-flex; align-items: center; padding: 11px 22px;
  background: var(--white); color: var(--red) !important; border: 2px solid var(--red);
  font-size: 14px; font-weight: 700; border-radius: var(--radius); transition: background 0.2s;
}
.tr-btn-outline-red:hover { background: var(--red-soft); }
.tr-btn-white-outline {
  display: inline-flex; align-items: center; padding: 11px 22px;
  background: transparent; color: var(--white) !important; border: 2px solid var(--white);
  font-size: 14px; font-weight: 700; border-radius: var(--radius); white-space: nowrap;
}
.tr-btn-white-outline:hover { background: rgba(255,255,255,0.1); }
.tr-btn-navy-outline {
  display: inline-flex; align-items: center; padding: 11px 22px;
  background: var(--white); color: var(--navy) !important; border: 2px solid var(--navy);
  font-size: 14px; font-weight: 700; border-radius: var(--radius);
}
.tr-btn-navy-outline:hover { background: var(--gray-50); }

/* ── Hero ── */
.tr-hero { padding: 56px 24px 64px; background: var(--white); overflow: hidden; }
.tr-hero-inner { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tr-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; color: var(--black); margin-bottom: 18px; letter-spacing: -0.02em; }
.tr-hero h1 .accent { color: var(--red); }
.tr-hero-lead { font-size: 16px; color: var(--text-light); line-height: 1.7; max-width: 460px; margin-bottom: 28px; }
.tr-hero-visual { position: relative; min-height: 360px; }
.tr-hero-photo { position: relative; z-index: 2; max-width: 420px; margin-left: auto; }
.tr-hero-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.tr-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.tr-deco-circle { position: absolute; border-radius: 50%; border: 2px solid var(--gray-200); }
.tr-deco-circle.red { border-color: var(--red); background: rgba(227,39,38,0.06); }
.tr-deco-x { position: absolute; color: var(--red); font-size: 18px; font-weight: 700; opacity: 0.7; }

/* ── Navy band ── */
.tr-band { background: var(--navy); color: var(--white); padding: 28px 24px; }
.tr-band-inner { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tr-band p { font-size: 17px; font-weight: 600; line-height: 1.5; max-width: 640px; }
.tr-band strong { color: var(--white); }

/* ── Section ── */
.tr-section { padding: 64px 24px; }
.tr-section-gray { background: var(--gray-50); }
.tr-section-inner { max-width: var(--wide); margin: 0 auto; }
.tr-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.tr-section-head.left { text-align: left; margin-left: 0; margin-right: 0; }
.tr-section-head h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); font-weight: 800; color: var(--black); margin-bottom: 12px; letter-spacing: -0.02em; }
.tr-section-head p { color: var(--text-light); font-size: 15px; line-height: 1.65; }
.tr-section-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.tr-section-actions.left { justify-content: flex-start; }

/* Category columns (Techreviewer listings style) */
.tr-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.tr-cat h4 { font-size: 14px; font-weight: 800; color: var(--black); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.tr-cat ul { list-style: none; }
.tr-cat li { margin-bottom: 8px; }
.tr-cat a { font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.45; transition: color 0.15s; }
.tr-cat a:hover { color: var(--red); }

/* Trust cards */
.tr-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tr-trust-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.tr-trust-card .icon { width: 56px; height: 56px; background: var(--red-soft); color: var(--red); border-radius: 50%; display: grid; place-items: center; font-size: 22px; margin: 0 auto 18px; }
.tr-trust-card h3 { font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.tr-trust-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* How it works */
.tr-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tr-step { text-align: center; padding: 20px 12px; }
.tr-step-num { width: 44px; height: 44px; background: var(--red); color: var(--white); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; margin: 0 auto 14px; }
.tr-step h4 { font-size: 14px; font-weight: 800; color: var(--black); line-height: 1.35; }

/* Dual CTA blocks */
.tr-dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tr-cta-block { border-radius: var(--radius); padding: 40px 36px; }
.tr-cta-block.navy { background: var(--navy); color: var(--white); }
.tr-cta-block.light { background: var(--gray-100); color: var(--black); }
.tr-cta-block h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; line-height: 1.25; }
.tr-cta-block p { font-size: 14px; opacity: 0.85; margin-bottom: 22px; line-height: 1.65; }
.tr-cta-block.light p { color: var(--text-light); opacity: 1; }

/* Insights grid */
.tr-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tr-insight { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; color: inherit; transition: box-shadow 0.2s, transform 0.2s; display: block; }
.tr-insight:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tr-insight-img { height: 160px; background: var(--gray-100); overflow: hidden; }
.tr-insight-img img { width: 100%; height: 100%; object-fit: cover; }
.tr-insight-body { padding: 22px; }
.tr-insight-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); margin-bottom: 8px; }
.tr-insight h3 { font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.4; margin-bottom: 10px; }
.tr-insight-meta { font-size: 12px; color: var(--text-light); }

/* Company profile card */
.tr-profile-card { display: grid; grid-template-columns: 120px 1fr; gap: 28px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px; align-items: start; }
.tr-profile-logo { width: 120px; height: 120px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: var(--red); }
.tr-profile-card h1 { font-size: 1.65rem; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.tr-profile-meta { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }
.tr-profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tr-profile-tag { padding: 4px 12px; background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 700; border-radius: 999px; }
.tr-profile-card p { font-size: 14px; color: var(--text); line-height: 1.65; }

/* Inner page */
.tr-page-hero { background: var(--gray-50); padding: 48px 24px; border-bottom: 1px solid var(--gray-200); }
.tr-page-hero-inner { max-width: var(--max); margin: 0 auto; }
.tr-breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.tr-breadcrumb a:hover { color: var(--red); }
.tr-page-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); font-weight: 800; color: var(--black); letter-spacing: -0.02em; }
.tr-page-hero p { margin-top: 10px; color: var(--text-light); max-width: 560px; }

.tr-content { max-width: var(--max); margin: 0 auto; padding: 48px 24px 64px; }
.tr-content h2 { font-size: 1.25rem; font-weight: 800; color: var(--black); margin: 32px 0 12px; }
.tr-content h2:first-child { margin-top: 0; }
.tr-content h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; }
.tr-content p { margin-bottom: 12px; line-height: 1.7; }
.tr-content ul { margin: 0 0 14px 20px; }
.tr-content a { color: var(--red); font-weight: 600; }
.tr-notice { background: var(--red-soft); border-left: 4px solid var(--red); padding: 16px 20px; margin: 24px 0; font-size: 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.tr-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.tr-table th, .tr-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.tr-table th { background: var(--gray-50); width: 200px; font-weight: 700; color: var(--black); }

.tr-sidebar-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; max-width: var(--wide); margin: 0 auto; padding: 40px 24px 64px; }
.tr-sidebar { position: sticky; top: 88px; align-self: start; }
.tr-sidebar h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 12px; }
.tr-sidebar a { display: block; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--gray-200); }
.tr-sidebar a:hover, .tr-sidebar a.active { color: var(--red); }

/* Contact form */
.tr-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.tr-form { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px; }
.tr-form h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 22px; color: var(--black); }
.tr-field { margin-bottom: 16px; }
.tr-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--black); }
.tr-field input, .tr-field select, .tr-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font); font-size: 15px; background: var(--white);
}
.tr-field input:focus, .tr-field select:focus, .tr-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.tr-field textarea { min-height: 120px; resize: vertical; }
.tr-info-row { margin-bottom: 18px; }
.tr-info-row strong { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 4px; }

/* Footer */
.tr-footer { background: var(--white); border-top: 1px solid var(--gray-200); padding: 56px 24px 28px; }
.tr-footer-inner { max-width: var(--wide); margin: 0 auto; }
.tr-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--gray-200); margin-bottom: 28px; }
.tr-footer-col h5 { font-size: 13px; font-weight: 800; color: var(--black); margin-bottom: 14px; }
.tr-footer-col ul { list-style: none; }
.tr-footer-col li { margin-bottom: 8px; }
.tr-footer-col a { font-size: 14px; color: var(--text-light); font-weight: 500; }
.tr-footer-col a:hover { color: var(--red); }
.tr-footer-brand { margin-bottom: 32px; }
.tr-footer-brand .tr-logo { margin-bottom: 12px; }
.tr-footer-brand p { font-size: 14px; color: var(--text-light); line-height: 1.65; max-width: 280px; }
.tr-footer-legal { font-size: 12px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.tr-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-light); }
.tr-footer-bottom a { margin-left: 16px; color: var(--text-light); }
.tr-footer-bottom a:hover { color: var(--red); }

@media (max-width: 1024px) {
  .tr-hero-inner, .tr-contact-grid, .tr-dual-cta { grid-template-columns: 1fr; }
  .tr-categories { grid-template-columns: repeat(2, 1fr); }
  .tr-trust-grid, .tr-insights { grid-template-columns: 1fr; }
  .tr-steps { grid-template-columns: repeat(2, 1fr); }
  .tr-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tr-sidebar-layout { grid-template-columns: 1fr; }
  .tr-sidebar { position: static; }
}
@media (max-width: 768px) {
  .tr-nav { display: none; }
  .tr-nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 16px 24px 24px; box-shadow: var(--shadow); margin-left: 0; }
  .tr-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 12px; display: none; }
  .tr-nav-item.open .tr-dropdown { display: block; }
  .tr-menu-btn { display: block; }
  .tr-categories, .tr-steps { grid-template-columns: 1fr; }
  .tr-footer-grid { grid-template-columns: 1fr; }
  .tr-profile-card { grid-template-columns: 1fr; text-align: center; }
  .tr-profile-logo { margin: 0 auto; }
}
