/* RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { 
  line-height: 1.5; 
  background: #f9f6ef;
  color: #232B33;
}
ol, ul {
  list-style: none;
}
a { 
  text-decoration: none; 
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 10px 6px; text-align: left; }

/* FONT FACE LOADS (Vintage style) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&family=Rubik+Mono+One&display=swap');

:root {
  --primary: #232B33;
  --secondary: #00A09B;
  --accent: #F7DFB3;
  --retro-orange: #E57D2D;
  --retro-green: #95A77F;
  --retro-brown: #7C6748;
  --retro-red: #B84A49;
  --bg-page: #f9f6ef;
  --body-font: 'Roboto', Arial, sans-serif;
  --display-font: 'Montserrat', 'Rubik Mono One', Arial, sans-serif;
  --retro-display: 'Rubik Mono One', 'Montserrat', Arial, sans-serif;
  --shadow-card: 0 4px 18px rgba(35,43,51,0.09), 0 1.5px 6px rgba(229,125,45,0.09);
  --border-radius: 12px;
  --border-radius-sm: 6px;
}

body {
  font-family: var(--body-font);
  background: var(--bg-page);
  color: var(--primary);
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--retro-display);
  color: var(--primary);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--retro-orange);
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}
h3 {
  font-size: 1.25rem;
  color: var(--retro-brown);
  font-weight: 700;
}
h4, h5, h6 {
  font-weight: 500;
}

p, ul, li, table, address, th, td, blockquote {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}

strong, b {
  font-weight: bold;
  color: var(--retro-red);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-bottom: 3px dotted #CBB894;
  background: linear-gradient(102deg, var(--accent) 0%, #fff8e3 100%);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 32px rgba(124,103,72,0.075);
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
}

/* COMMON FLEXBOX CONTAINERS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* FLEX LAYOUTS */
.feature-grid,
.app-review-cards,
.trend-spotlight,
.startup-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.article-teasers,
.ki-article-snippets,
.project-overview-cards,
.test-review-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: space-between;
}

.value-icons,
.editor-choices ul,
.trend-highlights ul,
.innovator-profiles ul,
.analysis-snippets ul,
.real-life-usecases ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.value-icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  background: #fbe7d1;
  box-shadow: 0 1.5px 6px rgba(229,125,45,0.07);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* CARD STYLES */
.feature-grid > div,
.app-review-cards > div,
.trend-spotlight > div,
.startup-cards > div,
.article-teasers > article,
.ki-article-snippets > article,
.project-overview-cards > div,
.test-review-cards > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 26px 24px 18px 24px;
  min-width: 230px;
  flex: 1 1 235px;
  position: relative;
  margin-bottom: 20px;
  border: 2px solid var(--accent);
  transition: transform 0.18s cubic-bezier(.47,1.64,.41,.8), box-shadow 0.14s;
}

.feature-grid > div:hover,
.app-review-cards > div:hover,
.trend-spotlight > div:hover,
.startup-cards > div:hover,
.article-teasers > article:hover,
.ki-article-snippets > article:hover,
.project-overview-cards > div:hover,
.test-review-cards > div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 34px rgba(124,103,72,0.18), 0 1px 8px rgba(35,43,51,0.13);
  border-color: var(--retro-orange);
}

/* BUTTONS & CTAS */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  font-family: var(--display-font);
  font-size: 1.06rem;
  padding: 13px 32px;
  border-radius: var(--border-radius-sm);
  color: var(--primary);
  background: var(--retro-orange);
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(124,103,72,0.12);
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  transition: background 0.16s, color 0.15s, box-shadow 0.2s, transform 0.1s;
}
.cta-btn:hover, button:hover, .cookie-btn:hover {
  background: var(--retro-red);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.cta-btn:active, button:active, .cookie-btn:active {
  background: var(--retro-brown);
  color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: #fff;
  font-size: 1.9rem;
  padding: 7px 17px;
  margin-left: auto;
  border-radius: var(--border-radius-sm);
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

@media (max-width: 1025px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* HEADER */
header {
  width: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 24px 16px 24px;
  gap: 28px;
  z-index: 30;
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(35,43,51,0.08);
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 16px;
}
header nav a {
  font-family: var(--display-font);
  font-weight: 700;
  padding: 8px 16px;
  color: var(--accent);
  font-size: 1.10rem;
  letter-spacing: 0.04em;
  border-radius: var(--border-radius-sm);
  transition: background 0.14s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-orange);
  color: #fff;
}

@media (max-width: 1025px) {
  header nav {
    display: none;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,43,51,0.95);
  z-index: 200;
  transform: translateX(-110vw);
  transition: transform 0.37s cubic-bezier(.47,1.64,.41,.8);
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: var(--accent);
  font-size: 2.1rem;
  padding: 6px 22px;
  margin: 23px 25px 0 0;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 220;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--retro-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 30px 0 0 36px;
  z-index: 200;
}
.mobile-nav a {
  font-family: var(--display-font);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 0 12px 10px;
  border-radius: var(--border-radius-sm);
  transition: background 0.15s, color 0.13s;
  min-width: 200px;
  min-height: 44px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--retro-orange);
  color: #fff;
}
@media (min-width: 1026px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN & SECTIONS */
main {
  min-height: 60vh;
}

/* TABLE STYLES */
table {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 18px rgba(229,125,45,0.07);
  margin: 20px 0;
  overflow: hidden;
}
th {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--retro-display);
  font-weight: 700;
  letter-spacing: 1px;
}
td, th { border-bottom: 1px solid #eee5cb; }
tr:last-child td { border-bottom: none; }

/* UL / LIs */
ul {
  margin-left: 18px;
  margin-bottom: 10px;
  padding-left: 8px;
}
ul li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 20px;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--retro-orange);
  border-radius: 50%;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #FFF6EF;
  color: #232B33;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--accent);
  min-width: 280px;
  transition: box-shadow 0.15s, border 0.15s;
}
.testimonial-card blockquote {
  font-family: var(--retro-display);
  font-size: 1.12rem;
  color: #22232b;
  letter-spacing: -1.2px;
  background: none;
  margin: 0;
}
.testimonial-card strong {
  color: var(--secondary);
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(229,125,45,0.19);
  border-color: var(--retro-orange);
}

/* QUOTATIONS */
blockquote {
  quotes: '“' '”' '‘' '’';
}
blockquote:before {
  content: open-quote;
  color: var(--retro-orange);
  font-size: 2rem;
  line-height: .1em;
  margin-right: 6px;
  vertical-align: -.4em;
}
blockquote:after {
  content: close-quote;
  color: var(--retro-orange);
  font-size: 2rem;
  vertical-align: -.4em;
  margin-left: 6px;
}

/* ADDRESS STYLES */
address {
  font-style: normal;
  color: var(--retro-brown);
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
address img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: -2px;
}
address a {
  color: var(--retro-red);
}

/* FOOTER */
footer {
  padding: 38px 24px 20px 24px;
  background: var(--retro-green);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-top: 5px double var(--accent);
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 5px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--accent);
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--border-radius-sm);
  padding: 6px 10px;
  transition: color 0.12s, background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: var(--retro-orange);
}

/* EDITOR PICKS, TREND HIGHLIGHTS ETC */
.editor-picks, .editor-choices, .trend-highlights, .innovator-profiles, .analysis-snippets, .real-life-usecases, .expert-opinions, .upcoming-events-teasers {
  margin-top: 20px;
  background: #fffbe5;
  border-radius: var(--border-radius-sm);
  padding: 18px 22px;
  box-shadow: 0 1.5px 9px rgba(229,125,45,0.07);
  border-left: 5px solid var(--secondary);
}

/* FORMS */
input, textarea {
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--retro-orange);
  padding: 8px 16px;
  font-size: 1.06rem;
  margin-bottom: 11px;
  font-family: var(--body-font);
  background: #fff7e1;
  transition: border-color 0.13s;
  width: 100%;
}
input:focus, textarea:focus {
  border-color: var(--retro-red);
  outline: none;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--body-font);
  box-shadow: 0 -4px 32px rgba(35,43,51,0.05);
  padding: 26px 23px 23px 23px;
  z-index: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(.47,1.64,.41,.8);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  padding: 11px 25px;
  font-size: 1rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--display-font);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.11s;
}
.cookie-btn.secondary {
  background: var(--retro-brown);
  color: var(--accent);
}
.cookie-btn:active{
  background: var(--retro-orange);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-orange);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(35,43,51,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: var(--accent);
  width: 95vw;
  max-width: 430px;
  padding: 34px 28px 28px 28px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 64px rgba(229,125,45,0.15);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  color: var(--primary);
}
.cookie-modal h3 {
  font-family: var(--retro-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1.01rem;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--secondary);
  border-radius: 5px;
}
.cookie-actions-modal {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 7px 14px 8px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 18px 8px 14px 12px;
  }
}

/* RESPONSIVE */
@media (max-width: 1025px) {
  header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 13px 7px 13px 9px;
  }
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .feature-grid, .app-review-cards, .trend-spotlight, .startup-cards, .article-teasers, .test-review-cards, .project-overview-cards {
    gap: 13px;
    flex-direction: column;
  }
  .editor-picks, .editor-choices, .trend-highlights, .innovator-profiles, .analysis-snippets, .real-life-usecases {
    padding: 12px;
    font-size: 0.98rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.05rem;
  }
}

/* Table horizontal scroll on mobile */
@media (max-width: 700px) {
  table {
    display: block;
    overflow-x: auto;
  }
}

/* MISC */
::-webkit-scrollbar {
  width: 9px;
  background: #f2e6cd;
}
::-webkit-scrollbar-thumb {
  background: #E57D2D;
  border-radius: 8px;
}
html {
  scroll-behavior: smooth;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Links global */
a {
  color: var(--secondary);
  text-decoration: underline dotted var(--retro-orange) 1.5px;
  transition: color 0.12s,text-decoration 0.12s;
}
a:hover, a:focus {
  color: var(--retro-red);
  text-decoration: underline solid var(--retro-orange) 2px;
}

/* Decorative vintage pattern stripes (optional background) */
body:before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(135deg,#E57D2D 0 7px,transparent 7px 28px,#B84A49 28px 42px,transparent 42px 62px);
}

/* List groupings for references, events etc. */
.founders-resources-list ul, .upcoming-events-teasers ul {
  gap: 14px;
  flex-direction: column;
}

/* Misc for newsletter, support info, flex spacing */
.newsletter-form, .contact-info-details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

/* Add breathing room below main content */
main {
  margin-bottom: 70px;
}

/* Hide cookie modal (leave .hide to display none) */
.cookie-modal.hide {
  display: none;
  opacity: 0;
}

/* Z-index stacking for overlays */
.mobile-menu { z-index: 400; }
.cookie-modal { z-index: 9999; }
.cookie-banner { z-index: 500; }

/* Prevent layout/decorative-element overlap */
section, footer, header, .mobile-menu, .cookie-banner, .cookie-modal {
  box-sizing: border-box;
}
