:root {
    --primary: #7444fd;
    --primary-dark: #5a32cf;
    --secondary: #0f172a;
    --accent: #f97316;
    --light: #f8fafc;
    --gray: #94a3b8;
    --success: #10b981;
    --padding: 40px;
}

@font-face {
    font-family: 'Nunito';
    src: url('/fonts/Nunito/Nunito-ExtraLight.ttf') format('truetype');
    font-weight: 200;
}
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/Nunito/Nunito-Light.ttf') format('truetype');
    font-weight: 300;
}
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/Nunito/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/Nunito/Nunito-Bold.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/Nunito/Nunito-ExtraBold.ttf') format('truetype');
    font-weight: 600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #334155;
    line-height: 1.6;
    padding: 0;
}


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

/* Header Styles */
header {
    position: sticky;
    top: 0px;
    z-index: 100;
    width: 100%;
    background-color: #ffffff;
    padding: 0 var(--padding);
}

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

.logo {
    align-items: center;
    font-weight: 600;
    color: var(--secondary);
    line-height: 14px;
    background-image: url(/imgs/logo.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left 0px top 0px;
   
    padding: 5px 5px 0px 40px;
}
.logo > span{
    color: #000000;
    font-size: 18px;
}
.logo > div{
    color: var(--primary);
    font-size: 10px
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    width: fit-content;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-radius: 40px;

    background-image: url(/imgs/landing/1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    width: calc(100% - 80px);
    margin: 0 var(--padding);

}

.hero .slogan{
    padding: 5px 20px 2px 40px;
    background-color: #e8e6f4;
    border-radius: 20px;
    color: #343c8a;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    background-image: url(/imgs/mark.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 15px top 30%;
}

.hero-text {
    max-width: 70%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero h1 > span:nth-child(1){
    color: var(--primary);
}
.hero h1 > span:nth-child(2){
    color: var(--success);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #475569;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}



/* About Section */
.dboard {

    padding: 100px var(--padding);
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #f2f6f6;

}

.dboard .slogan{
    padding: 5px 20px 2px 40px;
    background-color: #e8e6f4;
    border-radius: 20px;
    color: #343c8a;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    background-image: url(/imgs/mark.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 15px top 30%;
}

.dboard .dboard-image {
    width: 40%;
    background-image: url(/imgs/landing/3.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.dboard .dboard-contant{
    display: flex;
    gap: 40px;
}

.dboard-text {
    width: 60%;
}

.dboard label{

    display: block;
    padding: 20px;
    font-weight: 1.5rem;
    font-weight: 600;
    background-color: #ffffff;
    border-radius: 1rem;
    margin-bottom: 1rem;

    background-image: url(/imgs/slide_visible.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: right 20px top 20px;
    cursor: pointer;
}

.dboard label:has(input:checked){
    background-image: url(/imgs/slide_hidden.png);
    cursor: default;
}

.dboard label:has(input:checked) > div{
    display: block;
}

.dboard label > div{
    display: none;
    padding: 1rem 0;
    font-weight: 400;
}

.dboard label > input{
    display: none;
}

.dboard h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
}

.dboard h1 > span:nth-child(1){
    color: var(--primary);
}

.dboard h1 > span:nth-child(2){
    color: var(--success);
}

.dboard p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #475569;
}

.dboard-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.devices {
    padding: 100px var(--padding) 50px var(--padding);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.devices .devices-content{
    display: flex;
    background-image: url(/imgs/landing/4.jpg);
    background-repeat: no-repeat;
    background-size: 300px;
    background-position: 50%;
    gap: 300px;
}

.devices .devices-content > div{
    flex: 1;
}


.devices .devices-content > div > div{
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    align-items: center;
    margin-bottom: 2rem;
}

.devices .devices-content > div > div p{
    font-size: 1.2rem;
    font-weight: 300;
}


.devices .devices-content > div:nth-child(2) > div{
    justify-content: flex-end;
    text-align: right;
}



.devices .devices-content > div > div > div{
    margin-bottom: 0;
}

.devices .devices-content > div > div > div:has(i){
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
}

/* About Section */
.about {

    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    width: calc(100% - 80px);
    margin: 0 var(--padding);

}

.about .slogan{
    padding: 5px 20px 2px 40px;
    background-color: #e8e6f4;
    border-radius: 20px;
    color: #343c8a;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    background-image: url(/imgs/mark.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 15px top 30%;
}

.about .about-image {
    width: 40%;
    background-image: url(/imgs/landing/2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left 15px top 30%;
    border-radius: 25px;
}

.about .about-contant{
    display: flex;
    gap: 40px;
}

.about-text {
    width: 60%;
}


.about ul{
  list-style: none; 
  padding: 0;
  margin: 0 0 2rem 0;
}

.about ul > li{
    background-image: url(/imgs/point.png);
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: left 0 top 50%;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    font-size: 1.2rem;
}

.custom-list li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.75em;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  color: #333;
  transition: color 0.3s ease;
}

.about h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about h1 > span:nth-child(1){
    color: var(--primary);
}

.about h1 > span:nth-child(2){
    color: var(--success);
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #475569;
}

.about-buttons {
    display: flex;
    gap: 15px;
}

.steps{
    display: flex;
    gap: 40px;
    border-top: 5px solid #9ae2ca;
    padding-top: 20px;
}

.steps > div{
    position: relative;
    font-size: 1rem;
}

.steps > div::before{
    position: absolute;
    top: -23px;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    content: ' ';
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color: #9ae2ca;
}

.steps > div > div:nth-child(1){
    background-color: #9ae2ca;
    color: #413d4d;
    padding: 0 0.5rem;
    border-radius: 1rem;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
}

.steps > div > div:nth-child(2){
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0;
}

.primary-btn {
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    cursor: pointer;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
}

.secondary-btn {
    background-color: white;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
}

.secondary-btn:hover {
    background-color: #e0f2fe;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.feature-card .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff9800; /* оранжевый цвет для заметности */
    color: white;
    font-size: 10px;
    font-weight: 400;
    padding: 4px 8px 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    pointer-events: none; /* чтобы бейдж не мешал кликам */
}

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

.feature-icon {
    background-color: #dbeafe;
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* Dashboard Preview */
.dashboard-preview {
    background-color: var(--secondary);
    color: white;
    padding: 100px 0;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dashboard-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dashboard-content p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: #cbd5e1;
}

.dashboard-screenshot {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pricing Section */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card > img{
   width: 128px;
   height: 128px;
   margin-bottom: 1rem;
}

.popular-plan {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-features {
    margin: 20px 0;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: var(--success);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: #475569;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--secondary);
}

.author-info h4 {
    color: var(--secondary);
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
}

.faq-answer {
    padding: 0 30px 20px;
    color: #475569;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 10px;
    margin: 50px auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: #cbd5e1;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    font-size: 0.9rem;
    color: #94a3b8;
}

.registrations{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 150;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}


.registrations::before{
    position: fixed;
    content: ' ';
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0,0.5);
    z-index: 1;
}

.registrations > div{
    position: relative;
    padding: 0px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    width: 70%;
    animation: slideUp 0.3s ease-out forwards;
    transform: translateY(100px);
    z-index: 2;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

.registrations > div > div{
    flex: 1;
    box-sizing: border-box;
}

.registrations > div > div:nth-child(1){
    flex: 0 0 40%;
    display: block;
    background-image: url(/imgs/landing/5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}

.registrations > div > div:nth-child(2){
    padding: 2rem;
}

.registrations h3{
    font-size: 2rem;
}

.registrations p{
    font-size: 1.2rem;
}

.registrations .google{
    padding: 0.5rem 1rem 0.5rem 40px;
    background-image: url(/imgs/google.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left 0.5rem top 50%;
    font-size: 1.2rem;
    border: 1px solid #d7dde6;
    display: inline-block;
    border-radius: 10px;
    margin: 1rem 0 2rem 0;
    cursor: pointer;
}

.registrations .google:hover{
    border: 1px solid #165cc5;
}

.registrations .continue{
    position: relative;
    border-top: 1px solid #d7dde6;
}

.registrations .continue::after{
    content: attr(data-text);
    background: #fff;
    padding: 0 1rem;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 0;
    left: 50%;
    white-space: nowrap;
}

.registrations .form{
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.registrations .exist{
    margin-top: 1.5rem;
    text-align: center;
}

.registrations .exist > a{
    color: #7444fd;
    text-decoration: underline;
    cursor: pointer;
}

.registrations .form input[type="text"],
.registrations .form input[type="email"],
.registrations .form input[type="password"]{
    border: 1px solid #d7dde6;
    outline: none;
    padding: 1rem;
    border-radius: 10px;
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.registrations .form input[type="text"].error,
.registrations .form input[type="email"].error,
.registrations .form input[type="password"].error{
    border: 1px solid #ec4f4f;
}

.registrations .form input[type="text"].success,
.registrations .form input[type="email"].success,
.registrations .form input[type="password"].success{
    border: 1px solid #23a160;
}

.registrations .form label{
    cursor: pointer;
}
.registrations .form label.error{
    color: #ec4f4f;
}

.registrations .closed{
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background-image: url(/imgs/x.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: pointer;
}

.registrations .sign-button{
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    width: fit-content;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
    border: none;
}

.registrations .sign-button > span{
    position: relative;

}

.registrations .sign-button.wait{
    pointer-events: none;
}
.registrations .sign-button.wait::before{
    content: ' ';
    position: absolute;
    width: 0px;
    height: 0px;
    background-color: var(--primary-dark);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 50px;
    animation: hov 1s ease-out infinite alternate;
}

.registrations .sign-button:hover {
    background-color: var(--primary-dark);
}

.registrations .sign-button:hover::before{
    content: ' ';
    position: absolute;
    width: 0px;
    height: 0px;
    background-color: #343c8a;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 50px;
    animation: hov 0.3s ease-out forwards;
}

.registrations ul{
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

.registrations ul li{
    padding-left: 25px;
    background-image: url(/imgs/check2.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 0px top 30%;
}

.registrations ul li.success{
    padding-left: 25px;
    background-image: url(/imgs/check1.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 0px top 30%;
}

.registrations .wrong > a{
    text-decoration: underline;
    cursor: pointer;
}
.registrations .wrong {
	position: relative;
	background-color: #fde8e4;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	overflow: hidden;
	color: #f06548;
	margin: 0.5rem 0 1rem 0;
    font-size: 12px;
}
.registrations .wrong:empty{
	  display: none;
}
.registrations .wrong.note {
    color: #4173bd;
    background-color: #e4f7fd;
}
.registrations .wrong.note::before {
    content: 'ⓘ ';
}
.registrations .wrong::before {
	 content: '⚠ ';
	 font-family: Arial;
 }


    .registrations .forgot{
        text-align: right;
        font-size: 0.8rem;
    }

    .registrations .forgot a{
        color: #7444fd;
        cursor: pointer;
        text-decoration: underline;
    }

    .registrations .forgot a:hover{
        text-decoration: none;
    }

@keyframes hov {
    0% {
        width: 0px;
        height: 0px;
    }
    20% {
        width: 50px;
        height: 50px;
    }
    100% {
        width: 100%;
        height: 100%;
    }
}


/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .popular-plan {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 70px 0;
    }
}