:root {
    --white-cultured: #F0F2F5;
    --gray-dark: #2D3748;
    --white-fafa: #FAFAFA;
    --blue-tech: #1a6aff;
    --gray-light: #718096;
    --pure-white: #FFFFFF;
    --border-color: #E2E8F0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--pure-white);
    color: var(--gray-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
    font-family: 'Urbanist', sans-serif;
    color: var(--gray-dark);
    font-weight: 700;
    line-height: 1.2;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 80px 0;
    overflow: hidden;
}
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-tech), #ff8c00);
    margin: 15px auto 0;
    border-radius: 2px;
}
.language-selector-bar .container {
    display: flex;
    justify-content: space-between;
}
.bar-logo img {
    height: 25px;
    width: auto;
    display: block;
}
.lang-options {
    display: flex;
    gap: 20px; 
}
.lang-btn img {
    margin-right: 8px; 
    transition: margin-right 0.3s ease; 
}
.lang-full {
    display: inline;
}
.lang-short {
    display: none;
}
@media (max-width: 768px) {
    .lang-full {
        display: none;
    }
    .lang-short {
        display: inline;
    }
    .lang-btn img {
        margin-right: 6px;
    }
}
@media (max-width: 400px) {
    .lang-short {
        display: none;
    }
    .lang-btn img {
        margin-right: 0;
    }
}
.language-selector-bar {
    background-color: var(--white-cultured);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.lang-btn {
    color: var(--gray-dark); 
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    opacity: 0.7; 
}
.lang-btn:hover {
    color: var(--gray-light);
    opacity: 1;
}
.lang-btn.active {
    color: var(--blue-tech);
    font-weight: 700;
    opacity: 1;
}
.lang-btn img {
    width: 20px;
    height: auto;
    border-radius: 3px;
}
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease-out;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--blue-tech);
    color: var(--pure-white);
    border-color: var(--blue-tech);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(26, 106, 255, 0.8);
}
.btn-secondary {
    background-color: transparent;
    color: var(--blue-tech);
    border-color: var(--blue-tech);
}
.btn-secondary:hover {
    background-color: var(--blue-tech);
    color: var(--pure-white);
    transform: translateY(-3px);
}
.hero {
    background: var(--pure-white);
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.hero-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 50px;
}
.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.hero-text h1 span {
    color: var(--blue-tech);
    display: block;
}
.hero-text p.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}
.hero-image {
    position: relative;
    text-align: center;
}

.hero-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.hero-slider {
    display: flex;
    transition: transform 0.7s ease-in-out;
}
.hero-slider img {
    width: 100%;
    flex: 0 0 100%;
    object-fit: contain;
}
.hero-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.hero-slider-nav a {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s;
}
.hero-slider-nav a:hover,
.hero-slider-nav a.active {
    background-color: var(--blue-tech);
}

.features { background-color: var(--white-cultured); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card {
    background: linear-gradient(145deg, #16294a, #0e1d3a);
    padding: 40px 30px; border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-icon { font-size: 3rem; color: var(--blue-tech); margin-bottom: 20px; }
.feature-card h4 { font-size: 1.4rem; margin-bottom: 15px; color: var(--pure-white); }

.video-section { background-color: var(--white-fafa); }
.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0;
    overflow: hidden; max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.device-gallery { background-color: var(--pure-white); }
.device-description-text {
    max-width: 900px;
    margin: -20px auto 40px;
    text-align: center;
    color: var(--gray-light);
}
.device-description-text p {
    margin-bottom: 1rem;
}
.device-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.device-gallery .gallery-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease-in-out;
}
.device-gallery .gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.app-section { background-color: var(--white-cultured); }
.app-content {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 60px;
}
.app-info h3 { font-size: 2.2rem; margin-bottom: 20px; }
.app-info .app-icon {
    width: 80px; height: 80px; border-radius: 18px;
    float: left; margin: 0 20px 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.app-features-list { list-style: none; margin-bottom: 30px; margin-top: 20px; }
.app-features-list li { margin-bottom: 12px; display: flex; align-items: flex-start; }
.app-features-list li i { color: var(--blue-tech); margin-right: 12px; margin-top: 5px; }
.app-download-badges img {
    height: 50px; margin-right: 15px; transition: transform 0.2s;
}
.app-download-badges img:hover { transform: scale(1.05); }

.app-carousel-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.app-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.app-slider-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    flex: 0 0 100%;
}
.slide img {
    width: 100%;
    display: block;
}
.app-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    color: var(--pure-white);
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0;
}
.app-slider:hover .app-slider-btn {
    opacity: 1;
}
.app-slider-btn:hover {
    background-color: rgba(0,0,0,0.7);
}
.app-slider-btn.prev {
    left: 10px;
}
.app-slider-btn.next {
    right: 10px;
}

.testimonials { background-color: var(--pure-white); }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.testimonial-card {
    background-color: var(--white-cultured); padding: 30px; border-radius: 8px;
    border-left: 5px solid var(--blue-tech);
}
.testimonial-card p { font-style: italic; font-size: 1.1rem; margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--gray-light); }
.testimonial-author span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--gray-light); }

.cta {
    background: linear-gradient(135deg, var(--white-cultured), var(--pure-white));
    text-align: center;
}
.cta-content { max-width: 700px; margin: 0 auto; }
.cta h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta p { margin-bottom: 40px; font-size: 1.1rem; }

footer { background-color: #020c1b; padding: 50px 0; text-align: center; }
.footer-logo { font-family: 'Urbanist', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--blue-tech); margin-bottom: 20px; }
.footer-socials a { color: var(--gray-light); font-size: 1.5rem; margin: 0 15px; transition: color 0.3s; }
.footer-socials a:hover { color: var(--blue-tech); }
.footer-copyright { margin-top: 20px; font-size: 0.9rem; }
footer {
    background-color: #020c1b;
    padding: 50px 0;
    text-align: center;
    min-height: 100px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: -40px;
    margin-bottom: 20px;
    width: 100%;
}
.footer-logo-rotated {
    align-items: left;
    flex-shrink: 0; 
}
.footer-logo-rotated img {
    height: 40px;
    width: auto;
    transform: rotate(-90deg);
    transition: transform 0.3s ease-in-out;
}
.footer-socials {
    flex-grow: 1;
    text-align: center;
}
.footer-socials a {
    color: var(--gray-light);
    font-size: 1.5rem;
    margin: 0 15px; 
    transition: color 0.3s;
}
.footer-socials a:hover {
    color: var(--blue-tech);
}
.footer-copyright {
    text-align: center;
    width: 100%;
    margin-top: 20px;
    font-size: 0.9rem;
}
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; margin-bottom: 40px; }
    .hero-text p.subtitle { margin-left: auto; margin-right: auto; }
    .app-content { grid-template-columns: 1fr; }
    .app-info { order: -1; text-align: center; }
    .app-info .app-icon { float: none; margin: 0 auto 20px; }
    .app-carousel-container { margin-bottom: 40px; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .hero-buttons { display: flex; flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 80%; max-width: 300px; margin-right: 0; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .language-selector-bar .container { justify-content: space-between; }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
.modal-content {
    position: relative;
    background-color: var(--white-fafa);
    margin: auto;
    padding: 30px 40px;
    border: 1px solid var(--blue-tech);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}
.modal-content h2 {
    margin-bottom: 10px;
    color: var(--gray-dark);
}
.modal-content p {
    margin-bottom: 25px;
    color: var(--gray-dark);
}
.close-btn {
    color: var(--gray-dark);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s;
}
.close-btn:hover,
.close-btn:focus {
    color: var(--blue-tech);
    text-decoration: none;
    cursor: pointer;
}@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-group {
    margin-bottom: 12px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--gray-dark);
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    border-radius: 0;
    transition: border-bottom-color 0.3s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--blue-tech);
    box-shadow: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
    opacity: 0.8;
}
.error-message {
    color: #ff9b9b; 
    font-size: 0.9rem;
    margin-top: 5px;
    height: 15px;
    transition: opacity 0.3s;
}
.modal-form .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}
#modal-form-status {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
    display: none;
}
#modal-form-status.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #a3d9b3;
    display: block;
}
#modal-form-status.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff9b9b;
    display: block;
}