/* ============================================
   CySec - Main Stylesheet
   Liquid Glass Design (background & colors unchanged)
   ============================================ */

:root {
  color-scheme: dark;
  /* Core palette */
  --bg0: #050505;
  --bg1: #050505;
  --bg2: #120003;

  --red: #c4161c;
  --red2: #e11d2e;

  --text: #f3f5ff;
  --muted: rgba(243, 245, 255, .72);

  /* Liquid glass surfaces (frosted, fluid) */
  --glass0: rgba(8, 10, 16, .68);
  --glass1: rgba(12, 14, 22, .74);
  --glass2: rgba(16, 18, 28, .80);

  --stroke0: rgba(255, 255, 255, .10);
  --stroke1: rgba(255, 255, 255, .16);
  --stroke2: rgba(255, 255, 255, .22);

  /* Liquid glass: soft edge highlight (light refraction) */
  --glass-edge: rgba(255, 255, 255, .22);
  --glass-edge-soft: rgba(255, 255, 255, .08);

  --shadow0: 0 12px 40px rgba(0, 0, 0, .65), 0 2px 8px rgba(0, 0, 0, .4);
  --shadow1: 0 20px 70px rgba(0, 0, 0, .75), 0 4px 12px rgba(0, 0, 0, .5);
  /* Liquid glass: softer layered shadow */
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .35), inset 0 1px 0 var(--glass-edge-soft);
  --glass-shadow-hover: 0 16px 48px rgba(0, 0, 0, .55), 0 4px 16px rgba(0, 0, 0, .4), inset 0 1px 0 var(--glass-edge-soft);

  /* Border radius */
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;

  /* Easing */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.4, 0, .2, 1);

  /* Timing */
  --t-fast: 160ms;
  --t-med: 260ms;
  --t-slow: 520ms;

  /* Blur */
  --blur-md: 20px;
  --blur-lg: 28px;
  --blur-xl: 36px;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Layout */
  --header-height: 68px;
  --container-max: 1280px;
  --container-padding: 20px;
  --section-padding-desktop: 72px;
  --section-padding-mobile: 48px;

  /* Glass tokens (liquid glass) */
  --glass-bg: var(--glass1);
  --glass-border: var(--stroke0);
  --glass-blur: var(--blur-md);
  --glow: 0 0 40px rgba(196, 22, 28, 0.15);
  --radius: var(--r-md);

  /* Legacy compatibility */
  --color-bg: var(--bg0);
  --color-bg-secondary: var(--bg1);
  --color-primary: var(--red);
  --color-primary-hover: var(--red2);
  --color-text: var(--text);
  --color-text-muted: var(--muted);
  --color-border: var(--stroke0);
  --color-glass: var(--glass1);
  --border-radius: var(--r-md);
  --transition: all var(--t-med) var(--ease);
}

/* ============================================
   Reset & Base
   ============================================ */

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text", Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(196, 22, 28, .35), transparent 60%),
    radial-gradient(900px 700px at 90% 20%, rgba(255, 255, 255, .08), transparent 55%),
    linear-gradient(135deg, var(--bg0), var(--bg2));
  background-attachment: fixed;
  background-size: 100% 100%;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

main {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 200px);
  padding-top: var(--header-height);
  padding-bottom: var(--spacing-lg);
}

section {
  padding: var(--section-padding-desktop) 0;
}

/* Universal page header (all pages except Home) */
.page-hero {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}
.page-hero .section-title {
  margin-bottom: var(--spacing-sm);
}
.page-hero .section-subtitle {
  margin-bottom: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Background Layers
   ============================================ */

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  filter: blur(34px) saturate(1.2);
  opacity: .95;
}

.blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(196, 22, 28, .75), rgba(196, 22, 28, .08) 60%, transparent 70%);
  mix-blend-mode: screen;
  animation: float1 14s ease-in-out infinite;
}

.blob.b2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05) 55%, transparent 70%);
  animation: float2 18s ease-in-out infinite;
  mix-blend-mode: overlay;
}

.blob.b3 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 30% 30%, rgba(196, 22, 28, .55), rgba(255, 255, 255, .06) 55%, transparent 72%);
  animation: float3 16s ease-in-out infinite;
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  background-repeat: repeat;
  background-position: 0 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(var(--blur-lg)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(140%);
  background: linear-gradient(165deg, rgba(10, 12, 18, .75) 0%, rgba(8, 10, 16, .65) 50%, rgba(6, 8, 12, .5) 100%);
  border-bottom: 1px solid var(--stroke0);
  border-top: 1px solid var(--glass-edge-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35), inset 0 1px 0 var(--glass-edge-soft);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

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

nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  color: rgba(243, 245, 255, .86);
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  font-weight: 500;
}

nav a:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateY(-1px);
}

/* Language switcher - dropdown */
.lang-switcher {
  display: inline-block;
}

.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: linear-gradient(165deg, rgba(16, 18, 26, .6) 0%, rgba(10, 12, 18, .5) 100%);
  border: 1px solid var(--stroke0);
  border-top: 1px solid var(--glass-edge-soft);
  border-radius: 14px;
  color: rgba(243, 245, 255, .95);
  padding: 8px 32px 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(var(--blur-md)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(120%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3), inset 0 1px 0 var(--glass-edge-soft);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(243,245,255,.8)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.lang-switcher select:hover {
  background-color: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.lang-switcher select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(196, 22, 28, .25);
}

.lang-switcher select option {
  background: var(--bg-dark);
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--stroke0);
  border-top: 1px solid var(--glass-edge-soft);
  background: linear-gradient(165deg, rgba(18, 20, 28, .55) 0%, rgba(12, 14, 20, .45) 100%);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 1.5rem;
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25), inset 0 1px 0 var(--glass-edge-soft);
}

/* Mobile Menu - liquid glass panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(165deg, rgba(8, 10, 16, .92) 0%, rgba(6, 8, 12, .88) 100%);
  backdrop-filter: blur(var(--blur-xl)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--blur-xl)) saturate(120%);
  border-left: 1px solid var(--stroke0);
  box-shadow: -8px 0 32px rgba(0, 0, 0, .5), inset 1px 0 0 var(--glass-edge-soft);
  z-index: 2000;
  padding: var(--spacing-lg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: rgba(220, 38, 38, .2);
  color: var(--red);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-menu a {
  font-size: 1.25rem;
  padding: var(--spacing-sm);
  display: block;
  border-bottom: 1px solid var(--stroke0);
}

/* Save Contact Button - Mobile Only */
.mobile-menu .save-contact-btn {
  background: rgba(196, 22, 28, 0.15);
  border-left: 3px solid var(--red);
  color: var(--red);
  font-weight: 600;
  margin-top: var(--spacing-md);
  transition: all 0.3s ease;
}

.mobile-menu .save-contact-btn:hover {
  background: rgba(196, 22, 28, 0.25);
  padding-left: calc(var(--spacing-sm) + 4px);
}

/* Hide save-contact-btn if it appears in desktop menu */
header nav .save-contact-btn {
  display: none !important;
}

.mobile-menu .lang-switcher {
  margin-top: var(--spacing-lg);
  justify-content: center;
  align-self: center;
}

/* ============================================
   Liquid Glass Components
   ============================================ */

.glass-card,
.glass {
  position: relative;
  background:
    linear-gradient(165deg,
      rgba(22, 24, 36, .82) 0%,
      rgba(14, 16, 26, .76) 45%,
      rgba(10, 12, 20, .72) 100%);
  border: 1px solid var(--stroke0);
  border-top: 1px solid var(--glass-edge);
  border-left: 1px solid var(--glass-edge-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--blur-xl)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-xl)) saturate(160%);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}

/* Liquid glass: soft edge highlight (light refraction) */
.glass-card::before,
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, .12) 0%,
      rgba(255, 255, 255, .04) 15%,
      transparent 40%),
    linear-gradient(90deg,
      rgba(255, 255, 255, .04) 0%,
      transparent 18%);
  opacity: .85;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover,
.glass:hover {
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow-hover);
  border-top-color: var(--stroke2);
}

.glass-strong {
  background:
    linear-gradient(165deg,
      rgba(26, 30, 44, .88) 0%,
      rgba(18, 22, 34, .82) 45%,
      rgba(14, 16, 26, .78) 100%);
  border-color: var(--stroke1);
  border-top-color: var(--glass-edge);
  box-shadow: var(--glass-shadow-hover);
  backdrop-filter: blur(var(--blur-xl)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-xl)) saturate(180%);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: .2px;
  transition: transform var(--t-fast) var(--ease), filter var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  user-select: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(225, 29, 46, .92), rgba(255, 59, 59, .70));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
}

.btn-secondary {
  background: linear-gradient(165deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .04) 100%);
  color: rgba(243, 245, 255, .92);
  border: 1px solid var(--stroke0);
  border-top: 1px solid var(--glass-edge-soft);
  backdrop-filter: blur(var(--blur-md)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(120%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25), inset 0 1px 0 var(--glass-edge-soft);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0px) scale(.99);
  filter: brightness(.98);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--spacing-sm);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

/* Solutions page: boxed category layout */
.solutions-list {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  box-sizing: border-box;
}
.solutions-category-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
.solutions-category-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--red);
  text-align: left;
}
.solutions-box {
  padding: var(--spacing-lg);
  box-sizing: border-box;
}
.solutions-box .solutions-category {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  margin-left: 0;
  margin-right: 0;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
}
.solutions-box ul {
  margin: 0;
  padding-left: 1.25rem;
  text-align: left;
}
.solutions-box li {
  margin-bottom: 0.35em;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: var(--spacing-lg);
  font-size: 1.125rem;
}

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

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

/* About page: text alignment in content boxes */
.about-section .about-card {
  text-align: left;
  padding: var(--spacing-lg);
}
.about-section .about-card > * {
  position: relative;
  z-index: 2;
}
.about-section .about-card h2 {
  text-align: left;
  margin-top: 0;
}
.about-section .about-card p {
  text-indent: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}
.about-section .about-card ul {
  text-align: left;
  padding-left: 1.25rem;
  margin: 0 0 var(--spacing-md);
}
.about-section .about-card ul li {
  margin-bottom: 0.35em;
  text-align: left;
}

/* Privacy Policy page: text alignment in content box */
.privacy-section .privacy-card {
  text-align: left;
  padding: var(--spacing-lg);
}
.privacy-section .privacy-card > * {
  position: relative;
  z-index: 2;
}
.privacy-section .privacy-card h2 {
  text-align: left;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}
.privacy-section .privacy-card h2:first-child {
  margin-top: 0;
}
.privacy-section .privacy-card p {
  text-indent: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}
.privacy-section .privacy-card ul {
  text-align: left;
  padding-left: 1.25rem;
  margin: 0 0 var(--spacing-md);
}
.privacy-section .privacy-card ul li {
  margin-bottom: 0.35em;
  text-align: left;
}

/* Terms of Service page: text alignment in content box */
.terms-section .terms-card {
  text-align: left;
  padding: var(--spacing-lg);
}
.terms-section .terms-card > * {
  position: relative;
  z-index: 2;
}
.terms-section .terms-card h2 {
  text-align: left;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}
.terms-section .terms-card h2:first-child {
  margin-top: 0;
}
.terms-section .terms-card p {
  text-indent: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}
.terms-section .terms-card ul {
  text-align: left;
  padding-left: 1.25rem;
  margin: 0 0 var(--spacing-md);
}
.terms-section .terms-card ul li {
  margin-bottom: 0.35em;
  text-align: left;
}

/* Cookie Policy page: text alignment in content box */
.cookies-section .cookies-card {
  text-align: left;
  padding: var(--spacing-lg);
}
.cookies-section .cookies-card > * {
  position: relative;
  z-index: 2;
}
.cookies-section .cookies-card h2 {
  text-align: left;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}
.cookies-section .cookies-card h2:first-child {
  margin-top: 0;
}
.cookies-section .cookies-card h3 {
  text-align: left;
  margin-top: 1em;
  margin-bottom: 0.35em;
}
.cookies-section .cookies-card p {
  text-indent: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}
.cookies-section .cookies-card ul {
  text-align: left;
  padding-left: 1.25rem;
  margin: 0 0 var(--spacing-md);
}
.cookies-section .cookies-card ul li {
  margin-bottom: 0.35em;
  text-align: left;
}

/* Contact page: 2 boxes in one row, aligned */
.contact-section .grid.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  width: 100%;
}

.contact-section .contact-card {
  text-align: left;
  padding: var(--spacing-lg);
  width: 100%;
  min-width: 0;
}
.contact-section .contact-card > * {
  position: relative;
  z-index: 2;
}
.contact-section .contact-card h2 {
  text-align: left;
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}
.contact-section .contact-card h2:not(:first-child) {
  margin-top: var(--spacing-md);
}
.contact-section .contact-card p {
  text-indent: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}
.contact-section .contact-card a {
  color: var(--primary, #0ea5e9);
  text-decoration: none;
}
.contact-section .contact-card a:hover {
  text-decoration: underline;
}
.contact-section .contact-map {
  margin-top: var(--spacing-md);
  width: 100%;
  height: 300px;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.contact-section .contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--r-md);
  display: block;
}

.pricing-intro {
  text-align: left;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-grid .pricing-card {
  align-self: stretch;
  min-height: 100%;
}

.pricing-card {
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: var(--spacing-lg);
}
.pricing-card p {
  text-indent: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.pricing-card .pricing-subtitle,
.pricing-card .pricing-desc {
  color: var(--muted);
  font-size: 0.95em;
}
.pricing-card .pricing-includes {
  font-weight: 600;
  margin: var(--spacing-sm) 0 var(--spacing-xs);
}
.pricing-card > * {
  position: relative;
  z-index: 2;
}
.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 var(--spacing-md);
}
.pricing-card ul li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.35em;
  text-align: left;
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary, #0ea5e9);
  z-index: 1;
}

.pricing-principles {
  text-align: left;
}
.pricing-principles h2 {
  text-align: left;
}
.pricing-principles ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.pricing-principles ul li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.35em;
  text-align: left;
}
.pricing-principles ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary, #0ea5e9);
}

/* ============================================
   Grid System
   ============================================ */

.grid {
  display: grid;
  gap: 16px;
}

.grid-1 {
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  text-align: left;
}
.service-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}
.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.service-icon {
  display: none;
}

/* ============================================
   Forms
   ============================================ */

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--text);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(165deg, rgba(14, 16, 24, .7) 0%, rgba(10, 12, 18, .6) 100%);
  border: 1px solid var(--stroke0);
  border-top: 1px solid var(--glass-edge-soft);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25), 0 1px 0 var(--glass-edge-soft);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 29, 46, .1);
}

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

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */

footer {
  padding: 35px 0 20px;
  border-top: 1px solid rgba(196, 22, 28, 0.12);
  background: linear-gradient(0deg, rgba(6, 8, 12, .92) 0%, rgba(8, 10, 16, .85) 100%);
  backdrop-filter: blur(var(--blur-lg)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(120%);
  border-bottom: 1px solid var(--glass-edge-soft);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .35), inset 0 -1px 0 var(--glass-edge-soft);
  margin-top: var(--spacing-xl);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 22, 28, 0.25) 50%, transparent 100%);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

/* Services page: two-column footer (Company+Address left | Links right) */
.footer-content--two-col {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.footer-col--right {
  align-self: start;
}

/* Desktop: two columns for services footer — left (company+address) flexes, right (links) fits content */
@media (min-width: 769px) {
  .footer-content--two-col {
    grid-template-columns: 1fr auto;
    gap: var(--spacing-lg);
    align-items: start;
  }
  .footer-col--right {
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .footer-content--two-col {
    grid-template-columns: 1fr;
  }
}

.footer-section {
  position: relative;
  padding-left: var(--spacing-xs);
  display: flex;
  flex-direction: column;
}

.footer-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(196, 22, 28, 0.35) 0%, rgba(196, 22, 28, 0.12) 100%);
  border-radius: 1px;
}

.footer-section h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: rgba(196, 22, 28, 0.8);
  letter-spacing: 0.2px;
  position: relative;
  padding-bottom: 6px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 1px;
  background: rgba(196, 22, 28, 0.35);
  border-radius: 0.5px;
}

.footer-section p {
  color: rgba(243, 245, 255, 0.65);
  margin-bottom: 4px;
  line-height: 1.4;
  font-size: 0.8125rem;
}

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

.footer-section ul li {
  margin-bottom: 4px;
  position: relative;
  padding-left: 10px;
}

.footer-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: rgba(196, 22, 28, 0.4);
  font-size: 0.6rem;
}

.footer-section a {
  color: rgba(243, 245, 255, 0.6);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  position: relative;
  font-size: 0.8125rem;
}

.footer-section a:hover {
  color: rgba(196, 22, 28, 0.8);
  transform: translateX(1px);
}

.footer-section a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(196, 22, 28, 0.5);
  transition: width 0.25s ease;
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(196, 22, 28, 0.12);
  color: rgba(243, 245, 255, 0.45);
  font-size: 0.75rem;
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: rgba(196, 22, 28, 0.3);
}

/* ============================================
   Utility Classes
   ============================================ */

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  nav ul {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-section .grid.grid-2 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: var(--section-padding-mobile) 0;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  main {
    padding-top: var(--header-height);
    padding-bottom: var(--spacing-md);
  }
}

/* ============================================
   Animations
   ============================================ */

@keyframes float1 {
  0% {
    transform: translate(-10%, -10%) scale(1);
  }

  50% {
    transform: translate(15%, 10%) scale(1.08);
  }

  100% {
    transform: translate(-10%, -10%) scale(1);
  }
}

@keyframes float2 {
  0% {
    transform: translate(35%, -15%) scale(1);
  }

  50% {
    transform: translate(10%, 15%) scale(1.06);
  }

  100% {
    transform: translate(35%, -15%) scale(1);
  }
}

@keyframes float3 {
  0% {
    transform: translate(55%, 35%) scale(1);
  }

  50% {
    transform: translate(35%, 10%) scale(1.10);
  }

  100% {
    transform: translate(55%, 35%) scale(1);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
