/* ---- COLORS ---- */
:root {
    --light-gray: #DCDCDD;
    --medium-gray: #C5C3C6;
    --dark-gray: #46494C;
    --slate-blue: #4C5C68;
    --teal: #1985A1;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

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

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(rgba(25, 133, 161, 0.85), rgba(25, 133, 161, 0.5)), 
                url('../img/buildings-205986_1280.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
}

.hero-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--dark-gray);
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--slate-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero p {
    color: var(--slate-blue);
    margin-bottom: 2rem;
}

/* ---- FORM ---- */
.demo-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--slate-blue);
}

.form-control {
    padding: 0.8rem 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(25, 133, 161, 0.2);
}

.qr-result {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    margin-top: 2rem;
    background-color: rgba(25, 133, 161, 0.05);
    border-radius: 8px;
    border: 1px dashed var(--teal);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.qr-result img {
    max-width: 200px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: #14758e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
    background-color: #3a4d5c;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--teal);
    border: 1px solid var(--teal);
}

.btn-outline:hover {
    background-color: rgba(25, 133, 161, 0.1);
}

/* ---- VALUE PROP ---- */
.value-prop {
    padding: 5rem 0;
    background-color: var(--white);
    text-align: center;
}

.value-prop h2 {
    font-size: 2rem;
    color: var(--slate-blue);
    margin-bottom: 1.5rem;
}

.value-prop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .value-prop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid var(--light-gray);
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--slate-blue);
    margin-bottom: 1rem;
}

/* ---- API CTA ---- */
.api-cta {
    padding: 5rem 0;
    background-color: var(--light-gray);
    text-align: center;
}

.api-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.api-cta h2 {
    font-size: 2rem;
    color: var(--slate-blue);
    margin-bottom: 1.5rem;
}

.api-cta p {
    color: var(--slate-blue);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.api-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .api-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.api-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.api-feature i {
    color: var(--teal);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* ---- HEADER & FOOTER ---- */
header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--slate-blue);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

nav {
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

nav ul li a {
    color: var(--slate-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

nav ul li a:hover {
    color: var(--teal);
}

footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--teal);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 2rem;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 1rem;
        transform: translateY(-150%);
        opacity: 0;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

    .hero-content {
        padding: 2rem;
        margin: 1rem;
    }

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


.lang-switcher {
    position: relative;
    display: inline-block;
    min-width: 140px;
}

.lang-switcher i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 35px 8px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.lang-select:hover {
    border-color: #cbd5e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66,153,225,0.2);
}

/* Custom dropdown arrow */
.lang-select::-ms-expand { display: none; }
.lang-select:after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #718096;
    pointer-events: none;
}

.custom-lang-switcher {
    position: relative;
    display: inline-block;
    min-width: 70px;
}

.selected-lang {
    padding: 6px 25px 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-top: 5px;
    display: none;
    min-width: 100px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lang-option {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2d3748;
    text-decoration: none;
    font-size: 13px;
}

.lang-option:hover {
    background: #f8fafc;
}

.custom-lang-switcher:hover .lang-options {
    display: block;
}

.fi {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}