/* Merged CSS from simp-style.css and simp-additional-style.css */




/* =============================================================
   STALYTICS MAIN WEBSITE STYLES (Optimised & Consolidated)
   British English Version – Mobile First
   ============================================================= */

/* =============================================================
   1. Root Variables & Base Settings
   ============================================================= */
   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;700&display=swap');

:root {
  --primary-color: #001430;
  --secondary-color: #d4af37;
  --accent-color: #4a90e2;
  --text-color: #001430;
  --light-text: #ffffff;
  --light-bg: #fafafa;
  --border-radius: 10px;
  --cta-border-radius: 10px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* Additional variables */
  --white: #ffffff;
  --border-color: #e0e0e0;
  --font: 'Poppins', sans-serif;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  /* Aliases */
  --primary-blue: #001430;
  --accent-gold: #d4af37;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

.body-no-scroll {
    overflow: hidden;
}


/* =============================================================
   2. Typography
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 { font-size: 1.8rem; color: var(--secondary-color); }
h2 { font-size: 1.5rem; color: var(--primary-color); }
h3 { font-size: 1.2rem; color: var(--primary-color); }

p { margin-bottom: 20px; }

a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }

ul, ol { margin-bottom: 0; }
.section { padding: 20px; }
.img { max-width: 100%; height: auto; }




/* =============================================================
   5. Buttons (Reusable CTA Styles)
   ============================================================= */
.btn,
.btn-primary,
.cta-button,
.styled-button,
.demo-cta,
.service-cta,
.cta-summary {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 20px auto 0;
  padding: 12px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: var(--cta-border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  text-align: center;
  line-height: 1.4;
  box-sizing: border-box;
}

.btn:hover,
.btn-primary:hover,
.cta-button:hover,
.styled-button:hover,
.demo-cta:hover,
.service-cta:hover,
.cta-summary:hover {
  background-color: #c09c2c;
  color: var(--light-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Variants */
.btn-secondary { background-color: var(--accent-color); color: var(--light-text); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--light-text); }

/* =============================================================
   6. Header & Navigation
   ============================================================= */
header {
  width: 100%;
  background-color: rgba(0, 20, 48, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
  padding: 0 20px;
}

nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }

.favicon-img {
  width: 50px; height: 50px; object-fit: cover;
  overflow: hidden;
  display: block; padding: 2px;
}

.nav-links { display: none; list-style-type: none; padding-left: 0; margin: 0; }

.nav-links a {
  color: var(--light-text); font-size: 1.2rem; font-weight: 600;
  padding: 7px 12px; font-family: var(--font) !important;
  transition: var(--transition); display: inline-block; text-decoration: none;
}

.nav-links a:hover {
  background-color: #c09c2c; color: var(--primary-color);
  border-radius: var(--cta-border-radius);
  animation: bounce 0.6s ease; text-decoration: underline;
}

.nav-links .cta-button {
  background-color: var(--secondary-color);
  color: var(--light-bg);
  padding: 7px 12px;
  border-radius: var(--cta-border-radius);
  font-weight: 600; white-space: nowrap; margin: auto;
  text-decoration: none; display: inline-block;
}

.nav-links .cta-button:hover { background-color: #c09c2c; color: #001430; text-decoration: underline; }

.nav-links a.active:not(.cta-button),
.mobile-nav a.active:not(.mobile-cta) { text-decoration: underline; }

@keyframes bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
  60% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

/* =============================================================
   7. Mobile Navigation & Hamburger
   ============================================================= */
.hamburger-menu { display: block; cursor: pointer; padding: 3px 6px 3px 6px; z-index: 1001; border-radius: 8px; background-color: var(--secondary-color); }
.hamburger-menu span { display: block; width: 25px; height: 3px; background-color: var(--primary-color); border-radius: 8px; margin: 5px 0; transition: var(--transition); }

.mobile-nav {
  display: block; position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
  background-color: var(--primary-color); padding: 80px 20px 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  z-index: 999; transform: translateX(100%);
  transition: transform 0.3s ease-in-out; overflow-y: auto;
}

.mobile-nav.active { transform: translateX(0); }
.mobile-nav ul { list-style: none; padding: 0; margin-top: 20px; }
.mobile-nav ul li { margin-bottom: 15px; }

.mobile-nav ul li a {
  color: var(--light-text); font-size: 1.1rem; font-weight: 600;
  display: block; padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul li a:hover { color: var(--secondary-color); }
.mobile-nav ul li a:active { background-color: #c09c2c; color: #001430; text-decoration: underline; }

.mobile-nav ul li a.mobile-cta {
  background-color: var(--secondary-color); color: var(--primary-color);
  padding: 10px 20px; border-radius: var(--cta-border-radius);
  text-align: center; border-bottom: none; margin-top: 20px;
}

/* =============================================================
   9. Footer
   ============================================================= */
.site-footer {
  background-color: var(--primary-color); color: var(--light-text);
  padding: 40px 20px 20px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .container { display: flex; flex-direction: column; align-items: center; max-width: 1200px; margin: 0 auto; }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; margin-bottom: 30px; }

.footer-logo { min-width: 250px; margin-bottom: 40px; }
.footer-logo img { max-width: 200px; margin-bottom: 20px; }

.footer-columns { display: flex; flex-direction: column; align-items: center; width: 100%; }
.footer-column { min-width: 100%; margin-bottom: 30px; text-align: center; }

.footer-column h3 { color: var(--secondary-color); margin-bottom: 15px; font-size: 1.2rem; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a { color: var(--light-text); font-size: 14px; transition: var(--transition); }
.footer-column ul li a:hover { color: var(--secondary-color); text-decoration: underline; }

.footer-bottom {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center; font-size: 12px; color: #999; width: 100%;
}

/* =============================================================
   10. Responsive Breakpoints
   ============================================================= */

/* Mobile (481px – 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  body { line-height: 1.6; }
  .section { padding: 50px 20px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }
  .hero-logo { max-width: 250px; }
  .cta-button { width: auto; }
  .mobile-nav { width: 250px; }
}

/* Tablet (769px – 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger-menu { display: block; }
  .mobile-nav { display: block; }
  .hero-logo { max-width: 300px; }
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-columns { justify-content: center; width: 100%; }
}



/* Touch Devices Active State */
@media (hover: none) {
  .btn:active,
  .btn-primary:active,
  .cta-button:active,
  .styled-button:active,
  .demo-cta:active,
  .service-cta:active,
  .cta-summary:active {
    transform: translateY(1px);
  }
}




/* ================================================== */
/*                GLOBAL / ADDITIONAL                  */
/* ================================================== */

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-section {
  background-color: var(--primary-color);
  padding: 100px 20px 60px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
}

.hero-logo { max-width: 220px; width: 100%; margin: 0 auto; display: block; }

.hero-section h1 {
  color: var(--secondary-color);
}


.hero-subheading {
    color: var(--light-text);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1rem;
  color: var(--light-bg);
  margin-bottom: 20px;
}
/* Headings */

.services-section h2,
.custom-dev-section h2,
.narrative-title,
.transparency-section h2,
.cta-content h2 {
  font-size: 1.8rem;
  margin: 20px 0;
  color: var(--primary-color);
}

.btn:active,
.demo-cta:active,
.demos-cta-order:active,
.cta-button:active,
.service-cta:active,
.custom-dev-section:active,
.cta-summary:active {
  transform: translateY(1px);
  transition: transform 0.1s ease;
}

/* Text boxes (glassmorphism style) */
.text-box,
.demos-cta-section .text-box {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 15px;
  border-radius: 16px;
  color: var(--white);
  max-width: 90%;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Lists with checkmarks */
.service-card ul,
.custom-dev-section ul {
  margin: 1em 0 0;
  padding: 20px;
  list-style-type: none;
}

.service-card li,
.custom-dev-section li {
  padding: 0.4em 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 0.5em;
}
.service-card li:last-child,
.custom-dev-section li:last-child {
  border-bottom: none;
}
.service-card li::before,
.custom-dev-section li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  width: 1.2em;
  margin-right: 0.3em;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; /* Prevent line breaks */
}

/* ================================================== */
/*                    DEMO CTA                       */
/* ================================================== */

.demos-cta-section {
  margin: 20px;
  padding: 40px 15px;
  /* UPDATED LINE: Replaced the background image with your brand's dark color */
  background: #00285a; /* Assuming this is your primary dark color */
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  color: var(--light-text);
  text-align: center;
  position: relative;
  z-index: 0;
}

.demos-cta-section h2 { color: var(--light-bg); font-size: 1.6rem; }
.demos-cta-section h3 { color: var(--light-bg); font-size: 1.2rem; }

.demos-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.text-box + .text-box {
  margin-top: 40px;
}
.demos-cta-order-wrapper { text-align: center; margin-top: 20px; }


/* ================================================== */
/*                    SERVICES                       */
/* ================================================== */

.service-package { display: none; }
.service-package.active { display: block; }

.services-section {
  background-color: var(--light-bg);
  text-align: center;
  padding: 0px 0;
}

.services-section p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  padding: 0 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 20px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  gap: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  padding: 40px;
  margin: 0;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img { width: 81px; height: 81px; }
.service-card h3 { font-weight: 700; font-size: 1.4rem; margin-top: 30px; }
.service-card h4 { font-weight: 600; font-size: 1.2rem; }
.service-card p, .service-description p {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 1rem;
  padding: 0;
}

.service-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-link {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 10px;
  position: relative;
  text-decoration: none;
}
.service-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: var(--transition);
}
.service-link:hover::after { width: 100%; }

/* ===================================================
   Free Tools Section Styles
   =================================================== */

.free-tools-section {
  background-color: #fafafa; /* Or var(--light-bg) */
  text-align: center;
  padding: 60px 20px;
}

/* --- Grid Container --- */
.tools-grid {
  display: grid;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0 auto; /* Adds space above and centers the grid */

  /* Mobile: Single column */
  grid-template-columns: 1fr;
}

/* --- Individual Tool Card --- */
.tool-card {
  /* Flexbox for internal alignment */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center-aligns content horizontally */

  /* Appearance */
  background-color: #f5f8fd; /* Or var(--white) */
  border-radius: 8px; /* Or var(--border-radius) */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); /* Or var(--box-shadow) */
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Or var(--transition) */
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Icon Styling --- */
.tool-icon {
  width: 80px;
  height: 80px;
  background-color: #4a90e2; /* Or var(--accent-color) */
  border-radius: 50%;
  margin-bottom: 25px;

  /* Centers the icon inside the circle */
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon .fas {
  font-size: 36px;
  color: #fff; /* Or var(--white) */
}

/* --- Card Content --- */
.tool-card h3 {
  font-size: 1.4rem;
  margin: 0 0 15px 0;
}

.tool-card .tool-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333; /* Or var(--primary-color) */
  margin-bottom: 30px;
}

/* --- CTA Button Alignment --- */
.tool-card .cta-button {
  /* This pushes the button to the bottom of the card */
  margin-top: auto;
}

/* ================================================== */
/*                 NARRATIVE COLUMNS                 */
/* ================================================== */

.narrative-columns {
  background-color: var(--light-bg);
  padding: 40px 20px;
  color: var(--primary-color);
  font-family: var(--font);
}

.narrative-container {
  max-width: 1100px;
  margin: 0 auto;

}

.columns {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
}

.narrative-left,
.narrative-right {
  width: 100%;
  font-weight: 700;
  text-align: center;
  color: var(--primary-color);
}
.narrative-title {
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.narrative-left p,
.narrative-right p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
}

.narrative-right .final-line {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  text-align: center;
  color: var(--secondary-color);
}

/* Mobile-first styles */

.cta-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  color: #4a90ea;
  margin: 0;
}

.cta-fallback a {
  color: #4a90ea;      /* standard blue link */
  text-decoration: underline;
}

.cta-fallback a:hover {
  color: #d8a724;      /* standard hover */
}

/* ================================================== */
/*                 TRANSPARENCY SECTION              */
/* ================================================== */

.transparency-section {
  background-color: var(--light-bg);
  padding: 60px 20px;
  text-align: center;
}

.honest-statement {
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 90%;
  margin: 0 auto 30px;
  color: var(--primary-color);
}

.benefits-grid { 
  display: grid;
  flex-direction:column;
  grid-template-columns: repeat(1, 1fr); 
  align-items:center;
  gap: 20px;
  margin: 20px;
}

.benefit-item {
  background-color: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.benefit-item .fas {
  color: #4a90e2; 
  font-size: 3em; 
  margin-bottom: 15px; 
}


.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.benefit-item h3 { color: var(--secondary-color); margin-bottom: 15px; }
.benefit-item p { color: var(--primary-color); margin-bottom: 15px; font-weight: 500; }


/* ================================================== */
/*                 FINAL CTA SECTION                 */
/* ================================================== */

.cta-section {
  padding: 40px 15px;
  /* UPDATED LINE: Replaced the background image with your brand's dark color */
  background: #00285a; /* Assuming this is your primary dark color */
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  color: var(--light-text);
  text-align: center;
  position: relative;
  z-index: 0;
  margin: 20px;
}

.cta-content { max-width: 1000px; margin: 0 auto; text-align: center; }

.cta-section .text-box {
  background-color: rgba(0, 0, 0, 0.2); padding: 20px; border-radius: 16px;
  color: white; max-width: 100%; margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.cta-payment { font-size: 1.2rem; margin-bottom: 20px; }

.cta-content h2 { color: var(--light-bg); font-size: 1.8rem; margin: 0 0 20px; }

.cta-ownership { font-size: 1.2rem; font-weight: 600; color: var(--light-bg); margin-bottom: 30px; }

/* ==========================================================================
   PDF Modal Styles
   ========================================================================== */

/* Style for the link-like button inside the form */
.button-link {
    background: none;
    border: none;
    color: #001430; /* Or your site's primary link color */
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    vertical-align: baseline;
}

.button-link:hover {
    color: #0056b3;
}

.terms-option label {
    display: flex;
    align-items: flex-start;
}

.terms-option input[type="checkbox"] {
    margin-top: 0.2em;
}

.terms-option span {
    margin-left: 0.5rem;
    line-height: 1.5;
}

/* ================================================== */
/*                    Modal Styles                    */
/* ================================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 4% auto;
    width: 85%;
    max-width: 900px;
    height: 85vh;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9fafb;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #111827;
}

.close-button {
    color: #6b7280;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover,
.close-button:focus {
    color: #000;
}

.modal-body {
    flex-grow: 1;
    background-color: #4d4d4d;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: right;
    background-color: #f9fafb;
}

.modal-body-text-content {
    padding: 20px;
    color: var(--primary-color);
    background-color: #fff;
    height: 100%;
    overflow-y: auto;
}

#policy-checkbox-container {
    margin-top: 20px;
}

#policy-checkbox-container label {
    display: block;
    text-align: left;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
}

#policy-checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Checkout Page Styles (Mobile-First)
   ========================================================================== */

/* 1. Main content area styling */
.checkout-page {
    padding: 20px 15px 60px 15px; /* Top, horizontal, bottom padding */
    background-color: #fafafa; /* A clean white background */
}

/* 2. Container for consistent centering and max-width */
.checkout-page .container {
    max-width: 800px; /* Limits width on large screens for readability */
    margin: 0 auto;   /* Centers the container */
    text-align: center; /* Center-aligns all text content within */
}

/* 3. Heading style */
.checkout-page h2 {
    font-size: 1.7rem; 
    color: var(--primary-color); 
    text-align: center;
    font-weight: 700;
    margin: 20px;
    padding-top: 20px;
}

/* 4. Order summary paragraph style */
#order-summary {
    font-size: 1rem;
    font-weight: 500;
    color: #333; /* A slightly softer text color */
    min-height: 2.2rem; /* Prevents layout shift while text is loading */
    margin-bottom: 30px;
    line-height: 1.5;
    padding: 0px 20px 0px 20px;
}

/* 5. Stripe checkout element container */
#checkout {
    /* The Stripe Element will inject its own iframe and styles here.
       We just need to ensure it has space and a clean starting point. */
    margin: 0 auto;
    max-width: 500px; /* A sensible max-width for payment forms */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* A very subtle shadow */
    border-radius: 10px; /* Rounded corners to match your site's aesthetic */
    padding: 10px; /* A little breathing room around the Stripe element */
    background-color: #fff; /* A light background to frame the element */
}


/* ================================================== */
/*                RESPONSIVE BREAKPOINTS             */
/* ================================================== */

@media (min-width: 481px) and (max-width: 768px) {
  .hero-section h1 { font-size: 2.2rem; }
  .demos-cta-section .text-box { padding: 25px; }
  .demo-cta, .demos-cta-order { width: 80%; max-width: 300px; }
  .services-section p { font-size: 1.1rem; margin-bottom: 10px; padding: 15px; }
  .narrative-columns .columns { flex-direction: column; }
  .cta-section { padding: 40px 20px; }
  .modal-content { width: 98%; height: 90vh; margin: 5% auto; }
  .modal-header h2 { font-size: 1.1rem; }
  }

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section h1 { font-size: 2.5rem; }
  .hero-subheading { font-size: 1.3rem; }
  .hero-description { font-size: 1.1rem; }
  .services-section p { width: 70%; margin-left: auto; margin-right: auto; font-size: 1.2rem; }
  .services-grid {grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .service-card p.service-description { margin-left: 0; margin-right: 0; padding: 0; width: 100%;  }
  .free-tools-section p { width: 70%; margin-left: auto; margin-right: auto; font-size: 1.2rem; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tool-card { display:flex; flex-direction:column; padding-left: 15px; padding-right: 15px; }
  .tool-card h3, .tool-card.tool-description { padding-left: 0px; padding-right: 0px; }
  .demos-cta-section, .cta-section { padding: 80px 20px; width: 94%; margin: auto; }
  .benefits-grid {grid-template-columns: repeat(2, 1fr); align-items:stretch; }
  .benefit-item { display:flex; flex-direction:column; padding:20px; border-radius:var(--border-radius); box-shadow:var(--box-shadow); transition:var(--transition); }
  .benefit-item:hover { transform:translateY(-5px); box-shadow:0 10px 20px rgba(0,0,0,0.3); }
  .benefit-item h3 { color:var(--secondary-color); margin-bottom:15px; }
  .benefit-item p { text-align: center; color:var(--primary-color); margin-bottom:15px; font-weight:500; }
  .cta-section { padding:40px 20px; } .cta-section .text-box { margin-left: 20px; margin-right: 20px; }
  .narrative-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .checkout-page { padding: 40px 20px 80px 20px; }
  .checkout-page h1 { font-size: 2.5rem; font-weight: 700;}
  #order-summary { font-size: 1.25rem; }
  #checkout { padding: 10px; margin: 20px; }
}
/* Desktop (993px and up) - CTA/nav fix (compact style) */
@media (min-width: 993px) {
  .nav-links { display:flex; align-items:center; gap:1rem; flex-wrap:nowrap; }
  .nav-links > * { flex:0 0 auto; min-width:0; } /* keep items from shrinking incorrectly */
  .nav-links .cta-button { display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; padding:0.6rem 1.2rem; width:auto; max-width:none; box-sizing:border-box; flex:0 0 auto; }
  .nav-links .cta-button * { white-space:nowrap; } /* ensure inner elements don't wrap */
  .hamburger-menu, .mobile-nav { display:none; }
   h1 { font-size:2.5rem; } h2 { font-size:2rem; } h3 { font-size:1.5rem; }
  .hero-section { padding:120px 20px 50px; } .hero-logo { max-width:300px; width:80%; }
  .services-section h2 { font-size: 2.2rem; font-weight: 700; }
  .services-section p { width: 70%; margin-left: auto; margin-right: auto; font-size: 1.2rem; }
  .services-grid {grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .service-card { display:flex; flex-direction:column; justify-content:space-between; }
  .service-card .cta-button { margin-top:auto; margin-bottom:20px; align-self:center; }
  .cta-section { padding:40px 20px; } .cta-section .text-box { padding:30px; }
  .cta-payment { font-size:1.5rem; } .cta-content h2 { font-size:2rem; } .cta-ownership { font-size:1.5rem; }
  .honest-statement { margin:0 auto 50px; }
  .narrative-title {font-weight: 700;color: var(--primary-color); text-align: center; margin-bottom: 40px; }
  .narrative-left p, .narrative-right p { font-size: 1rem; line-height: 1.6; font-weight: 500; color: var(--primary-color); text-align: left; }
  .footer-content { justify-content:center; flex-direction:row; width:100%; }
  .footer-columns { display:flex; flex-direction:row; align-items:flex-start; justify-content:center; gap:60px; } 
  .footer-column { min-width:150px; text-align:left; }
}
@media (min-width: 1025px) {
  .hero-section h1 { font-size: 2.8rem; }
  .hero-section h2 { font-size: 1.5rem; }
  .hero-section h3 { font-size: 1.2rem; }
  .hero-subheading { font-size: 1.5rem; }
  .hero-description { font-size: 1.2rem; }
  .demos-cta-section { margin-left: 40px; margin-right: 40px; padding: 100px 40px; }
  .demos-cta-group { flex-direction: row; gap: 40px; margin: 30px 0; }
  .services-section h2 { font-size: 2.2rem; font-weight: 700; }
  .services-section p { width: 70%; margin-left: auto; margin-right: auto; font-size: 1.3rem; }
  .services-grid {grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .service-icon { width: 100px; height: 100px; }
  .service-icon img { width: 101px; height: 101px; }
  .service-card h3 { font-size: 1.5rem; }
  .service-card h4 { font-size: 1.3rem; }
  .service-card p.service-description {  margin-left: 0; margin-right: 0; padding: 0; width: 100%; }
  .free-tools-section p { width: 70%; margin-left: auto; margin-right: auto; font-size: 1.2rem; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tool-card { display:flex; flex-direction:column; padding-left: 15px; padding-right: 15px; }
  .tool-card h3, .tool-card.tool-description { padding-left: 0px; padding-right: 0px; }
  .benefits-grid {grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: stretch; }
  .benefit-item{ display:flex; flex-direction:column; justify-content:flex-start; padding:20px; border-radius:var(--border-radius); box-shadow:var(--box-shadow); transition:var(--transition); }
  .benefit-item:hover { transform:translateY(-5px); box-shadow:0 10px 20px rgba(0,0,0,0.3); }
  .benefit-item h3 { color:var(--secondary-color); margin-bottom:15px; }
  .benefit-item p { color:var(--primary-color); margin-bottom:15px; font-weight:500; }
  .narrative-columns { padding: 60px 0; }
  .narrative-title { font-size: 2rem; margin-bottom: 40px; text-align: center; }
  .columns { flex-direction: row; gap: 60px; align-items: flex-start; }
  .narrative-left, .narrative-right { width: 50%; text-align: left; }
  .cta-payment, .cta-ownership, .cta-content h2 { font-size: 1.5rem; }
}
/* ================================================== */
/*            SILKTIDE COOKIE BANNER STYLES          */
#silktide-wrapper {
  /* Global */
  --focus: 0 0 0 2px var(--primary-color), 0 0 0 4px var(--secondary-color); /* Focus ring using brand colors */
  --boxShadow: 0 6px 15px rgba(0, 0, 0, 0.25);   /* A defined shadow that fits the dark theme */
  --fontFamily: "Poppins", "Segoe UI", Arial, sans-serif;
  /* Color Scheme - STALYTICS DARK THEME */
  --primaryColor: var(--secondary-color);           /* Gold for primary actions (buttons, toggles) */
  --backgroundColor: var(--primary-color);         /* Your primary navy blue for the background */
  --textColor: var(--light-text); 
  /* Backdrop */
  --backdropBackgroundColor: rgba(0, 20, 48, 0.6); /* Semi-transparent navy backdrop */
  --backdropBackgroundBlur: 5px; 
  /* Cookie Icon */
  --cookieIconColor: var(--primary-color);           /* Gold for the floating icon */
  --cookieIconBackgroundColor: var(--secondary-color);
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  pointer-events: none;
  border: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Backdrop (Global) */
#silktide-backdrop-global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  border: 0px;
  display: none;
}

/* --------------------------------
  Links
-------------------------------- */
#silktide-wrapper a {
  all: unset;
  display: inline-block;
  color: var(--primaryColor);
  text-decoration: underline;
}

#silktide-wrapper a:hover {
  cursor: pointer;
  color: var(--textColor);
}

/* --------------------------------
  Focus Styles
-------------------------------- */
#silktide-wrapper a:focus,
#silktide-wrapper #silktide-banner button:focus,
#silktide-wrapper #silktide-modal button:focus,
#silktide-wrapper #silktide-cookie-icon:focus {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 5px;
}

#silktide-wrapper #silktide-cookie-icon:focus {
  border-radius: 50%;
}

/* --------------------------------
  General Styles
-------------------------------- */

#silktide-wrapper .st-button {
  color: var(--backgroundColor);
  background-color: var(--primaryColor);
  border: 2px solid var(--primaryColor);
  padding: 10px 20px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  border-radius: 5px;
}


#silktide-wrapper .st-button--primary:hover {
  background-color: var(--backgroundColor);
  color: var(--primaryColor);
}

#silktide-wrapper .st-button--secondary {
  background-color: var(--backgroundColor);
  color: var(--primaryColor);
}

#silktide-wrapper .st-button--secondary:hover {
  background-color: var(--primaryColor);
  color: var(--backgroundColor);
}

/* --------------------------------
  Banner (Mobile-First Defaults) 
-------------------------------- */
#silktide-banner {
  font-family: var(--fontFamily);
  color: var(--textColor);
  background-color: var(--backgroundColor);
  box-sizing: border-box;
  padding: 32px;
  border-radius: 5px;
  pointer-events: auto;
  border: 0px;
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: calc(100% - 32px); /* Mobile-first: full width with padding */
  max-width: 600px; /* Max width for larger screens */
  transform: translate(0, -20px);
  opacity: 0;
  animation: silktide-slideInDown 350ms ease-out forwards;
  animation-delay: 0.3s;
  box-shadow: -5px 5px 10px 0px #00000012, 0px 0px 50px 0px #0000001a;
}

#silktide-banner:focus {
  border-radius: 50%;
}

#silktide-banner.center {
  top: 50%;
  left: 50%;
  bottom: auto;
  right: auto;
  position: fixed;
  transform: translate(-50%, calc(-50% - 20px));
  animation: silktide-slideInDown-center 350ms ease-out forwards;
}

#silktide-banner.bottomLeft {
  bottom: 16px;
  left: 16px;
  position: fixed;
}

#silktide-banner.bottomCenter {
  bottom: 16px;
  left: 50%;
  position: fixed;
  transform: translate(-50%, -20px);
  animation: silktide-slideInDown-bottomCenter 350ms ease-out forwards;
}

#silktide-banner .preferences {
  display: flex;
  gap: 5px;
  border: none;
  padding: 20px;
  background-color: transparent;
  color: var(--primaryColor);
  cursor: pointer;
  font-size: 16px;
}

#silktide-banner .preferences span {
  display: block;
  white-space: nowrap;
  text-decoration: underline;
}

#silktide-banner .preferences span:hover {
  color: var(--textColor);
}

#silktide-banner .preferences:after {
  display: block;
  content: ">";
  text-decoration: none;
}

#silktide-banner p {
  font-size: 16px;
  line-height: 24px;
  margin: 0px 0px 15px;
}

#silktide-banner a {
  display: inline-block;
  color: var(--primaryColor);
  text-decoration: underline;
  background-color: var(--backgroundColor);
}

#silktide-banner a:hover {
  color: var(--textColor);
}

#silktide-banner a.silktide-logo {
  display: block;
  fill: var(--primaryColor); /* passed down to svg > path */
  margin-left: auto;
  width: 24px;
  height: 24px;
}


#silktide-banner .actions {
  display: flex;
  gap: 16px;
  flex-direction: column;
  margin-top: 24px;
}

/* Modal (Mobile-First Defaults) */
#silktide-modal {
  display: none;
  pointer-events: auto;
  width: calc(100% - 32px); /* Mobile-first: full width with padding */
  max-width: 800px; /* Max width for larger screens */
  max-height: 100%;
  border: 0px;
  transform: translate(0px, -20px);
  opacity: 0;
  animation: silktide-slideInUp-center 350ms ease-out forwards;
  box-shadow: -5px 5px 10px 0px #00000012, 0px 0px 50px 0px #0000001a;
  font-family: var(--fontFamily);
  color: var(--textColor);
  flex-direction: column;
  padding: 30px;
  background-color: var(--backgroundColor);
  border-radius: 5px;
  box-sizing: border-box;
}

/* --------------------------------
  Modal - Header
-------------------------------- */
#silktide-modal header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}

#silktide-modal h1 {
  font-family: var(--fontFamily);
  color: var(--textColor);
  font-size: 24px;
  font-weight: 500;
  margin: 0px;
}

#silktide-modal .modal-close {
  display: inline-flex;
  border: none;
  padding: 10px;
  border: 0px;
  cursor: pointer;
  background: var(--backgroundColor);
  color: var(--primaryColor);
}

#silktide-modal .modal-close svg {
  fill: var(--primaryColor);
}

/* --------------------------------
  Modal - Content
-------------------------------- */

#silktide-modal section {
  flex: 1;
  overflow-y: auto;
  margin-top: 50px;
  padding-right: 7px; /* Prevents scrollbar from appearing over the switches */
}

#silktide-modal section::-webkit-scrollbar {
  display: block; /* Force scrollbars to show */
  width: 5px; /* Width of the scrollbar */
}

#silktide-modal section::-webkit-scrollbar-thumb {
  background-color: var(--textColor); /* Color of the scrollbar thumb */
  border-radius: 10px; /* Rounded corners for the thumb */
}

#silktide-modal p {
  font-size: 16px;
  line-height: 24px;
  color: var(--textColor);
  margin: 0px 0px 15px;
  padding-top:50px;
}

#silktide-modal p:last-of-type {
  margin: 0px;
}

#silktide-modal fieldset {
  padding: 0px;
  border: none;
  margin: 0px 0px 32px;
}

#silktide-modal fieldset:last-of-type {
  margin: 0px;
}

#silktide-modal legend {
  padding: 0px;
  margin: 0px 0px 10px;
  font-weight: 700;
  color: var(--textColor);
  font-size: 16px;
}

#silktide-modal .cookie-type-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

/* --------------------------------
  Modal - Switches
-------------------------------- */
#silktide-modal .switch {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  height: 34px;
  width: 74px;
  cursor: pointer;
}

#silktide-modal .switch:focus-within {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 25px;
}

#silktide-modal .switch input {
  opacity: 0;
  position: absolute;
}

/* --- CORRECTED SWITCH STYLES --- */

/* Unchecked Switch Styles */
#silktide-modal .switch__pill {
  position: relative;
  display: block;
  height: 34px;
  width: 74px;
  background: var(--textColor); /* This is the 'off' background color */
  border-radius: 25px;
  cursor: pointer; /* Add cursor to indicate it's clickable */
}

#silktide-modal .switch__dot {
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  height: 30px;
  width: 30px;
  background: var(--backgroundColor);
  border-radius: 50%;
  transition: left 150ms ease-out;
}

/* Base styles for BOTH 'on' and 'off' labels */
#silktide-modal .switch__on,
#silktide-modal .switch__off {
  position: absolute;
  top: 8px; /* Adjusted for better vertical centering */
  text-transform: uppercase;
  font-size: 14px; /* Slightly smaller to ensure fit */
  font-weight: 600; /* Bolder for visibility */
  color: var(--backgroundColor);
  transition: opacity 150ms ease-out; /* Only transition opacity */
}

/* Position 'ON' label on the LEFT */
#silktide-modal .switch__on {
  left: 11px;
  opacity: 0; /* Hidden by default */
}

/* Position 'OFF' label on the RIGHT */
#silktide-modal .switch__off {
  right: 8px;
  opacity: 1; /* Visible by default */
}

/* --- Checked State --- */
#silktide-modal .switch input:checked + .switch__pill {
  background: var(--primaryColor); /* This is the 'on' background color */
}

#silktide-modal .switch input:checked ~ .switch__dot {
  left: calc(100% - 32px); /* Move dot to the right */
}

/* When checked, HIDE the 'OFF' label */
#silktide-modal .switch input:checked ~ .switch__off {
  opacity: 0;
}

/* When checked, SHOW the 'ON' label */
#silktide-modal .switch input:checked ~ .switch__on {
  opacity: 1;
}

/* --- Disabled State (no changes needed here) --- */
#silktide-modal .switch input:disabled + .switch__pill {
  opacity: 0.65;
  cursor: not-allowed;
}


/* --------------------------------
  Modal - Footer
-------------------------------- */
#silktide-modal footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* Cookie Icon (Mobile-First Defaults) */
#silktide-cookie-icon {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 10px;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 0px;
  border: none;
  background-color: var(--cookieIconColor);
  cursor: pointer;
  box-shadow: 0px 0px 6px 0px #0000001a;
  pointer-events: auto;
  animation: silktide-fadeIn 0.3s ease-in-out forwards;
}

#silktide-cookie-icon.bottomRight {
  left: auto;
  right: 10px;
}

#silktide-cookie-icon svg {
  fill: var(--cookieIconBackgroundColor);
}

/* --------------------------------
  Backdrop
-------------------------------- */
#silktide-backdrop {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--backdropBackgroundColor);
  -webkit-backdrop-filter: blur(var(--backdropBackgroundBlur));
  backdrop-filter: blur(var(--backdropBackgroundBlur));
  pointer-events: all;
}

/* --------------------------------
  Animations
-------------------------------- */
@keyframes silktide-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes silktide-slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes silktide-slideInDown-center {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes silktide-slideInDown-bottomCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes silktide-slideInUp-center {
  from {
    opacity: 0;
    transform: translate(0px, 20px);
  }
  to {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}

/* Desktop and larger (min-width: 600px) */
@media (min-width: 600px) {
  #silktide-banner .actions {
    flex-direction: row;
    align-items: center;
  }

  #silktide-modal footer {
    flex-direction: row;
    align-items: center;
  }
}
