/* Bright Glade Webcraft – Monochrome Sophisticated CSS Theme */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root {
  --color-bg: #fff;
  --color-bg-alt: #f5f5f5;
  --color-bg-dark: #1a1a1a;
  --color-bg-light: #f5f8fa;
  --color-primary: #23606B;
  --color-accent: #F7AC45;
  --color-text: #181818;
  --color-text-light: #fff;
  --color-text-muted: #666;
  --color-border: #e0e0e0;
  --color-shadow: rgba(0,0,0,0.07);
  --color-shadow-strong: rgba(0,0,0,0.13);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 16px var(--color-shadow);
  --shadow-strong: 0 4px 32px var(--color-shadow-strong);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-bg-dark);
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4em;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, ol, blockquote {
  margin-top: 0;
  margin-bottom: 1.1em;
}
blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1em;
  color: var(--color-bg-dark);
  font-style: italic;
  background: var(--color-bg-light);
  margin: 0 0 1em 0;
}
cite {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.98em;
  margin-top: 0.2em;
  font-style: normal;
}

ul, ol {
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.4em;
}

strong {
  font-weight: 700;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover, a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Flexbox Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafbfc;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  color: var(--color-bg-dark);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid (used for cards, features, etc.) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid var(--color-border);
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.02);
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #fff 60%, #eaeaea 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: var(--color-bg-dark);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.3em;
}
.hero p {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  margin-bottom: 1.2em;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-top: 10px;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 24px rgba(35,96,107,0.13);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}

/* Header & Navigation */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 18px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--color-bg-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-primary);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-bg-dark);
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-primary);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,26,26,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 48px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  font-size: 0.98rem;
  color: #e0e0e0;
  margin-bottom: 8px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #bdbdbd;
  opacity: 0.8;
}

/* Table Styles (Pricing) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 24px 0;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
thead {
  background: #f2f2f2;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
}
th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-bg-dark);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232323;
  color: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 99999;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 1.05rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin: 0;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-accent);
  color: #232323;
}
.cookie-banner .reject {
  background: #fff;
  color: #232323;
  border: 1px solid #232323;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #232323;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff;
  color: #232323;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,26,26,0.85);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #181818;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInModal 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-content h3 {
  margin-top: 0;
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--color-bg-dark);
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: var(--color-bg-dark);
}
.cookie-modal-content .toggle {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #e0e0e0;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cookie-modal-content .toggle.enabled {
  background: var(--color-primary);
}
.cookie-modal-content .toggle:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.cookie-modal-content .toggle.enabled:after {
  left: 19px;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-bg-dark);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  color: var(--color-primary);
}

/* Miscellaneous */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 32px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 18px 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 0;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 16px 10px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 8px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 12px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    padding: 12px 18px;
    font-size: 1rem;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  footer .container {
    gap: 12px;
    padding: 0 10px;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 24px 0 12px 0;
  }
  .hero h1 {
    font-size: 1.15rem;
  }
  .cta-button {
    padding: 10px 10px;
    font-size: 0.98rem;
  }
  .cookie-modal-content {
    padding: 18px 8px 14px 8px;
    min-width: 0;
  }
}

/* Micro-interactions */
.card, .feature-grid > div, .cta-button, .main-nav a, .mobile-nav a, .footer-nav a, .cookie-banner button, .cookie-modal-content .close-modal {
  transition: var(--transition);
}

/* Accessibility Focus Styles */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Hide scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.bg-dark { background: var(--color-bg-dark); color: #fff; }
.bg-light { background: var(--color-bg-light); color: var(--color-bg-dark); }

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* End of Bright Glade Webcraft CSS */
