/* ==========================================================================
   PinTech Commerce - Kiniak.com Benchmark Theme
   Clean SaaS & Headless POS Platform Design
   ========================================================================== */

:root {
  --primary: #377DFF;
  --primary-hover: #2365e8;
  --primary-soft: rgba(55, 125, 255, 0.1);
  --primary-soft-hover: rgba(55, 125, 255, 0.18);
  --secondary: #77838F;
  --success: #00C9A7;
  --success-soft: rgba(0, 201, 167, 0.12);
  --warning: #FFC107;
  --warning-soft: rgba(255, 193, 7, 0.15);
  --danger: #DE4437;
  --navy: #132144;
  --navy-dark: #0C1A30;
  --dark: #1E2022;
  --body-color: #677788;
  --body-bg: #FFFFFF;
  --light-bg: #F8FAFD;
  --card-border: #E7EAF3;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(19, 33, 68, 0.04);
  --shadow-md: 0 10px 30px rgba(19, 33, 68, 0.08);
  --shadow-lg: 0 20px 45px rgba(19, 33, 68, 0.12);
  --transition: all 0.25s ease-in-out;
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--body-color);
  background-color: var(--body-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.15rem; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Spacers */
.space-1 { padding-top: 2rem; padding-bottom: 2rem; }
.space-2 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.space-3 { padding-top: 6.5rem; padding-bottom: 6.5rem; }
.space-top-1 { padding-top: 2rem; }
.space-top-2 { padding-top: 4.5rem; }
.space-top-3 { padding-top: 6.5rem; }
.space-bottom-1 { padding-bottom: 2rem; }
.space-bottom-2 { padding-bottom: 4.5rem; }
.space-bottom-3 { padding-bottom: 6.5rem; }

/* Grid Layout Helper */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.9375rem;
  margin-left: -0.9375rem;
}
[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 0.9375rem;
  padding-left: 0.9375rem;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-dark { color: var(--dark) !important; }
.text-muted { color: var(--secondary) !important; }
.text-white { color: #FFFFFF !important; }
.text-white-70 { color: rgba(255, 255, 255, 0.7) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

.font-weight-normal { font-weight: 400 !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-semi-bold { font-weight: 600 !important; }
.lead { font-size: 1.25rem; font-weight: 400; color: #526071; line-height: 1.6; }
.small { font-size: 0.875rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  gap: 0.5rem;
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(55, 125, 255, 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(55, 125, 255, 0.35);
}
.btn-soft-primary {
  background-color: var(--primary-soft);
  color: var(--primary);
}
.btn-soft-primary:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}
.btn-white {
  background-color: #FFFFFF;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background-color: #F8FAFD;
  color: var(--primary);
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.35em 0.75em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50rem;
}
.badge-primary {
  color: #FFFFFF;
  background-color: var(--primary);
}
.badge-soft-primary {
  color: var(--primary);
  background-color: var(--primary-soft);
}
.badge-soft-success {
  color: var(--success);
  background-color: var(--success-soft);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231, 234, 243, 0.7);
  padding: 0.85rem 0;
}
.header.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(19, 33, 68, 0.08);
  border-bottom-color: transparent;
  padding: 0.65rem 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
}
.navbar-brand img {
  height: 38px;
  width: auto;
}
.navbar-nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle */
.navbar-toggler {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--dark);
}
.navbar-toggler svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%);
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50rem;
  margin-bottom: 1.5rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-tablet-mockup {
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  padding: 1.25rem;
  position: relative;
}
.floating-badge {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  box-shadow: 0 10px 25px rgba(19, 33, 68, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--card-border);
  animation: float 4s ease-in-out infinite;
}
.floating-badge-1 {
  top: -20px;
  right: -10px;
  animation-delay: 0s;
}
.floating-badge-2 {
  bottom: -20px;
  left: -10px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Wave Divider */
.svg-wave-bottom {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.svg-wave-bottom svg {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
}

/* Clients / Partners Section */
.clients-section {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 2.25rem 0;
  background: #FFFFFF;
}
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.client-logo {
  opacity: 0.7;
  transition: var(--transition);
  max-height: 34px;
  display: flex;
  align-items: center;
}
.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Feature Circles / Graphic */
.graphic-circles-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 420px;
  margin: 0 auto;
}
.circle-item {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
}
.circle-item:hover {
  transform: scale(1.05);
}
.circle-1 {
  top: 10px;
  right: 20px;
  width: 170px;
  height: 170px;
  background: #EAF2FF;
}
.circle-2 {
  top: 110px;
  left: 10px;
  width: 210px;
  height: 210px;
  background: #F1F9F6;
}
.circle-3 {
  bottom: 10px;
  right: 40px;
  width: 180px;
  height: 180px;
  background: #FFF9E6;
}
.circle-accent-dot {
  position: absolute;
  border-radius: 50%;
}

/* Step list */
.step-list {
  list-style: none;
  position: relative;
  padding-left: 0;
}
.step-item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.step-item:last-child {
  margin-bottom: 0;
}
.step-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.step-content h3, .step-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

/* Interactive Code Terminal */
.code-terminal {
  background-color: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  position: relative;
}
.code-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.code-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.code-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.code-tab-btn.active, .code-tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}
.code-body {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  overflow-x: auto;
}
.code-line { margin-bottom: 0.5rem; }
.code-comment { color: #64748B; font-style: italic; }
.code-keyword { color: #F43F5E; font-weight: 600; }
.code-string { color: #10B981; }
.code-var { color: #38BDF8; }
.code-func { color: #FBBF24; }

/* Testimonials / Quote Card */
.quote-card {
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  position: relative;
  border: 1px solid var(--card-border);
}
.quote-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.quote-text {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.quote-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.stat-highlight {
  border-left: 2px solid var(--card-border);
  padding-left: 2rem;
}
@media (max-width: 991px) {
  .stat-highlight {
    border-left: none;
    border-top: 2px solid var(--card-border);
    padding-left: 0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}
.stat-big-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Stats Circular Progress Grid */
.stats-circle-box {
  text-align: center;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stats-circle-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.circle-progress-svg {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  display: block;
}
.circle-progress-bg {
  fill: none;
  stroke: #F1F4F8;
  stroke-width: 8;
}
.circle-progress-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.circle-progress-text {
  font-size: 1.6rem;
  font-weight: 700;
  fill: var(--dark);
  dominant-baseline: middle;
  text-anchor: middle;
}
.stats-circle-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.stats-circle-sub {
  font-size: 0.85rem;
  color: var(--secondary);
}

/* Solutions Cards */
.solution-card {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(55, 125, 255, 0.4);
}
.solution-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.solution-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.solution-card p {
  color: var(--body-color);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Feature Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.check-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--success);
  margin-top: 2px;
}

/* Contact Section & Form */
.contact-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1.15rem;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--dark);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(55, 125, 255, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
  font-size: 0.95rem;
}
.form-feedback.success {
  display: block;
  background-color: var(--success-soft);
  color: #036c59;
  border: 1px solid rgba(0, 201, 167, 0.3);
}
.form-feedback.error {
  display: block;
  background-color: rgba(222, 68, 55, 0.1);
  color: var(--danger);
  border: 1px solid rgba(222, 68, 55, 0.3);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* Call to Action Box */
.cta-banner {
  background: linear-gradient(135deg, #132144 0%, #1E3A8A 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
}

/* Legal Page Styles */
.legal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.4rem;
}
.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.legal-content li {
  margin-bottom: 0.4rem;
}

/* Footer */
.footer {
  background-color: var(--navy);
  color: #FFFFFF;
  padding-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
}
.footer-logo {
  height: 38px;
  margin-bottom: 1.5rem;
}
.footer h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}
.footer-contact-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 3px;
}
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(19, 33, 68, 0.2);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease;
}
.cookie-banner.show {
  display: block;
}
@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.cookie-banner p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 990;
  cursor: pointer;
  border: none;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 991px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .navbar-toggler { display: block; }
  .navbar-collapse {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    display: none;
    flex-direction: column;
    gap: 1rem;
  }
  .navbar-collapse.show {
    display: flex;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 0.5rem 0;
  }
  .navbar-actions {
    width: 100%;
    flex-direction: column;
  }
  .navbar-actions .btn {
    width: 100%;
  }
  .hero-section {
    padding-top: 7rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
