/* VaultSandbox - Main Stylesheet
   Version: 1.0
   Last Updated: 2026-01-21
   Framework: Custom CSS
*/

/* =========================================
   Table of Contents:
   1. CSS Reset & Base Styles
   2. Typography
   3. Layout & Grid
   4. Header & Navigation
   5. Footer
   6. Buttons & CTAs
   7. Forms & Inputs
   8. Hero Section
   9. Cards & Containers
   10. Features Section
   11. Parallax Effects
   12. Animations
   13. Cookie Consent
   14. Modal Dialog
   15. API Documentation
   16. Responsive Styles
   17. Utility Classes
   18. Dark Mode
   19. Accessibility
   20. Print Styles
========================================= */

/* =========================================
   1. CSS Reset & Base Styles
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1A5F7A;
  --primary-light: #3D8BA9;
  --primary-dark: #124456;
  --secondary: #FFFFFF;
  --accent: #FF6B35;
  --accent-light: #FF8C61;
  --accent-dark: #E05A2B;
  --background: #F8F9FA;
  --text: #212529;
  --text-light: #6C757D;
  --border: #E9ECEF;
  --success: #28A745;
  --error: #DC3545;
  --warning: #FFC107;
  --info: #17A2B8;
  
  --header-height: 80px;
  --footer-height: 300px;
  --container-max-width: 1200px;
  --border-radius: 4px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  --font-primary: 'Roboto', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

ul, ol {
  list-style-position: inside;
}

/* =========================================
   2. Typography
========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

h1 {
  font-size: 4rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 3.2rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 2.6rem;
}

h4 {
  font-size: 2.2rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.text-light {
  color: var(--text-light);
}

.text-white {
  color: var(--secondary);
}

.text-success {
  color: var(--success);
}

.text-error {
  color: var(--error);
}

.text-small {
  font-size: 1.4rem;
}

.text-large {
  font-size: 1.8rem;
}

.text-uppercase {
  text-transform: uppercase;
}

.font-weight-light {
  font-weight: 300;
}

.font-weight-normal {
  font-weight: 400;
}

.font-weight-medium {
  font-weight: 500;
}

.font-weight-bold {
  font-weight: 700;
}

.lead {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 2rem;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 2rem;
  font-style: italic;
}

code {
  font-family: monospace;
  background-color: var(--border);
  padding: 0.2rem 0.4rem;
  border-radius: var(--border-radius);
  font-size: 0.9em;
}

/* =========================================
   3. Layout & Grid
========================================= */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-fluid {
  width: 100%;
  padding: 0 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1.5rem;
}

.col {
  flex: 1 0 0%;
  padding: 0 1.5rem;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 1.5rem;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 1.5rem;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 1.5rem;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 1.5rem;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0;
}

.section-sm {
  padding: 4rem 0;
}

.section-lg {
  padding: 12rem 0;
}

.section-title {
  margin-bottom: 5rem;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-around {
  justify-content: space-around;
}

.align-items-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.gap-4 {
  gap: 4rem;
}

.gap-5 {
  gap: 5rem;
}

.m-0 {
  margin: 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-2 {
  margin-left: 2rem;
}

.mr-1 {
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 2rem;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 2rem;
}

.p-3 {
  padding: 3rem;
}

.p-4 {
  padding: 4rem;
}

.p-5 {
  padding: 5rem;
}

.pt-1 {
  padding-top: 1rem;
}

.pt-2 {
  padding-top: 2rem;
}

.pt-3 {
  padding-top: 3rem;
}

.pt-4 {
  padding-top: 4rem;
}

.pt-5 {
  padding-top: 5rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pb-2 {
  padding-bottom: 2rem;
}

.pb-3 {
  padding-bottom: 3rem;
}

.pb-4 {
  padding-bottom: 4rem;
}

.pb-5 {
  padding-bottom: 5rem;
}

.pl-1 {
  padding-left: 1rem;
}

.pl-2 {
  padding-left: 2rem;
}

.pr-1 {
  padding-right: 1rem;
}

.pr-2 {
  padding-right: 2rem;
}

/* =========================================
   4. Header & Navigation
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
  height: var(--header-height);
}

.header-scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  margin-left: 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 1.5rem;
}

.nav-link {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

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

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

.nav-cta {
  margin-left: 2rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  margin-left: 2rem;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all var(--transition-fast);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  top: 18px;
}

.hamburger.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

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

.hamburger.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

/* =========================================
   5. Footer
========================================= */
.footer {
  background-color: var(--primary-dark);
  color: var(--secondary);
  padding: 6rem 0 3rem;
  margin-top: auto;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 35px;
  width: auto;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-links-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--secondary);
  text-decoration: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.footer-contact-icon {
  margin-right: 1rem;
  color: var(--accent);
  font-size: 1.8rem;
}

.footer-contact-text {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
}

.footer-legal {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-item {
  margin-left: 2rem;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--secondary);
  text-decoration: none;
}

/* =========================================
   6. Buttons & CTAs
========================================= */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 1rem 2.5rem;
  font-size: 1.6rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover, 
.btn:focus {
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.btn-primary:hover, 
.btn-primary:focus {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--secondary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover, 
.btn-secondary:focus {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
}

.btn-accent:hover, 
.btn-accent:focus {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--secondary);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover, 
.btn-outline:focus {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-white:hover, 
.btn-outline-white:focus {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 1.8rem;
}

.btn-sm {
  padding: 0.8rem 1.8rem;
  font-size: 1.4rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* =========================================
   7. Forms & Inputs
========================================= */
.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--secondary);
  background-clip: padding-box;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-light);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(26, 95, 122, 0.25);
}

textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.form-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.4rem;
  color: var(--text-light);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 1rem;
  width: 1.8rem;
  height: 1.8rem;
}

.form-check-label {
  font-size: 1.5rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.form-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 1rem;
}

.form-col-full {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 1rem;
}

.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group .form-control {
  flex: 1 1 auto;
  width: 1%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-append {
  display: flex;
  margin-left: -1px;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
}

.input-group-append .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1.4rem;
  color: var(--error);
}

.is-invalid .form-control {
  border-color: var(--error);
}

.is-invalid .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.is-invalid .invalid-feedback {
  display: block;
}

.form-success-message {
  padding: 2rem;
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid var(--success);
  border-radius: var(--border-radius);
  color: var(--success);
  margin-bottom: 2rem;
}

.contact-form {
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  color: var(--text);
}

/* intl-tel-input specific styles */
.iti {
  width: 100%;
}

.iti__flag-container {
  height: 100%;
}

/* =========================================
   8. Hero Section
========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  color: var(--secondary);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 3rem;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 45%;
  z-index: 1;
}

/* =========================================
   9. Cards & Containers
========================================= */
.card {
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: fit-content;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 2.5rem;
}

.card-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.card-text {
  color: var(--text);
  margin-bottom: 2rem;
}

.card-footer {
  padding: 1.5rem 2.5rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid var(--border);
}

.feature-card {
  padding: 3rem;
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3.6rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.feature-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.feature-text {
  flex-grow: 1;
}

.pricing-card {
  text-align: center;
  padding: 4rem 3rem;
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 0.5rem 3rem;
  transform: rotate(45deg) translateX(3rem) translateY(-1rem);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary);
}

.pricing-duration {
  font-size: 1.6rem;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 3rem 0;
  text-align: left;
}

.pricing-feature {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-feature:last-child {
  border-bottom: none;
}

.pricing-feature i {
  margin-right: 1rem;
  color: var(--success);
}

.pricing-feature.disabled {
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-feature.disabled i {
  color: var(--text-light);
}

/* =========================================
   10. Features Section
========================================= */
.features-section {
  padding: 8rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.feature-item-icon {
  font-size: 2.4rem;
  color: var(--primary);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature-item-content {
  flex: 1;
}

.feature-item-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-item-text {
  color: var(--text);
}

.feature-image {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* =========================================
   11. Parallax Effects
========================================= */
.parallax-section {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: transform 0.1s ease-out;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.parallax-content {
  color: var(--secondary);
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
}

.parallax-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--secondary);
}

.parallax-text {
  font-size: 2rem;
  margin-bottom: 3rem;
}

/* =========================================
   12. Animations
========================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

.slide-up {
  animation: slideInUp 1s ease-out;
}

.slide-left {
  animation: slideInLeft 1s ease-out;
}

.slide-right {
  animation: slideInRight 1s ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   13. Cookie Consent
========================================= */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-consent.active {
  display: block;
  animation: slideInUp 0.5s ease-out forwards;
}

.cookie-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cookie-text {
  margin-bottom: 2rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-settings-btn {
  margin-right: 1rem;
}

.cookie-settings-panel {
  display: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.cookie-settings-panel.active {
  display: block;
}

.cookie-category {
  margin-bottom: 2rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  font-size: 1.8rem;
  font-weight: 500;
}

.cookie-category-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-category-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 30px;
}

.cookie-category-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-category-slider {
  background-color: var(--primary);
}

input:focus + .cookie-category-slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .cookie-category-slider:before {
  transform: translateX(30px);
}

.cookie-category-description {
  font-size: 1.4rem;
  color: var(--text-light);
}

.cookie-settings-link {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: var(--secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all var(--transition-normal);
}

.cookie-settings-link:hover {
  background-color: var(--primary-light);
  transform: scale(1.1);
  color: var(--secondary);
  text-decoration: none;
}

.cookie-settings-icon {
  font-size: 2rem;
}

/* =========================================
   14. Modal Dialog
========================================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 100%;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

.modal.active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

.modal-body {
  margin-bottom: 2rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* =========================================
   15. API Documentation
========================================= */
.api-section {
  background-color: var(--background);
  padding: 8rem 0;
}

.api-container {
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 3rem;
}

.api-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.api-tab {
  padding: 1rem 2rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.api-tab:hover {
  color: var(--primary);
}

.api-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.api-content {
  display: none;
}

.api-content.active {
  display: block;
}

.code-block {
  background-color: #282c34;
  color: #abb2bf;
  padding: 2rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin-bottom: 2rem;
  font-family: monospace;
}

.code-line {
  display: block;
  line-height: 1.6;
}

.code-comment {
  color: #5c6370;
}

.code-keyword {
  color: #c678dd;
}

.code-string {
  color: #98c379;
}

.code-number {
  color: #d19a66;
}

.code-function {
  color: #61afef;
}

.api-endpoint {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.api-endpoint:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.api-endpoint-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.api-method {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  text-transform: uppercase;
}

.api-method-get {
  background-color: #61affe;
  color: var(--secondary);
}

.api-method-post {
  background-color: #49cc90;
  color: var(--secondary);
}

.api-method-put {
  background-color: #fca130;
  color: var(--secondary);
}

.api-method-delete {
  background-color: #f93e3e;
  color: var(--secondary);
}

.api-path {
  font-family: monospace;
  font-size: 1.6rem;
}

.api-description {
  margin-bottom: 2rem;
}

.api-params-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.api-table th,
.api-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.api-table th {
  font-weight: 700;
  background-color: var(--background);
}

.param-name {
  font-family: monospace;
  font-weight: 700;
}

.param-type {
  color: var(--primary);
  font-family: monospace;
}

.param-required {
  color: var(--error);
  font-size: 1.2rem;
  font-weight: 700;
}

.param-optional {
  color: var(--text-light);
  font-size: 1.2rem;
}

/* =========================================
   16. Responsive Styles
========================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  html {
    font-size: 58%;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
  
  .hero-image {
    max-width: 40%;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  html {
    font-size: 56%;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background-color: var(--secondary);
    flex-direction: column;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: left var(--transition-normal);
    overflow-y: auto;
  }
  
  .nav-list.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1.5rem 0;
  }
  
  .nav-cta {
    margin-left: 0;
    margin-top: 2rem;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .hero {
    text-align: center;
    padding-top: calc(var(--header-height) + 3rem);
    height: auto;
    min-height: 500px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    max-width: 80%;
    margin: 4rem auto 0;
    display: none;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    margin-bottom: 3rem;
  }
  
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card,
  .pricing-card {
    margin-bottom: 3rem;
  }
  
  .row {
    margin-bottom: -3rem;
  }
  
  .footer-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-legal-item {
    margin-left: 0;
  }
  
  .parallax-section {
    height: 400px;
  }
  
  .parallax-title {
    font-size: 3rem;
  }
  
  .parallax-text {
    font-size: 1.8rem;
  }
  
  .form-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-group .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .cookie-consent {
    left: 1rem;
    right: 1rem;
    padding: 1.5rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .cookie-settings-btn {
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  html {
    font-size: 54%;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .card-body {
    padding: 2rem;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .parallax-section {
    height: 350px;
  }
  
  .modal-dialog {
    padding: 2rem;
    margin: 0 1.5rem;
  }
  
  .api-tabs {
    flex-wrap: wrap;
  }
  
  .api-tab {
    flex: 0 0 50%;
    text-align: center;
    padding: 1rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* =========================================
   17. Utility Classes
========================================= */
.bg-primary {
  background-color: var(--primary);
  color: var(--secondary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-accent {
  background-color: var(--accent);
  color: var(--secondary);
}

.bg-light {
  background-color: var(--background);
}

.bg-dark {
  background-color: var(--text);
  color: var(--secondary);
}

.text-nowrap {
  white-space: nowrap;
}

.rounded {
  border-radius: var(--border-radius);
}

.shadow {
  box-shadow: var(--box-shadow);
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.overflow-hidden {
  overflow: hidden;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================
   18. Dark Mode
========================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #121212;
    --secondary: #1e1e1e;
    --text: #e0e0e0;
    --text-light: #a0a0a0;
    --border: #333333;
  }
  
  .card,
  .feature-card,
  .pricing-card,
  .contact-form,
  .api-container,
  .modal-dialog,
  .cookie-consent {
    background-color: #1e1e1e;
  }
  
  .header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .form-control {
    background-color: #2d2d2d;
    border-color: #444444;
    color: var(--text);
  }
  
  .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(26, 95, 122, 0.5);
  }
  
  .api-table th {
    background-color: #2d2d2d;
  }
  
  .code-block {
    background-color: #1a1a1a;
  }
}

/* =========================================
   19. Accessibility
========================================= */
:focus {
  outline: 3px solid rgba(26, 95, 122, 0.5);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 8px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================
   20. Print Styles
========================================= */
@media print {
  body {
    background-color: #fff;
    color: #000;
    font-size: 12pt;
  }
  
  .header,
  .footer,
  .cookie-consent,
  .cookie-settings-link,
  .parallax-section,
  .hero-cta,
  .nav-cta,
  .form-group,
  .btn {
    display: none;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  
  .card,
  .feature-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}