/*
Theme Name: CashStream Unique
Description: Architectural financial design. Warm light tones, bold typography.
Version: 2.0
Author: Assistant
*/

:root {
  /* Palette: Paper & Ultramarine */
  --bg-body: #F9F9F7; /* Warm Chalk */
  --bg-white: #FFFFFF;
  --text-main: #121212;
  --text-muted: #666660;
  
  --color-accent: #4F46E5; /* Electric Violet */
  --color-highlight: #D4F45F; /* Acid Lime */
  
  --border-color: #E0E0DC;
  
  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-lg: 24px;
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container with visible grid lines feel */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--color-accent);
  transform: scale(1.05);
}

.btn-lime {
  background: var(--color-highlight);
  color: var(--text-main);
}

.btn-lime:hover {
  background: var(--text-main);
  color: var(--color-highlight);
}

/* HEADER */
.site-header {
  padding: 2rem 0;
  position: relative;
  z-index: 100;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--text-main);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -1px;
  text-transform: lowercase;
}

.logo span { color: var(--color-accent); }

.main-nav ul { display: flex; gap: 3rem; }
.main-nav a { 
  font-weight: 500; 
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
  background: var(--color-accent); transition: width 0.3s;
}
.main-nav a:hover::after { width: 100%; }

/* HERO: Architectural */
.hero-section {
  padding: 6rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 2.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 3rem;
  border-left: 3px solid var(--color-highlight);
  padding-left: 1.5rem;
}

.hero-visual {
  position: relative;
}

.stat-box {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--text-main);
  box-shadow: 10px 10px 0 var(--text-main); /* Brutalist shadow */
  position: relative;
  z-index: 2;
}

/* TOPICS: The Stream Grid */
.topics-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-color);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; /* Borders via gap */
  background: var(--border-color);
  border: 1px solid var(--border-color);
}

.topic-card {
  background: var(--bg-body);
  padding: 3rem 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s;
}

.topic-card:hover {
  background: var(--bg-white);
}

.topic-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #E5E5E5;
  font-weight: 800;
}

.topic-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.topic-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ABOUT: Split Layout */
.about-split {
  padding: 8rem 0;
  background: var(--text-main);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  margin: 0 2vw;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 0 4rem;
}

.about-text h2 { color: var(--bg-white); font-size: 3rem; margin-bottom: 2rem; }
.about-text p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; font-size: 1.1rem; }

.about-list li {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
}

/* BLOG: Masonry with Lines */
.blog-section {
  padding: 8rem 0;
}

.section-head {
  margin-bottom: 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.big-heading { font-size: 4rem; margin: 0; letter-spacing: -1px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.post-item {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--text-main);
  padding-top: 1.5rem;
  transition: transform 0.3s;
}

.post-item:hover { transform: translateY(-10px); }

.post-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 700;
}

.post-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* PAGINATION */
.page-numbers {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0 5px;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  font-weight: 700;
  transition: all 0.2s;
  border-radius: 50px;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.page-numbers.dots {
  border: none;
  opacity: 0.5;
}

/* FOOTER */
.site-footer {
  padding: 6rem 4vw 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-brand h2 { font-size: 2.5rem; letter-spacing: -1px; }
.footer-brand p { max-width: 300px; color: var(--text-muted); }

.footer-nav h4 { 
  font-family: var(--font-body); 
  font-weight: 700; 
  text-transform: uppercase; 
  margin-bottom: 2rem; 
  letter-spacing: 1px;
}

.footer-nav li { margin-bottom: 1rem; }
.footer-nav a { font-size: 1.1rem; }
.footer-nav a:hover { color: var(--color-accent); }

/* Page / Single */
.page-header-block {
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--border-color);
}
.page-h1 {
  font-size: 4rem;
  letter-spacing: -1px;
}
.page-content {
  max-width: 900px;
  margin: 4rem 0;
  font-size: 1.25rem;
}
.page-content p { margin-bottom: 1.5rem; }
.page-content h2 { font-size: 2.5rem; margin: 3rem 0 1.5rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; padding: 0 2rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-wrap { flex-direction: column; gap: 1.5rem; }
  .topics-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-title { font-size: 3rem; }
  .about-split { margin: 0; border-radius: 0; }
}
