/* ============================================
   TRUIST STATIC SITE STYLES
   ============================================ */

/* Font */
@font-face {
  font-family: 'TruistTrio';
  src: local('Arial'), local('Helvetica Neue'), local('sans-serif');
  font-weight: 100 900;
  font-style: normal;
}

/* CSS Variables */
:root {
  --truist-purple: #2e1a47;
  --truist-purple-hover: #3d2660;
  --truist-white: #fff;
  --truist-text: #333;
  --truist-gray-bg: #f5f5f5;
  --truist-gray-border: #ccc;
  --text-muted: #555;
  --text-light: #777;
  --accent-muted: #C4B5D0;
  --border-color: #E6E6E6;
  --page-bg: #F9F9F9;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  font-family: 'TruistTrio', Arial, 'Helvetica Neue', sans-serif;
  background-color: var(--truist-white);
  color: var(--truist-text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--page-bg);
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'TruistTrio', Arial, sans-serif;
}

/* Top purple bar */
.top-bar {
  width: 100%;
  background-color: var(--truist-purple);
  display: none;
}

@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-segments {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  background-color: var(--truist-purple);
  color: var(--accent-muted);
  font-size: 12px;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid transparent;
  display: inline-block;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--truist-white);
}

.nav-link.active {
  color: var(--truist-white);
  font-weight: 700;
  border-bottom-color: var(--truist-white);
}

.welcome-text {
  color: var(--accent-muted);
  font-size: 12px;
}

.brand-highlight {
  color: var(--truist-white);
  font-weight: 700;
}

/* Main header */
.main-header {
  width: 100%;
  background-color: var(--truist-white);
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}

.main-header-inner {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .main-header-inner {
    height: 96px;
  }
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo {
    height: 2.5rem;
  }
}

/* Desktop navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.header-link {
  font-size: 1rem;
  color: var(--truist-text);
  font-weight: 400;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.header-link:hover {
  color: var(--truist-purple);
  border-bottom-color: var(--truist-purple);
}

.sign-in-btn {
  background-color: transparent;
  border: 1px solid var(--truist-purple);
  color: var(--truist-purple);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  border-radius: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sign-in-btn:hover {
  background-color: var(--truist-purple);
  color: var(--truist-white);
}

/* Mobile menu */
.mobile-menu {
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

.menu-btn {
  padding: 0.5rem;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-section {
  width: 100%;
  background-color: var(--truist-white);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 1.5rem 4rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    gap: 6rem;
  }
}

/* Hero text */
.hero-text {
  flex: 1;
  color: var(--truist-text);
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}

.hero-title {
  font-family: 'TruistTrio', Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 52px;
  }
}

.brand-bold {
  font-weight: 700;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.625;
  font-family: 'TruistTrio', Arial, sans-serif;
}

/* Features list */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: 'TruistTrio', Arial, sans-serif;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--truist-purple);
}

.feature-title {
  display: block;
  font-weight: 700;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* Card wrapper */
.card-wrapper {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .card-wrapper {
    margin-top: 0;
  }
}

.session-card {
  width: 100%;
  background-color: var(--truist-white);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  position: relative;
}

@media (min-width: 768px) {
  .session-card {
    padding: 2.5rem;
  }
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background-color: var(--truist-purple);
  border-radius: 0.25rem 0.25rem 0 0;
}

.card-title {
  font-family: 'TruistTrio', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--truist-text);
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 2rem;
  font-family: 'TruistTrio', Arial, sans-serif;
  line-height: 1.625;
}

/* Chat button */
.chat-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  background-color: var(--truist-purple);
  color: var(--truist-white);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.025em;
  border-radius: 0.25rem;
  border: none;
  transition: background-color 0.15s ease;
}

.chat-btn:hover {
  background-color: var(--truist-purple-hover);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
}

/* Contact box */
.contact-box {
  margin-top: 2rem;
  width: 100%;
  padding: 1.25rem;
  background-color: var(--truist-gray-bg);
  border: 1px solid var(--border-color);
}

.contact-title {
  font-size: 16px;
  color: var(--truist-text);
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-family: 'TruistTrio', Arial, sans-serif;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-phone {
  font-weight: 700;
  font-size: 18px;
  color: var(--truist-text);
}

.contact-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  width: 100%;
  background-color: var(--truist-purple);
  padding: 3rem 1.5rem 2rem;
  color: var(--truist-white);
  font-family: 'TruistTrio', Arial, sans-serif;
}

.footer-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #4a2f6e;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.5rem;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  color: var(--accent-muted);
  font-size: 12px;
  line-height: 1.625;
  margin-bottom: 1rem;
}
