:root {
  /* Font */
  --font-geist: 'Geist', sans-serif;
  --font-primary: 'Geist', sans-serif;
  --font-mono: 'Geist Mono', monospace;

  /* Color */
  --color-black: #000;
  --color-gainsboro: #d3dbdf;
  --color-gray: #28282a;
  --color-lightseagreen-100: #4db8a2;
  --color-lightseagreen-200: #47b3aa;
  --color-lightseagreen: #47b3aa;
  --color-mediumaquamarine: #41c4ac;
  --color-white: #fff;
  --color-whitesmoke: #f2f2f2;
  --color-primary: #47b3aa;
  --color-primary-darker: #3a9990;
  --color-text-dark: #28282a;
  --color-text-light: #ffffff;
  --color-background-light: #f2f2f2;

  /* FontSize */
  --fs-10: 10px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-22: 22px;
  --fs-30: 30px;
  --fs-34: 34px;
  --fs-40: 40px;
  --fs-42: 42px;
  --fs-56: 56px;
  --fs-60: 60px;
  --fs-76: 76px;

  /* BorderRadius */
  --br-6: 6px;
  --br-8: 8px;
  --br-12: 12px;
  --br-22: 22px;
  --br-28: 28px;
  --br-30: 30px;
  --br-50: 50%;
  --br-60: 60px;
  --br-120: 120px;
  --br-200: 200px;

  /* Borders */
  --border-1: 1px solid var(--color-gray);

  /* WidthHeights */
  --width-1440: 1440px;
}

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

body {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: var(--color-background-light);
  overflow-x: hidden;
  text-align: left;
  font-size: var(--fs-14);
  color: var(--color-text-dark);
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--width-1440);
  margin-left: auto;
  margin-right: auto;
  padding-left: 85px;
  padding-right: 85px;
}

@media (max-width: 1024px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.main-container {
  max-width: var(--width-1440);
  margin: 0 auto;
  position: relative;
  background-color: var(--color-background-light);
}

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

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 23px;
  padding: 11px 24px 12px 31px;
  border-radius: var(--br-30);
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: var(--fs-16);
  color: var(--color-text-light);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.8;
}

.btn-outline {
  border: 1px solid var(--color-text-light);
  background: transparent;
}

.btn-cta {
  border: 1px solid var(--color-text-light);
  padding: 10px 24px 11px 32px;
  gap: 29px;
  background: transparent;
}

.btn-arrow {
  position: relative;
  width: 33px;
  height: 33px;
}

.btn-arrow .arrow-circle,
.btn-arrow .arrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-arrow .arrow-circle {
  width: 33px;
  height: 33px;
}

.btn-arrow .arrow-icon {
  width: 12.6px;
  height: 12.6px;
}

/* Legal Modals - Despre noi, Termeni și condiții, Politica de confidențialitate */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.legal-modal-content {
    background-color: var(--color-background-light);
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-title {
    color: #28282A;
    font-family: "Geist Mono", monospace;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

.legal-modal-title span {
    color: #4DB8A2;
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 36px;
    font-weight: 300;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.legal-modal-close:hover {
    color: #F84141;
}

.legal-modal-body {
    padding: 30px 40px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.legal-modal-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.legal-modal-body p {
    color: #28282A;
    font-family: var(--font-primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

.btn-legal-secondary,
.btn-legal-primary {
    padding: 12px 24px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--color-text-dark);
}

.btn-legal-secondary {
    background: transparent;
    color: var(--color-text-dark);
}

.btn-legal-secondary:hover {
    background-color: rgba(77, 184, 162, 0.1);
}

.btn-legal-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}

.btn-legal-primary:hover {
    background-color: #4EBAAA;
}

/* Mobile responsive for legal modals */
@media (max-width: 768px) {
    .legal-modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 95vh;
    }

    .legal-modal-header {
        padding: 20px 24px 15px;
    }

    .legal-modal-title {
        font-size: 14px;
    }

    .legal-modal-body {
        padding: 20px 24px;
    }

    .legal-modal-body h2 {
        font-size: 32px;
    }

    .legal-modal-body h4 {
        font-size: 18px;
    }

    .legal-modal-body p {
        font-size: 16px;
    }

    .legal-modal-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-legal-secondary,
    .btn-legal-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-modal-header {
        padding: 16px 20px 12px;
    }

    .legal-modal-title {
        font-size: 13px;
    }

    .legal-modal-body {
        padding: 16px 20px;
    }

    .legal-modal-body h2 {
        font-size: 28px;
    }

    .legal-modal-body h4 {
        font-size: 16px;
    }

    .legal-modal-body p {
        font-size: 14px;
    }
}

/* Despre Noi Modal - Special Buttons */
.btn-despre-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid #28282A;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: #28282A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-despre-secondary:hover {
    background-color: #28282A;
    color: #F5F5F5;
}

.btn-despre-secondary .btn-arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #28282A;
    border-radius: 50%;
    color: #F5F5F5;
    transition: all 0.3s ease;
}

.btn-despre-secondary:hover .btn-arrow-icon {
    background-color: #F5F5F5;
    color: #28282A;
}

.btn-despre-primary {
   border-radius: 100px;
    background: #40C8AF;
    color: #FFF;
    font-family: Geist;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 9px;
    border: 1px solid #40C8AF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-despre-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
}

.spon-wrap img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    cursor: pointer;
}

.spon-wrap img:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.pop-spon {
    display: flex;
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid #28282A;
    border-bottom: 1px solid #28282A;
}

.inline-ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.inline-ul li {
    display: flex;
    align-items: center;
}

.spon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    padding: 0;
    margin: 0;
}

.spon-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spon-item a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spon-item img {
    max-width: 100%;
    height: auto;
}

.pop-text {
    color: #28282A;
    font-family: Geist;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

/* Mobile responsive for Despre Noi buttons */
@media (max-width: 768px) {
    .btn-despre-secondary,
    .btn-despre-primary {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }

    .legal-modal-body > div[style*="display: flex"] {
        flex-direction: column;
        gap: 12px;
    }

    .pop-text {
        font-size: 16px;
    }

    .inline-ul {
        gap: 15px;
    }

    .spon-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}