* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    line-height: 1.6;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00b4d8, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.try-now-btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #4361ee, #3a0ca3);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    margin: 2rem 0;
}

.try-now-btn:hover {
    transform: scale(1.05);
}

.drop-trigger-block {
    width: 100%;
    max-width: 480px;
    min-height: 180px;
    margin: 2rem 0;
    padding: 2rem;
    border: 2px dashed rgba(0, 180, 216, 0.6);
    border-radius: 12px;
    background: rgba(0, 180, 216, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drop-trigger-block:hover {
    border-color: rgba(0, 180, 216, 1);
    background: rgba(0, 180, 216, 0.15);
    transform: scale(1.02);
}

.drop-trigger-block:focus {
    outline: 2px solid rgba(0, 180, 216, 0.8);
    outline-offset: 2px;
}

.drop-trigger-text {
    font-size: 1.2rem;
    color: #a8dadc;
    margin: 0;
}

.drop-trigger-hint {
    font-size: 0.85rem;
    color: rgba(168, 218, 220, 0.7);
    margin: 0.5rem 0 0;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-switcher a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Unified site header (all devices) */
body.has-site-header {
    padding-top: 52px;
}
.site-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: rgba(22, 33, 62, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0 12px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header a,
.site-header .mobile-nav-btn {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
}
.site-header a:hover,
.site-header .mobile-nav-btn:hover {
    background: rgba(255,255,255,0.1);
}
.site-header .mobile-nav-left {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-header .mobile-nav-center {
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-header .mobile-nav-right {
    display: flex;
    align-items: center;
}
.site-header .mobile-lang-select {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.85rem;
    cursor: pointer;
}
.site-header .mobile-lang-select option {
    background: #1a1a2e;
    color: #fff;
}
.site-header .credits-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.site-header .credits-button svg {
    width: 1em;
    height: 1em;
}
.site-header .home-icon {
    font-size: 1.2rem;
    padding: 8px;
}

/* Hero features, description, CTA, reviews */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1rem;
}
.hero-features .feature-item .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.hero-features .feature-item .icon.check,
.hero-features .feature-item .lucide-circle-check-big { color: #22c55e; }
.hero-features .feature-item .flex { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-features .feature-item .w-4 { width: 1rem; }
.hero-features .feature-item .h-4 { height: 1rem; }
.hero-features .feature-item .icon.lightning { color: #fbbf24; }
.hero-features .feature-item .icon.star { color: #fbbf24; }
.link-slider {
    display: flex;
    gap: 12px;
    padding: 12px;
    margin: 12px 0 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
}
.link-slider::-webkit-scrollbar {
    height: 8px;
}
.link-slider::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
}
.link-slider .slide-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
}
.link-slider .slide-link:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}
.link-slider .slide-link:focus-visible {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}
.hero-description-block {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    padding: 1.5rem 2rem;
    background: #232e3a;
    border-radius: 0;
    text-align: center;
    box-sizing: border-box;
}
.hero-description-block p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}
.hero-description-block p + p {
    margin-top: 0.75rem;
}
.cta-block {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #1a122e;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.cta-block h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.cta-block p {
    color: #d4d4d4;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.cta-block .cta-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(90deg, #a020f0, #483d8b);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-block .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}
.reviews-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.reviews-section h2 {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.reviews-section .reviews-subtitle {
    text-align: center;
    color: #a8b2c1;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.review-card {
    background: #1a202c;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.review-card .stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.review-card .quote {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.review-card .author {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}
.review-card .role {
    color: #a8b2c1;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}

.tools-grid {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.tools-grid h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #00b4d8, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00b4d8;
}

.tool-card p {
    color: #a8dadc;
    margin-bottom: 1.5rem;
}

.tool-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #4361ee, #3a0ca3);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.tool-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .tools-container {
        grid-template-columns: 1fr;
    }
}

.chat-area {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.chat-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.chat-box textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    resize: vertical;
}

.chat-box textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.send-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    background: linear-gradient(45deg, #4361ee, #3a0ca3);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    align-self: flex-end;
}

.send-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .chat-area {
        padding: 1rem;
    }
    
    .chat-box textarea {
        min-height: 80px;
    }
}

/* Tag Cloud Styles */
.tag-cloud {
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
}

.tag-row {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
    animation: scroll 20s linear infinite;
}

.tag-row:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 25s;
}

.tag-row:nth-child(3) {
    animation-duration: 30s;
}

.tag {
    background: #2C2C2E;
    color: #E5E5EA;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Mask for smooth fade effect */
.tag-cloud::before,
.tag-cloud::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.tag-cloud::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.tag-cloud::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

/* Video Tutorial Styles */
.video-tutorial {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin: 2rem 0;
}

.video-tutorial h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00b4d8, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.video-description {
    max-width: 800px;
    margin: 2rem auto;
    color: #a8dadc;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .video-tutorial {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .video-tutorial h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .video-container {
        max-width: 100%;
        border-radius: 4px;
    }
    
    .video-description {
        padding: 0 1rem;
        font-size: 1rem;
    }
}

.tag-cloud-section {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    margin: 2rem 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .tag-cloud-section {
        padding: 2rem 1rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #4361ee, #3a0ca3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.back-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Footer Styles */
.site-footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-section h3 {
    color: #00b4d8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 a {
    color: inherit;
    text-decoration: none;
}

.footer-section h3 a:hover {
    text-decoration: underline;
}

.footer-section h4 {
    color: #4361ee;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #a8dadc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section .schema-app-info {
    font-size: 0.8rem;
    color: rgba(168, 218, 220, 0.7);
    margin-top: 0.75rem;
    line-height: 1.5;
}

.footer-nav ul,
.footer-languages ul {
    list-style: none;
    padding: 0;
}

.footer-nav li,
.footer-languages li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-languages a,
.footer-contact a {
    color: #a8dadc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-languages a:hover,
.footer-contact a:hover {
    color: #00b4d8;
}

.footer-contact {
    font-style: normal;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: #a8dadc;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem 1rem;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-bottom {
        padding: 1rem;
    }
} 