/* Clear Path Finance - Test Affiliate Site */
/* Colors deliberately different from WiseMint (orange/gold) */

:root {
  --navy: #1B2A4A;
  --navy-light: #253A66;
  --teal: #2A9D8F;
  --teal-light: #40B5A6;
  --cream: #FAF8F5;
  --warm-gray: #6B7280;
  --text: #1F2937;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--teal-light);
}

img {
  max-width: 100%;
}

/* ============ HEADER / NAV ============ */
header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
}

.logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--teal-light);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--white);
  border-bottom-color: var(--teal-light);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 24px;
  text-align: center;
}

.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--white);
  font-size: 44px;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero .cta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.1s;
}
.hero .cta-btn:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============ SECTION / CONTAINER ============ */
.section {
  padding: 64px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--warm-gray);
  font-size: 18px;
  margin-bottom: 40px;
}

/* ============ CARDS GRID ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}

.card p {
  color: var(--warm-gray);
  font-size: 16px;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--teal);
  padding: 48px 24px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.cta-banner .cta-btn:hover {
  background: var(--cream);
  color: var(--teal);
  transform: translateY(-1px);
}

/* ============ BLOG LIST ============ */
.blog-list {
  display: grid;
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-date {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  min-width: 72px;
  flex-shrink: 0;
}
.blog-date .month {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.blog-date .day {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.blog-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}
.blog-card h3 a {
  color: var(--navy);
}
.blog-card h3 a:hover {
  color: var(--teal);
}

.blog-card p {
  color: var(--warm-gray);
  font-size: 15px;
}

.blog-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 10px;
}

/* ============ BLOG POST (single) ============ */
.blog-post {
  max-width: 740px;
  margin: 0 auto;
}

.blog-post h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.blog-meta {
  color: var(--warm-gray);
  font-size: 15px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.blog-post h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  color: var(--navy);
  margin: 36px 0 14px;
}

.blog-post p {
  margin-bottom: 18px;
}

.blog-post .highlight-box {
  background: var(--white);
  border-left: 4px solid var(--teal);
  padding: 24px 28px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow);
}

.blog-post .highlight-box p {
  margin-bottom: 0;
  font-size: 16px;
}

.blog-post .affiliate-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  padding: 36px 32px;
  text-align: center;
  margin: 40px 0;
}
.blog-post .affiliate-cta h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 10px;
}
.blog-post .affiliate-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.blog-post .affiliate-cta .cta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 6px;
  transition: all 0.2s;
}
.blog-post .affiliate-cta .cta-btn:hover {
  background: var(--teal-light);
  color: var(--white);
}

.disclosure {
  font-size: 13px;
  color: var(--warm-gray);
  font-style: italic;
  margin-top: 8px;
}

/* ============ ABOUT PAGE ============ */
.about-content {
  max-width: 740px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  color: var(--navy);
  margin: 32px 0 14px;
}

.about-content p {
  margin-bottom: 18px;
}

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 64px;
  font-family: 'DM Serif Display', Georgia, serif;
  margin: 0 auto 32px;
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 14px;
  color: var(--warm-gray);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 18px;
  transition: border-color 0.2s;
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

.contact-form button {
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: var(--teal-light);
}

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
  text-align: center;
  font-size: 14px;
}

footer .footer-links {
  margin-bottom: 16px;
}
footer .footer-links a {
  color: rgba(255,255,255,0.7);
  margin: 0 16px;
  font-size: 14px;
}
footer .footer-links a:hover {
  color: var(--white);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  nav ul {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav ul.open {
    display: flex;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p {
    font-size: 17px;
  }
  .blog-card {
    flex-direction: column;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .blog-post h1 {
    font-size: 28px;
  }
}
