/* Verantera - Unique Modern Blog Design | Ice-Blue Corporate Theme | Fully Custom CSS - No Previous Repetition */
:root {
  --blue-deep: #0F172A;
  --blue-primary: #1E40AF;
  --blue-accent: #3B82F6;
  --blue-light: #DBEAFE;
  --blue-pale: #EFF6FF;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-soft: #E0F2FE;
  --shadow-soft: 0 4px 6px -1px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.06);
  --shadow-medium: 0 10px 15px -3px rgb(15 23 42 / 0.1), 0 4px 6px -4px rgb(15 23 42 / 0.08);
  --shadow-strong: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-main);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header & Navigation */
header {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

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

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--blue-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--blue-primary);
}

nav a.active {
  color: var(--blue-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--blue-primary), var(--blue-accent));
  transition: width 0.2s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-deep);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section - Magazine Style Full Width */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #1E3A8A 100%);
  color: white;
  padding: 120px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero .tagline {
  font-size: 22px;
  font-weight: 400;
  color: var(--blue-light);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero .author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 15px;
  margin-bottom: 32px;
}

.hero .author::before {
  content: '✦';
  color: var(--blue-accent);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--blue-deep);
  padding: 16px 36px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: var(--transition);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
  background: var(--blue-pale);
}

/* Main Content Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Intro / Long Text Section - Magazine Style */
.intro-section {
  padding: 80px 0 60px;
  max-width: 820px;
  margin: 0 auto;
}

.intro-section h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--blue-deep);
  margin-bottom: 32px;
  line-height: 1.1;
}

.intro-section p {
  font-size: 17.5px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.intro-section p:last-child {
  margin-bottom: 0;
}

.highlight {
  background: linear-gradient(120deg, var(--blue-light) 0%, transparent 100%);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--blue-deep);
}

/* Sidebar + Content Grid Layout */
.content-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 40px 0 80px;
}

@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sidebar {
    order: 2;
  }
}

/* Sidebar - Sticky Categories */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.sidebar h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-list li {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 15px;
}

.category-list li:hover,
.category-list li.active {
  background: var(--blue-pale);
  color: var(--blue-primary);
}

.search-box {
  margin-bottom: 24px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Articles Grid - Magazine Card Style */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: var(--blue-light);
}

.card-accent {
  height: 5px;
  background: linear-gradient(to right, var(--blue-primary), var(--blue-accent));
}

.card-body {
  padding: 26px 26px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-pale);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-body h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--blue-deep);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.card-body .excerpt {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}

.card-meta .read-time {
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 8px;
}

.read-more-btn:hover {
  color: var(--blue-accent);
  gap: 12px;
}

/* Modal - Unique Clean Reading Experience */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(15 23 42 / 0.35);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue-pale);
}

.modal-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 0;
  padding-right: 20px;
}

.close-modal {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.close-modal:hover {
  background: var(--blue-deep);
  color: white;
  border-color: var(--blue-deep);
}

.modal-body {
  padding: 40px 48px;
  overflow-y: auto;
  flex: 1;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.modal-body h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 32px 0 16px;
  line-height: 1.3;
}

.modal-body p {
  margin-bottom: 22px;
}

.modal-body ul, .modal-body ol {
  margin: 20px 0 24px 24px;
}

.modal-body li {
  margin-bottom: 10px;
}

.modal-footer {
  padding: 20px 48px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(135deg, var(--blue-deep), #1E3A8A);
  color: white;
  padding: 90px 24px 70px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.contact-hero p {
  font-size: 19px;
  max-width: 520px;
  margin: 0 auto;
  color: var(--blue-light);
}

.contact-section {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px;
}

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-soft);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-main);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
  color: white;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.address-block {
  margin-top: 50px;
  padding: 32px;
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--blue-primary);
}

.address-block h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.address-block p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Thank You Page */
.thankyou-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--bg-main) 100%);
  padding: 60px 24px;
  text-align: center;
}

.thankyou-content {
  max-width: 680px;
}

.thankyou-content .icon {
  width: 92px;
  height: 92px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 32px;
}

.thankyou-content h1 {
  font-size: 44px;
  font-weight: 900;
  color: var(--blue-deep);
  margin-bottom: 20px;
}

.thankyou-content .lead {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.thankyou-content .disclaimer {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: left;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
}

/* Legal Pages */
.legal-page {
  max-width: 860px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.legal-page h1 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--blue-deep);
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 48px 0 18px;
  color: var(--blue-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-light);
}

.legal-page h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--blue-deep);
}

.legal-page p, .legal-page li {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-page ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.legal-page strong {
  color: var(--blue-deep);
}

/* Footer */
footer {
  background: var(--blue-deep);
  color: var(--blue-light);
  padding: 60px 24px 40px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 14.5px;
  line-height: 1.7;
  opacity: 0.85;
}

.footer-links a {
  display: block;
  color: var(--blue-light);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14.5px;
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.75;
  gap: 12px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

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

/* Utility */
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }
  
  .hero .tagline {
    font-size: 18px;
  }
  
  .nav-container {
    padding: 0 16px;
  }
  
  nav ul {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-medium);
    display: none;
    border-top: 1px solid var(--border-soft);
  }
  
  nav ul.show {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
}