:root {
--primary: #343a40;
--secondary: #339af0;
--accent: #e8590c;
--light: #f5fcff;
--dark: #212529;
--gray: #6c757d;
--transition: all 0.3s ease;
}

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

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--dark);
background-color: var(--light);
overflow-x: hidden;
}

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

/* Header Styles */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
padding: 15px 0;
}

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

.logo {
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
text-decoration: none;
}

.logo span {
color: var(--accent);
}

.nav-links {
display: flex;
list-style: none;
}

.nav-links li {
margin-left: 30px;
}

.nav-links a {
text-decoration: none;
color: var(--dark);
font-weight: 500;
transition: var(--transition);
position: relative;
}

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

.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background-color: var(--accent);
transition: var(--transition);
}

.nav-links a:hover::after {
width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  background: linear-gradient(135deg, rgba(156, 89, 182, 0.05) 0%, rgb(52 152 219 / 21%) 100%);
}

.hero-content {
text-align: center;
max-width: 800px;
margin: 0 auto;
padding: 40px 0;
}

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

.hero p {
font-size: 1.2rem;
color: var(--gray);
margin-bottom: 30px;
}

.hero-btns {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 30px;
}

.btn {
display: inline-block;
padding: 12px 30px;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
transition: var(--transition);
cursor: pointer;
border: none;
font-size: 1rem;
}

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

.btn-primary:hover {
background-color: #357fb8;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(85, 150, 202, 0.3);
}

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

.btn-secondary:hover {
background-color: #2980b9;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

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

.section-header {
text-align: center;
margin-bottom: 70px;
}

.section-header h2 {
font-size: 2.5rem;
color: var(--primary);
margin-bottom: 15px;
position: relative;
display: inline-block;
}

.section-header h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background-color: var(--accent);
}

.section-header p {
color: var(--gray);
max-width: 700px;
margin: 20px auto 0;
font-size: 1.1rem;
}

/* About Section */
.about-content {
display: flex;
align-items: center;
gap: 50px;
}

.about-text {
flex: 1;
}

.about-image {
flex: 1;
text-align: center;
}

.about-image img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.feature-card {
background: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: var(--transition);
}

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

.feature-card i {
font-size: 2.5rem;
color: var(--accent);
margin-bottom: 20px;
}

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

.feature-card p {
color: var(--gray);
}

/* Functions Section */
.functions-container {
background-color: #f8f9fa;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.function-tabs {
display: flex;
background: white;
border-bottom: 1px solid #eee;
}

.function-tab {
flex: 1;
padding: 20px;
text-align: center;
cursor: pointer;
transition: var(--transition);
font-weight: 600;
color: var(--gray);
}

.function-tab.active {
color: var(--accent);
border-bottom: 3px solid var(--accent);
}

.function-content {
padding: 50px;
}

.function-item {
margin-bottom: 30px;
padding-left: 30px;
border-left: 3px solid var(--accent);
}

.function-item h4 {
font-size: 1.3rem;
margin-bottom: 10px;
color: var(--primary);
}

.function-item p {
color: var(--gray);
}

/* Get Started Section */
.get-started {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
color: white;
text-align: center;
position: relative;
overflow: hidden;
}

.get-started::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.03)" points="0,100 100,0 100,100"/></svg>');
background-size: cover;
}

.get-started .section-header h2,
.get-started .section-header p {
color: white;
}

.get-started .section-header h2::after {
background-color: white;
}

.options {
display: flex;
justify-content: center;
gap: 40px;
margin-top: 50px;
flex-wrap: wrap;
}

.option-card {
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
padding: 40px;
max-width: 450px;
width: 100%;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: var(--transition);
}

.option-card:hover {
transform: translateY(-10px);
background: rgba(255, 255, 255, 0.15);
}

.option-card h3 {
font-size: 1.8rem;
margin-bottom: 20px;
}

.option-card p {
margin-bottom: 25px;
opacity: 0.9;
}

/* Footer */
footer {
background-color: var(--primary);
color: white;
padding: 50px 0 20px;
}

.footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-bottom: 40px;
}

.footer-logo {
flex: 1;
min-width: 300px;
margin-bottom: 30px;
}

.footer-logo .logo {
color: white;
font-size: 2rem;
margin-bottom: 15px;
display: inline-block;
}

.footer-links {
flex: 1;
min-width: 200px;
margin-bottom: 30px;
}

.footer-links h4 {
font-size: 1.2rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}

.footer-links h4::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background-color: var(--accent);
}

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

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

.footer-links a {
color: #ccc;
text-decoration: none;
transition: var(--transition);
}

.footer-links a:hover {
color: white;
padding-left: 5px;
}

.copyright {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.9rem;
color: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {
.hero h1 {
font-size: 3rem;
}

.about-content {
flex-direction: column;
}

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

@media (max-width: 768px) {
.nav-links {
display: none;
}

.hero h1 {
font-size: 2.5rem;
}

.hero-btns {
flex-direction: column;
align-items: center;
}

.function-tabs {
flex-direction: column;
}

.section-header h2 {
font-size: 2rem;
}
}

@media (max-width: 576px) {
.hero h1 {
font-size: 2rem;
}

.hero p {
font-size: 1rem;
}

.feature-card {
padding: 20px;
}

.function-content {
padding: 30px 20px;
}
}
.function-pane {
display: none;
}

.function-pane.active {
display: block;
}

.beta-label {
  font-size: 0.2em;
  color: white;
  margin-left: 4px;
  font-style: italic;
  background-color: #898585;
  padding: 3px 10px;
  border-radius: 10px;
}

/* Стили модального окна с изображением */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

