/* ==========================================================================
   Contact Form Landing Page
   ========================================================================== */

/* CSS Variables */
:root {
  --color-white: #ffffff;
  --color-dove-gray: #707070;
  --color-blueberry: #4a90e2;
  --color-text-primary: #333333;
  --color-text-secondary: #707070;
  --color-border: #d0d0d0;
  
  --font-family-manrope: 'Manrope', sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;
  
  --border-radius: 5px;
  --border-radius-small: 4px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 36px;
  
  --transition-duration: 0.3s;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-white);
  font-family: var(--font-family-manrope);
  line-height: 1.5;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.math-modal-open .math-modal-floating-trigger {
  display:none;
}
.container {
  margin: 0 auto;
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: none; /* Ukryty domyślnie */
  align-items: center;
  justify-content: center;
}

.container.show {
  display: flex; /* Pokazany gdy ma klasę .show */
}

.form {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form--contact {
  /* Specific styles for contact form */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.hero__background {
  display: none; /* Removed background */
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero__content {
  position: relative;
  max-width: 1088px;
  /* min-height: 600px; */
  background: #3581F7;
  border-radius: 15px;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  z-index: 1001;
}

/* ==========================================================================
   Modal Layout - Two Columns
   ========================================================================== */

.modal {
  display: flex;
  width: 100%;
  height: 100%;
  
}
.math-modal {
  overflow-y: scroll;
}

.modal__left-column {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width:60%;
}

.modal__right-column {
  /* flex: 1; */
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
  border-radius: 0 15px 15px 0;
}

/* ==========================================================================
   Form Components
   ========================================================================== */

.form-section {
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-section__title {
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin: 0 0 var(--spacing-lg) 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group__label {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.form-group__input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  transition: border-color var(--transition-duration) ease;
  box-sizing: border-box;
}

/* Textarea specific styles */
.form-group__input[type="textarea"],
.form-group textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
  font-weight: var(--font-weight-normal);
}

.form-group__input:focus {
  outline: none;
  border-color: var(--color-blueberry);
  background-color: var(--color-white);
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-group__input::placeholder {
  color: rgba(112, 112, 112, 0.6);
  font-weight: var(--font-weight-normal);
}

/* Validation styles */
.form-group__input.error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.form-group__input.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.form-group__error {
  color: #dc3545;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  margin-top: 4px;
  display: none;
}

.form-group__error.show {
  display: block;
}

.form-group--error .form-group__label {
  color: #dc3545;
}

html body .form-group .form-group__input--phone {
  padding-left: 60px;
}

.form-group__phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group__phone-prefix {
  position: absolute;
  left: 16px;
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  z-index: 1;
}

.form-group--checkbox {
  margin-top: var(--spacing-lg);
}

/* Checkbox validation */
.checkbox.error .checkbox__input {
  border-color: #dc3545;
}

.checkbox.error .checkbox__label {
  color: #dc3545;
}

.checkbox__error {
  color: #dc3545;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  margin-top: 4px;
  display: none;
}

.checkbox__error.show {
  display: block;
}

/* ==========================================================================
   Checkbox Component
   ========================================================================== */

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.checkbox__input {
  margin: 0;
  width: 25px;
  height: 25px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-small);
  background-color: var(--color-white);
  cursor: pointer;
}

.checkbox__label {
  flex: 1;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-primary);
}

.checkbox__text {
  display: block;
  position: relative;
  transition: max-height 0.3s ease;
  line-height: 1.4;
}

.checkbox__text:not(.expanded) {
  max-height: 4.5em; /* Enough height to show button */
  overflow: hidden; /* Make sure button is always visible */
  position: relative;
}

/* Add visual indicator that text is cut off */
.checkbox__text:not(.expanded)::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background: linear-gradient(transparent 30%, var(--color-white) 100%);
  pointer-events: none;
  z-index: 5; /* Below the button */
}

.checkbox__text.expanded {
  max-height: none;
  overflow: visible;
}

/* Remove fade effect that was hiding the button */

.checkbox__content {
  max-height: 3.6em; /* 3 lines */
  overflow: hidden;
  transition: max-height var(--transition-duration) ease;
}

.checkbox__content--expanded {
  max-height: none;
}

.checkbox__expand-btn {
  background: none;
  border: none;
  color: var(--color-blueberry);
  font-weight: var(--font-weight-medium);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  text-decoration: underline;
}

.checkbox__expand-btn:hover {
  text-decoration: none;
}

.checkbox__link {
  color: var(--color-blueberry);
  text-decoration: underline;
  font-weight: var(--font-weight-medium);
}

.checkbox__link:hover {
  text-decoration: none;
}

.checkbox__more {
  color: var(--color-blueberry);
  font-weight: var(--font-weight-medium);
  background: none;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  display: inline;
  margin: 0 2px;
  text-decoration: underline;
  transition: all 0.2s ease;
  position: relative;
  z-index: 20; /* High z-index to ensure visibility */
  border-radius: 3px;
  line-height: inherit;
  vertical-align: baseline;
}

.checkbox__more:hover {
  color: var(--color-primary-dark, #1976d2);
  text-decoration: none;
}

.checkbox__more:active {
  color: var(--color-primary-dark, #1976d2);
  text-decoration: none;
}

.checkbox__more:focus {
  outline: 2px solid var(--color-blueberry);
  outline-offset: 2px;
}

/* Desktop floating button styles */
.checkbox__more.floating {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary, #2196f3);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  min-width: 100px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}

.checkbox__more.floating:hover {
  background: var(--color-primary-dark, #1976d2);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ==========================================================================
   Form Messages
   ========================================================================== */

.form-message {
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  font-weight: var(--font-weight-medium);
  text-align: center;
  animation: slideIn 0.3s ease;
}

.form-message--success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message--error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-duration) ease;
  width: 100%;
}

.btn--primary {
  background-color: var(--color-blueberry);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #3a7bc8;
 
}

.btn--primary:active {
  
}

/* ==========================================================================
   Close Button
   ========================================================================== */

.hero__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-duration) ease;
  z-index: 1002;
}

.hero__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Content Section (Left Column)
   ========================================================================== */

.content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  height: 100%;
  justify-content: flex-start;
}

.content__features {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  width: 100%;
  margin-top: 230px;
  padding-left:40px;
}

.content__features-list {
  list-style: none;
  padding:0;
  margin:0;
  display: flex;
  flex-direction: column;
}

.content__features-list li {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  color: var(--color-white);
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  line-height: 1.27;
  margin-left:0;
}

.content__features-icon {
  font-size: 28px;
  line-height: 1;
  margin-top: 1px;
}

.content__features-text {
  flex: 1;
  color: var(--color-white);
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  line-height: 1.27;
  margin: 0;
}

.content__price {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-xs);
  position: absolute;
  right:39px;
  top:39px;
}

.content__price-amount {
  color: var(--color-white);
  font-family: var(--font-family-manrope);
  font-size: 160px;
  font-weight: var(--font-weight-extra-bold);
  line-height: 0.49;
  margin: 0;
}

.content__price-currency {
  color: var(--color-white);
  font-family: var(--font-family-manrope);
  font-size: 50px;
  font-weight: var(--font-weight-extra-bold);
  line-height: 0.92;
  margin: 0;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.content__team {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  width: 100%;
  margin-top:auto;
  overflow:hidden;
}

.content__team-row {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  width:100%;
  position: relative;
  height: 218px;
}

.content__team-member {
  width: 109px;
  height: 218px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform var(--transition-duration) ease;
}

.content__team-member  {
  width:200%;
  height:100%;
  object-fit: cover;
  border-radius: 0;
  position: absolute;
  top:0;
  left:0;
 
}

.content__team-member:hover {
  transform: scale(1.05);
}

.content__team-member--large {
  width: 218px;
  height: 218px;
}

/* ==========================================================================
   Main Heading
   ========================================================================== */

.hero__heading {
  position: absolute;
  top: 37px;
  left: 37px;
  width: 294px;
  color: var(--color-white);
  font-family: var(--font-family-manrope);
  font-size: 27px;
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.07;
  margin: 0;
}

.hero__decoration {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 25px;
  height: 25px;
  background-image: url(../img/line-1@1x.png);
  background-position: center;
  background-size: cover;
}

.hero__decoration-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 25px;
  object-fit: cover;
}

/* ==========================================================================
   Math Modal Trigger Button
   ========================================================================== */

.math-modal-trigger {
  background: #0081FF;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  transition: all 0.3s ease;
}

.math-modal-trigger:hover {
  background: #0066CC;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

@media (max-width: 1366px) {
  .hero__content {
    max-width: 90%;
    margin: 20px;
  }
}

@media (max-width: 1024px) {
  .hero__content {
    flex-direction: column;
    max-width: 95%;
    min-height: auto;
  }

 
  
  .modal {
    flex-direction: column;
  }
  
  .modal__left-column,
  .modal__right-column {
    flex: none;
    padding: 20px;
  }
  
  .modal__right-column {
    border-radius: 0 0 15px 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    min-height: auto;
  }
  
  .form-section {
    max-width: 100%;
  }
  
  .hero__heading {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    text-align: center;
    margin-bottom: var(--spacing-xl);
  }
  
  .content {
    align-items: flex-start;
    text-align: left;
  }
  
  .content__features {
    width: 100%;
    max-width: 400px;
    justify-content: left;
    margin-top: 0;
    padding-left:0;
  }
  
  .content__team {
    width: 100%;
    max-width: 500px;
    align-items: center;
  }
  .content__team-row {
    height:auto;
  }
}

@media (max-width: 768px) {
    .btn-container {
            background-color: white;
        width: 100%;
        height: 80px;
        position: fixed;
        bottom: 0;
        z-index: 111;
  }
  .hero__content {
    margin: 0;
    border-radius: 0;
    max-width: 100%;
    min-height: 100vh;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    display: block;
    background: var(--color-blueberry);
  }
  
  .modal {
    flex-direction: column;
    gap: 0;
    min-height: 100vh;
    padding: 0;
    box-sizing: border-box;
    background: var(--color-blueberry);
  }
  
  .modal__left-column {
    order: 1;
    width: 100%;
   
    box-sizing: border-box;
    background: var(--color-blueberry);
    border-radius: 0;
    padding:0!important;
  }
  
  .modal__right-column {
    order: 3;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: var(--color-white);
    border-radius: 0;
    flex: 1;
    justify-content: flex-start;
  }
  
  /* Content layout for mobile */
  .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }
  
  /* Team image at top */
  .content__team {
    order: 1;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .content__team-row {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .content__team-member {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  /* Title after image */
  .hero__heading {
    order: 2;
    font-size: 24px;
    margin: 0 0 20px 0;
    text-align: center;
    padding: 0 20px;
    color: var(--color-white);
    top:150px!important;
  }
  
  /* Price and features side by side */
  .content__price {
    order: 3;
    margin-bottom: 20px;
    top:170px!important;
  }
  
  .content__features {
    order: 4;
    width: 100%;
    max-width: 400px;
  }
  
  .content__features-list {
    gap: 12px;
    padding: 0;
  }
  
  .content__features-list li {
    font-size: 14px;
    padding: 8px 0;
    color: var(--color-white);
  }
  
  .content__features-icon {
    font-size: 16px;
    margin-right: 8px;
  }
  
  .content__features-text {
    color: var(--color-white);
  }
  
  .form-section {
    max-width: 100%;
    padding: 0 0 20px 0; /* Add bottom padding to prevent overlap */
  }
  
  .form-section__title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-text-primary);
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .form-group__input {
    height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 14px;
  }
  
  .form-group__label {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--color-text-primary);
  }
  

   .btn--primary {
        height: 48px !important;
        font-size: 16px !important;
        font-weight: var(--font-weight-bold) !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        clear: both !important;
        position: fixed;
        bottom: 0;
        left:50%;
        width: 90%;
        transform: translate(-50%,-50%); /* Center the button */
        margin: 0 auto;
        z-index: 10000;
  }
  /* Przycisk dzwonienia fixed - widoczny na wszystkich urządzeniach */
        .phone-call-fixed {
            position: fixed !important;
           
            right: 20px !important;
            z-index: 10002 !important;
            display: flex
;
    
  
    overflow: hidden;
    bottom: 23px;
    right: 30px;
        }
        
        /* Ukryj przycisk gdy nie ma numeru telefonu */
        .phone-call-fixed:empty,
        .phone-call-fixed:not(:has(.phone-call-btn)) {
            display: none !important;
        }
        
        .phone-call-fixed .phone-call-btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
        
            color: white !important;
            text-decoration: none !important;
            padding: 16px 20px !important;
            border-radius: 50% !important;
            font-size: 16px !important;
            font-weight: 600 !important;
           
            transition: all 0.3s ease !important;
       
            border: none !important;
            display: flex
;
 

    width: 60px;
    height: 60px;
 
        }
        
   
        
        .phone-call-fixed .phone-icon {
            width: 50px !important;
            height: 50px !important;
          
        }
        
        .phone-call-fixed .phone-text {
            display: none !important;
        }
  .hero__close {
    
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 1001;
  }
  
  /* Checkbox mobile styles */
  .checkbox {
    margin-bottom: 10px;
  }
  
  .form-group--checkbox {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    margin-bottom: 40px !important;
  }
  
  .checkbox__label {
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-primary);
  }
  
  .checkbox__text {
    position: relative;
    transition: max-height 0.3s ease;
    line-height: 1.3;
  }
  
  .checkbox__text:not(.expanded) {
    max-height: 3.9em; /* Exactly 3 lines */
    overflow: hidden; /* Hide overflowing text */
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  
  /* No fade effect - clean cut after 3 lines */
  
  .checkbox__text.expanded {
    max-height: none;
    overflow: visible;
    margin-bottom: 10px;
    padding-bottom: 0;
  }

  /* Additional mobile-specific spacing for expanded checkbox */
  .checkbox.expanded,
  .form-group--checkbox.expanded {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
  }
  
  /* Remove mobile fade effect that was hiding the button */
  
  .checkbox__content {
    max-height: 60px; /* 3 lines on mobile */
  }
  
  .checkbox__expand-btn {
    font-size: 12px;
    padding: 4px 8px;
    margin-top: 8px;
  }
  
  .content__price-amount {
    font-size: 80px;
    color: var(--color-white);
  }
  
  .content__price-currency {
    font-size: 28px;
    color: var(--color-white);
  }
  
  /* Remove overlay on mobile for full screen */
  .hero__overlay {
    display: none;
  }
  
  /* Mobile fixed trigger button */
  .math-modal-trigger {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 40px);
    max-width: 300px;
    background: #0081FF;
    color: white;
    padding: 15px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
  }
  
  .math-modal-trigger:hover {
    background: #0066CC;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }
  
  .math-modal-trigger.hidden {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__content {
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }
  
  .modal {
    padding: 0;
  }
  
  .modal__left-column,
  .modal__right-column {
      padding: 20px;
  }
  .content__team-member {
    width: 100%;
    height: 100px;
  }
  
  .hero__heading {
    font-size: 20px;
    padding: 0 15px;
  }
  
  .content__price-amount {
    font-size: 60px;
  }
  
  .content__price-currency {
    font-size: 24px;
  }
  
  .content__features-list li {
    font-size: 13px;
  }
  
  .content__features-icon {
    font-size: 14px;
    margin-right: 6px;
  }
  
  /* Mobile touch improvements for checkbox "more" button */
  .checkbox__more {
    min-height: 32px; /* Good touch target */
    min-width: 50px;
    padding: 2px 4px;
    margin-top: 5px;
    display: block; /* Block element below text */
    text-align: left;
    touch-action: manipulation;
    position: relative;
    z-index: 20; /* Higher to ensure visibility */
    background: none;
    border: none;
    border-radius: 0;
    font-weight: var(--font-weight-normal);
    color: var(--color-primary, #2196f3);
    font-size: 13px;
    text-decoration: underline;
    line-height: 1.2;
    transition: color 0.2s ease;
    box-shadow: none;
    cursor: pointer;
  }
  
  /* Floating button styles */
  .checkbox__more.floating {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary, #2196f3);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .checkbox__more.floating:hover {
    background: var(--color-primary-dark, #1976d2);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }
  
  .checkbox__more:hover,
  .checkbox__more:active {
    color: var(--color-primary-dark, #1976d2);
    text-decoration: none;
  }
  
  .form-section__title {
    font-size: 18px;
  }
  
  .form-group__input {
    height: 40px;
    font-size: 16px;
    padding: 10px 12px;
  }
  
  .btn--primary {
    height: 44px;
    font-size: 15px;
  }
  
  /* Checkbox styles for small screens */
  .checkbox__label {
    font-size: 12px;
  }
  
  .checkbox__content {
    max-height: 54px; /* 3 lines on very small screens */
  }
  
  .checkbox__expand-btn {
    font-size: 11px;
    padding: 3px 6px;
  }
  
  .hero__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero__content {
    max-height: 100vh;
    overflow-y: auto;
    padding: 0;
    background: var(--color-blueberry);
  }
  
  .modal {
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: var(--color-blueberry);
  }
  
  .modal__left-column,
  .modal__right-column {
    padding: 15px;
  
  }
  
  .modal__left-column {
    background: var(--color-blueberry);
  }
  
  .content__team-member {
    width: 100%;
    height: 80px;
  }
  
  .hero__heading {
    font-size: 18px;
    padding: 0 15px;
    color: var(--color-white);
  }
  
  .content__price-amount {
    font-size: 50px;
    color: var(--color-white);
  }
  
  .content__price-currency {
    font-size: 18px;
    color: var(--color-white);
  }
  
  .content__features-list li {
    font-size: 12px;
    color: var(--color-white);
  }
  
  .form-section__title {
    font-size: 18px;
  }
  
  .form-group__input {
    height: 40px;
    font-size: 16px;
  }
  
  .btn--primary {
    height: 44px;
    font-size: 15px;
  }
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */

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

/* Focus styles for better accessibility */
.form-group__input:focus,
.btn:focus,
.checkbox__input:focus,
.hero__close:focus {
  outline: 2px solid var(--color-blueberry);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .form-group__input {
    border-width: 2px;
  }
  
  .btn--primary {
    border: 2px solid var(--color-white);
  }
}

@media (max-width: 1024px) {
  .modal__right-column {
    padding:20px;
    padding-bottom: 100px!important;;
  }
  .content__team-member {
    width: 100%;
    height:130px;
    position: relative;
  }
  .hero__heading {
        position: absolute;
    top: 0;
    max-width: 60%;
    left: 20px;
    text-align: left;
    top: 114px;
    padding:0;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 0;
    max-width: 60%;;
    line-height: 20px;
  }
  .content__features-list {
    margin-top:100px;
    gap:8px;
  }
  .content__features {
    padding-left: 20px;
    justify-content: left;
    margin-bottom: 20px;;
    
  }
   .content__features ul {
    justify-content: flex-start;
    
  }
   .content__features ul li {
    padding:0;
   }
   .content__price {
    top: 120px;
    font-size: 90px;
    font-weight: 500;
    right:20px;
   }
   .content__price-amount {
    font-size: 90px;
    font-weight: 500;
   }
   .content__price-currency {
    font-size: 32px;
   }
   .form-group__input {
    padding: 10px 50px;
   }
   .content__features-list li {
    gap:10px;
    font-size: 14px;
   }
   .form-group {
    margin-bottom: 0;;
   }
   .form-section__title {
    display:none;
   }
 
}