:root {
    /* Светлая тема */
    --bg-color: #e0e5ec;
    --text-color: #333;
    --primary: #3a7dd5;
    --primary-light: #8577ee;
    --shadow-light: -8px -8px 15px rgba(255, 255, 255, 0.7), 
                   8px 8px 15px rgba(163, 177, 198, 0.6);
    --shadow-inset: inset -3px -3px 7px rgba(255, 255, 255, 0.7), 
                   inset 3px 3px 7px rgba(163, 177, 198, 0.6);
    
    /* Тёмная тема */
    --bg-color-dark: #20272f;
    --text-color-dark: #f0f0f0;
    --primary-dark: #6fe64b;
    --shadow-dark: -8px -8px 15px rgba(25, 27, 30, 0.7), 
                  8px 8px 15px rgba(0, 0, 0, 0.6);
    --shadow-inset-dark: inset -3px -3px 7px rgba(25, 27, 30, 0.7), 
                       inset 3px 3px 7px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.dark {
    --bg-color: var(--bg-color-dark);
    --text-color: var(--text-color-dark);
    --primary: var(--primary-dark);
    --shadow-light: var(--shadow-dark);
    --shadow-inset: var(--shadow-inset-dark);
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

/* Кнопка переключения темы */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow-inset);
    border-radius: 30px;
    transition: 0.4s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: var(--primary);
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.logo {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.hexagon-logo {
    position: relative;
    width: 37px;
    height: 39px;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: var(--shadow-light),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: pulse 3s ease-in-out infinite;
}
/* Новые стили для анимации */
@keyframes pulse {
    0%, 100% {
      opacity: 0.8;
      transform: scale(0.98);
      box-shadow: 
        var(--shadow-light),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
    50% {
      opacity: 1;
      transform: scale(1.02);
      box-shadow: 
        var(--shadow-light),
        inset 0 0 25px rgba(255, 255, 255, 0.5),
        0 0 15px var(--primary);
    }
  }

.logo-container{
        display: inline-flex;
        align-items: center;
        gap: 20px; /* Расстояние между логотипом и текстом */
        
       
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 45px;
    opacity: 0.8;
}

.preview {
    width: 100%;
    height: 400px;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-inner {
    width: 95%;
    height: 85%;
    background: var(--bg-color);
    border-radius: 15px;
    box-shadow: var(--shadow-inset);
    position: relative;
}

.table {
    position: absolute;
    width: 200px;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 15px;
    transition: all 0.3s ease;
}

.table-1 {
    top: 20%;
    left: 15%;
    animation: float 6s ease-in-out infinite;
}

.table-2 {
    top: 30%;
    right: 15%;
    animation: float 5s ease-in-out infinite 1s;
}

.table-3 {
    bottom: 20%;
    left: 40%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.table-header {
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.table-field {
    font-family: monospace;
    font-size: 0.9rem;
    margin: 5px 0;
    text-align: left;
}

.primary-key::before {
    content: "🔑 ";
}

.cta {
    margin-top: 40px;
}

.notify-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.notify-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-light);
    box-shadow: var(--shadow-light), 
               inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.coming-soon {
    margin-top: 20px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    width: 250px;
    padding: 25px;
    background: var(--bg-color);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 10px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

footer {
    margin-top: 80px;
    padding: 20px;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .logo {
        font-size: rem;
    }
    .tagline {
        font-size: 1.2rem;
    }
    .features {
        flex-direction: column;
        align-items: center;
    }
    .table {
        width: 150px;
        padding: 10px;
    }
}
