/* Fusioncapital - Financial Project Planning System
   Main Stylesheet - Created: 13 September 2023
*/


:root {
  --nfm-primary: #00f0ff;
  --nfm-primary-dark: #0a1128;
  --nfm-primary-purple: #2d1b54;
  --nfm-accent-pink: #ff00a0;
  --nfm-accent-yellow: #fffc00;
  --nfm-accent-green: #00ff8c;
  --nfm-bg-dark: #121212;
  --nfm-bg-gray: #1e1e1e;
  --nfm-bg-blue: #0a0a1f;
  --nfm-text-white: #ffffff;
  --nfm-text-light: #e0e0e0;
  --nfm-text-subtle: #b0b0b0;
  --nfm-glow-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
  --nfm-transition: all 0.3s ease;
  --nfm-border-radius: 8px;
  --nfm-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--nfm-bg-dark);
  color: var(--nfm-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

canvas {
  height: 400px !important;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--nfm-text-white);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;

  @media (min-width: 768px) {
    font-size: 3.5rem;
  }
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
  
  &::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--nfm-primary);
    box-shadow: var(--nfm-glow-shadow);
  }
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--nfm-text-light);
}

a {
  color: var(--nfm-primary);
  text-decoration: none;
  transition: var(--nfm-transition);
  
  &:hover {
    color: var(--nfm-accent-pink);
    text-shadow: 0 0 8px rgba(255, 0, 160, 0.5);
  }
}


.nfm-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nfm-section {
  padding: 60px 0;
  position: relative;
  
  @media (min-width: 768px) {
    padding: 100px 0;
  }
}

.nfm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  
  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
  
  @media (min-width: 992px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nfm-flex {
  display: flex;
  flex-direction: column;
  
  @media (min-width: 768px) {
    flex-direction: row;
  }
}


.nfm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  transition: var(--nfm-transition);
  
  &.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
}

.nfm-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nfm-logo {
  width: 180px;
  height: auto;
  
  & img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.nfm-nav-toggle {
  display: block;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  
  @media (min-width: 992px) {
    display: none;
  }
  
  & span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--nfm-primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--nfm-transition);
    
    &:nth-child(1) {
      top: 0;
    }
    
    &:nth-child(2), &:nth-child(3) {
      top: 10px;
    }
    
    &:nth-child(4) {
      top: 20px;
    }
  }
  
  &.active {
    & span:nth-child(1), & span:nth-child(4) {
      top: 10px;
      width: 0%;
      left: 50%;
    }
    
    & span:nth-child(2) {
      transform: rotate(45deg);
    }
    
    & span:nth-child(3) {
      transform: rotate(-45deg);
    }
  }
}

.nfm-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--nfm-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--nfm-transition);
  z-index: 1000;
  
  @media (min-width: 992px) {
    position: static;
    height: auto;
    width: auto;
    background: none;
    flex-direction: row;
  }
  
  &.active {
    right: 0;
  }
  
  & ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    @media (min-width: 992px) {
      flex-direction: row;
    }
    
    & li {
      margin: 15px 0;
      
      @media (min-width: 992px) {
        margin: 0 15px;
      }
      
      & a {
        color: var(--nfm-text-white);
        font-weight: 500;
        font-size: 1.2rem;
        position: relative;
        padding: 5px 0;
        
        @media (min-width: 992px) {
          font-size: 1rem;
        }
        
        &::after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 0;
          width: 0;
          height: 2px;
          background-color: var(--nfm-primary);
          transition: var(--nfm-transition);
        }
        
        &:hover, &.active {
          color: var(--nfm-primary);
          
          &::after {
            width: 100%;
          }
        }
      }
    }
  }
}


.nfm-hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--nfm-bg-blue), var(--nfm-primary-purple));
  padding-top: 80px;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/dashboard-overview.jpg') no-repeat center center/cover;
    opacity: 0.2;
    z-index: 1;
  }
  
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--nfm-bg-dark) 90%);
    z-index: 2;
  }
  
  & .nfm-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    
    & h1 {
      margin-bottom: 1.5rem;
      
      & span {
        color: var(--nfm-primary);
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
      }
    }
    
    & p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      max-width: 600px;
    }
  }
}


.nfm-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  color: var(--nfm-text-white);
  border: 2px solid var(--nfm-primary);
  border-radius: var(--nfm-border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--nfm-transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--nfm-primary);
    transition: var(--nfm-transition);
    z-index: -1;
  }
  
  &:hover {
    color: var(--nfm-bg-dark);
    text-shadow: none;
    
    &::before {
      left: 0;
    }
  }
  
  &.nfm-button-filled {
    background-color: var(--nfm-primary);
    color: var(--nfm-bg-dark);
    
    &:hover {
      background-color: transparent;
      color: var(--nfm-text-white);
    }
    
    &::before {
      background-color: transparent;
    }
  }
  
  &.nfm-button-accent {
    border-color: var(--nfm-accent-pink);
    
    &::before {
      background-color: var(--nfm-accent-pink);
    }
  }
}


.nfm-card {
  background-color: var(--nfm-bg-gray);
  border-radius: var(--nfm-border-radius);
  padding: 30px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: var(--nfm-card-shadow);
  transition: var(--nfm-transition);
  height: 100%;
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.2);
    border-color: var(--nfm-primary);
  }
  
  & .nfm-card-icon {
    color: var(--nfm-primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
  }
  
  & .nfm-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  & .nfm-card-content {
    color: var(--nfm-text-subtle);
  }
}


.nfm-features {
  position: relative;
  
  & .nfm-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    
    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
    
    @media (min-width: 992px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}


.nfm-chart-section {
  position: relative;
  
  & .nfm-chart-container {
    background-color: var(--nfm-bg-gray);
    border-radius: var(--nfm-border-radius);
    padding: 30px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    box-shadow: var(--nfm-card-shadow);
    margin-bottom: 40px;
    
    & canvas {
      width: 100% !important;
    }
  }
}


.nfm-case-studies {
  position: relative;
  
  & .nfm-case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    
    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  & .nfm-case-item {
    position: relative;
    border-radius: var(--nfm-border-radius);
    overflow: hidden;
    height: 300px;
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(18, 18, 18, 0.9), transparent);
      z-index: 1;
    }
    
    & .nfm-case-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--nfm-transition);
    }
    
    & .nfm-case-content {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 30px;
      z-index: 2;
      transform: translateY(30px);
      opacity: 0.8;
      transition: var(--nfm-transition);
    }
    
    &:hover {
      & .nfm-case-image {
        transform: scale(1.1);
      }
      
      & .nfm-case-content {
        transform: translateY(0);
        opacity: 1;
      }
    }
  }
}


.nfm-contact-form {
  background-color: var(--nfm-bg-gray);
  border-radius: var(--nfm-border-radius);
  padding: 40px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: var(--nfm-card-shadow);
  
  & .nfm-form-group {
    margin-bottom: 20px;
    
    & label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }
    
    & input, & textarea {
      width: 100%;
      padding: 12px 15px;
      background-color: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(0, 240, 255, 0.2);
      border-radius: var(--nfm-border-radius);
      color: var(--nfm-text-white);
      font-family: 'Plus Jakarta Sans', sans-serif;
      transition: var(--nfm-transition);
      
      &:focus {
        outline: none;
        border-color: var(--nfm-primary);
        box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
      }
    }
    
    & textarea {
      min-height: 150px;
      resize: vertical;
    }
    
    & .nfm-checkbox {
      display: flex;
      align-items: flex-start;
      
      & input[type="checkbox"] {
        width: auto;
        margin-right: 10px;
        margin-top: 5px;
      }
      
      & label {
        margin-bottom: 0;
        font-weight: 400;
        font-size: 0.9rem;
        color: var(--nfm-text-subtle);
      }
    }
  }
}


.nfm-footer {
  background-color: var(--nfm-primary-dark);
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--nfm-primary), var(--nfm-accent-pink));
  }
  
  & .nfm-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    
    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
    
    @media (min-width: 992px) {
      grid-template-columns: 2fr 1fr 1fr;
    }
  }
  
  & .nfm-footer-logo {
    margin-bottom: 20px;
    
    & img {
      width: 160px;
      height: auto;
    }
  }
  
  & .nfm-footer-about {
    max-width: 400px;
  }
  
  & .nfm-footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background-color: var(--nfm-primary);
    }
  }
  
  & .nfm-footer-links {
    list-style: none;
    
    & li {
      margin-bottom: 10px;
      
      & a {
        color: var(--nfm-text-light);
        transition: var(--nfm-transition);
        
        &:hover {
          color: var(--nfm-primary);
          padding-left: 5px;
        }
      }
    }
  }
  
  & .nfm-footer-contact {
    list-style: none;
    
    & li {
      margin-bottom: 15px;
      display: flex;
      align-items: flex-start;
      
      & i {
        color: var(--nfm-primary);
        margin-right: 10px;
        margin-top: 5px;
      }
    }
  }
  
  & .nfm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    
    & p {
      color: var(--nfm-text-subtle);
      font-size: 0.9rem;
      margin-bottom: 0;
    }
  }
}


.nfm-expertise {
  
  & .nfm-expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    
    @media (min-width: 992px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  & .nfm-expertise-content {
    
    & ul {
      list-style: none;
      margin-bottom: 30px;
      
      & li {
        margin-bottom: 15px;
        padding-left: 30px;
        position: relative;
        
        &::before {
          content: '\f00c';
          font-family: 'Font Awesome 6 Free';
          font-weight: 900;
          color: var(--nfm-primary);
          position: absolute;
          left: 0;
          top: 2px;
        }
      }
    }
  }
  
  & .nfm-expertise-image {
    border-radius: var(--nfm-border-radius);
    overflow: hidden;
    box-shadow: var(--nfm-card-shadow);
    border: 1px solid rgba(0, 240, 255, 0.1);
    height: 100%;
    min-height: 300px;
    
    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}


.nfm-projects {
  position: relative;
  
  & .nfm-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    
    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
    
    @media (min-width: 992px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  & .nfm-project-card {
    background-color: var(--nfm-bg-gray);
    border-radius: var(--nfm-border-radius);
    overflow: hidden;
    box-shadow: var(--nfm-card-shadow);
    transition: var(--nfm-transition);
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0, 240, 255, 0.2);
      
      & .nfm-project-image img {
        transform: scale(1.1);
      }
    }
    
    & .nfm-project-image {
      height: 200px;
      overflow: hidden;
      
      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--nfm-transition);
      }
    }
    
    & .nfm-project-content {
      padding: 25px;
      
      & .nfm-project-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
      }
      
      & .nfm-project-description {
        color: var(--nfm-text-subtle);
        margin-bottom: 15px;
      }
      
      & .nfm-project-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
        color: var(--nfm-text-subtle);
      }
    }
  }
}


.nfm-automation {
  
  & .nfm-automation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    
    @media (min-width: 992px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  & .nfm-automation-content {
    
    & .nfm-automation-steps {
      list-style: none;
      counter-reset: automation-counter;
      
      & li {
        position: relative;
        padding-left: 50px;
        margin-bottom: 30px;
        counter-increment: automation-counter;
        
        &::before {
          content: counter(automation-counter);
          position: absolute;
          left: 0;
          top: 0;
          width: 35px;
          height: 35px;
          background-color: var(--nfm-primary);
          color: var(--nfm-bg-dark);
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          font-weight: 700;
        }
      }
    }
  }
  
  & .nfm-automation-video {
    border-radius: var(--nfm-border-radius);
    overflow: hidden;
    box-shadow: var(--nfm-card-shadow);
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    
    & iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  }
}


.nfm-packages {
  
  & .nfm-packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    
    @media (min-width: 768px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  & .nfm-package-card {
    background-color: var(--nfm-bg-gray);
    border-radius: var(--nfm-border-radius);
    overflow: hidden;
    box-shadow: var(--nfm-card-shadow);
    transition: var(--nfm-transition);
    border: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    
    &:hover {
      transform: translateY(-5px);
      border-color: var(--nfm-primary);
    }
    
    &.nfm-package-featured {
      border-color: var(--nfm-primary);
      
      &::before {
        content: 'Рекомендуемый';
        position: absolute;
        top: 15px;
        right: -30px;
        background-color: var(--nfm-primary);
        color: var(--nfm-bg-dark);
        padding: 5px 30px;
        font-size: 0.8rem;
        font-weight: 600;
        transform: rotate(45deg);
        width: 150px;
        text-align: center;
      }
    }
    
    & .nfm-package-header {
      padding: 25px;
      text-align: center;
      border-bottom: 1px solid rgba(0, 240, 255, 0.1);
      
      & .nfm-package-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
      }
      
      & .nfm-package-subtitle {
        color: var(--nfm-text-subtle);
      }
    }
    
    & .nfm-package-features {
      padding: 25px;
      
      & ul {
        list-style: none;
        margin-bottom: 25px;
        
        & li {
          margin-bottom: 15px;
          padding-left: 30px;
          position: relative;
          
          &::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--nfm-primary);
            position: absolute;
            left: 0;
            top: 2px;
          }
          
          &.nfm-feature-inactive {
            color: var(--nfm-text-subtle);
            
            &::before {
              content: '\f00d';
              color: var(--nfm-text-subtle);
            }
          }
        }
      }
    }
    
    & .nfm-package-footer {
      padding: 0 25px 25px;
      text-align: center;
    }
  }
}


.nfm-contact-page {
  
  & .nfm-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    
    @media (min-width: 992px) {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  & .nfm-contact-info {
    
    & .nfm-contact-list {
      list-style: none;
      margin-bottom: 30px;
      
      & li {
        margin-bottom: 20px;
        display: flex;
        
        & i {
          color: var(--nfm-primary);
          font-size: 1.2rem;
          margin-right: 15px;
          margin-top: 5px;
        }
        
        & .nfm-contact-detail {
          
          & h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
          }
          
          & p {
            margin-bottom: 0;
            color: var(--nfm-text-subtle);
          }
        }
      }
    }
  }
  
  & .nfm-map-container {
    height: 400px;
    border-radius: var(--nfm-border-radius);
    overflow: hidden;
    box-shadow: var(--nfm-card-shadow);
    border: 1px solid rgba(0, 240, 255, 0.1);
    
    & iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }
  }
}


.nfm-legal-page {
  
  & .nfm-legal-content {
    background-color: var(--nfm-bg-gray);
    border-radius: var(--nfm-border-radius);
    padding: 40px;
    box-shadow: var(--nfm-card-shadow);
    
    & .nfm-legal-date {
      color: var(--nfm-text-subtle);
      font-size: 0.9rem;
      margin-bottom: 30px;
    }
    
    & h2 {
      font-size: 1.8rem;
      margin-top: 40px;
      margin-bottom: 20px;
    }
    
    & h3 {
      font-size: 1.4rem;
      margin-top: 30px;
      margin-bottom: 15px;
    }
    
    & p {
      margin-bottom: 20px;
    }
    
    & ul, & ol {
      margin-bottom: 20px;
      padding-left: 20px;
      
      & li {
        margin-bottom: 10px;
      }
    }
  }
}


.nfm-thanks {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  & .nfm-thanks-content {
    max-width: 600px;
    padding: 40px;
    
    & .nfm-thanks-icon {
      font-size: 5rem;
      color: var(--nfm-primary);
      margin-bottom: 30px;
    }
    
    & h1 {
      margin-bottom: 20px;
    }
    
    & p {
      margin-bottom: 30px;
    }
  }
}


.nfm-cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--nfm-bg-gray);
  border-radius: var(--nfm-border-radius);
  padding: 20px;
  box-shadow: var(--nfm-card-shadow);
  border: 1px solid rgba(0, 240, 255, 0.1);
  z-index: 9999;
  display: none;
  
  @media (min-width: 768px) {
    max-width: 400px;
    left: 20px;
    right: auto;
  }
  
  & .nfm-cookie-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  & .nfm-cookie-text {
    margin-bottom: 15px;
    font-size: 0.9rem;
  }
  
  & .nfm-cookie-buttons {
    display: flex;
    justify-content: space-between;
    
    & .nfm-cookie-button {
      padding: 8px 15px;
      border-radius: var(--nfm-border-radius);
      font-weight: 500;
      font-size: 0.9rem;
      cursor: pointer;
      transition: var(--nfm-transition);
      
      &.nfm-accept-all {
        background-color: var(--nfm-primary);
        color: var(--nfm-bg-dark);
        border: none;
        
        &:hover {
          background-color: var(--nfm-accent-pink);
        }
      }
      
      &.nfm-reject-all {
        background-color: transparent;
        color: var(--nfm-text-light);
        border: 1px solid var(--nfm-text-subtle);
        
        &:hover {
          border-color: var(--nfm-text-white);
        }
      }
      
      &.nfm-settings {
        background-color: transparent;
        color: var(--nfm-text-light);
        border: 1px solid var(--nfm-text-subtle);
        
        &:hover {
          border-color: var(--nfm-text-white);
        }
      }
    }
  }
}

.nfm-cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  
  & .nfm-cookie-settings-content {
    background-color: var(--nfm-bg-gray);
    border-radius: var(--nfm-border-radius);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    
    & .nfm-cookie-settings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      
      & .nfm-cookie-settings-title {
        font-size: 1.5rem;
        margin-bottom: 0;
      }
      
      & .nfm-cookie-settings-close {
        background: none;
        border: none;
        color: var(--nfm-text-light);
        font-size: 1.5rem;
        cursor: pointer;
        transition: var(--nfm-transition);
        
        &:hover {
          color: var(--nfm-primary);
        }
      }
    }
    
    & .nfm-cookie-category {
      margin-bottom: 25px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding-bottom: 20px;
      
      &:last-child {
        border-bottom: none;
      }
      
      & .nfm-cookie-category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        
        & .nfm-cookie-category-title {
          font-size: 1.2rem;
          margin-bottom: 0;
        }
        
        & .nfm-cookie-toggle {
          position: relative;
          width: 50px;
          height: 26px;
          
          & input {
            opacity: 0;
            width: 0;
            height: 0;
            
            &:checked + .nfm-cookie-toggle-slider {
              background-color: var(--nfm-primary);
              
              &:before {
                transform: translateX(24px);
              }
            }
            
            &:disabled + .nfm-cookie-toggle-slider {
              opacity: 0.5;
              cursor: not-allowed;
            }
          }
          
          & .nfm-cookie-toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--nfm-text-subtle);
            transition: var(--nfm-transition);
            border-radius: 34px;
            
            &:before {
              position: absolute;
              content: "";
              height: 18px;
              width: 18px;
              left: 4px;
              bottom: 4px;
              background-color: white;
              transition: var(--nfm-transition);
              border-radius: 50%;
            }
          }
        }
      }
      
      & .nfm-cookie-category-description {
        font-size: 0.9rem;
        color: var(--nfm-text-subtle);
      }
    }
    
    & .nfm-cookie-settings-footer {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      
      & .nfm-cookie-save {
        background-color: var(--nfm-primary);
        color: var(--nfm-bg-dark);
        border: none;
        padding: 10px 20px;
        border-radius: var(--nfm-border-radius);
        font-weight: 500;
        cursor: pointer;
        transition: var(--nfm-transition);
        
        &:hover {
          background-color: var(--nfm-accent-pink);
        }
      }
      
      & .nfm-cookie-reject-all {
        background-color: transparent;
        color: var(--nfm-text-light);
        border: 1px solid var(--nfm-text-subtle);
        padding: 10px 20px;
        border-radius: var(--nfm-border-radius);
        font-weight: 500;
        cursor: pointer;
        transition: var(--nfm-transition);
        
        &:hover {
          border-color: var(--nfm-text-white);
        }
      }
      
      & .nfm-cookie-accept-all {
        background-color: var(--nfm-primary);
        color: var(--nfm-bg-dark);
        border: none;
        padding: 10px 20px;
        border-radius: var(--nfm-border-radius);
        font-weight: 500;
        cursor: pointer;
        transition: var(--nfm-transition);
        
        &:hover {
          background-color: var(--nfm-accent-pink);
        }
      }
    }
  }
}


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

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

.nfm-mt-0 {
  margin-top: 0;
}

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

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

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

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

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

.nfm-mb-0 {
  margin-bottom: 0;
}

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

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

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

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

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

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

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

.nfm-text-left {
  text-align: left;
}

.nfm-hidden {
  display: none;
}

.nfm-visible {
  display: block;
}


.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 10;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--nfm-border-radius) 0 0 var(--nfm-border-radius);
}

.iti__country-list {
  background-color: var(--nfm-bg-gray);
  border-color: rgba(0, 240, 255, 0.2);
}

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

.iti__country.iti__highlight {
  background-color: rgba(0, 240, 255, 0.1);
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.nfm-animate-fade {
  animation: fadeIn 0.8s ease forwards;
}

.nfm-animate-slide {
  animation: slideUp 0.8s ease forwards;
}

.nfm-animate-pulse {
  animation: pulse 2s infinite;
}


@media (max-width: 767px) {
  .nfm-hidden-mobile {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .nfm-hidden-tablet {
    display: none;
  }
}

@media (min-width: 992px) {
  .nfm-hidden-desktop {
    display: none;
  }
}