:root {
    --accent: #1C3E7B;
    --accent-alternate: #2563EB;

    --accent-light: #eaf3fc;
    --feature-bg: #fff;
    --feature-border: #e6e9ef;
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #212529;
    background: linear-gradient(120deg, #f7fafd 0%, #eaf3fc 100%);
    min-height: 100vh;
}

header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 50;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0.3rem 2vw;
    height: 62px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(24,119,242,0.06);
}
.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1C3E7B;
    letter-spacing: 0.02em;
}
.logo-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.header-center {
    margin-left: 15px;
}
.header-center select {
    border-radius: 6px;
    padding: 5px 22px 5px 9px;
    border: 1px solid #e3e8f1;
    background: #f7fafd;
    color: #2a3245;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 1.7rem;
    list-style: none;
    margin-left: auto;
}
.nav-links li a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.17s;
    font-size: 1.09rem;
}
.nav-links li a:hover {
    color: #2563eb;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    height: 32px;
    width: 32px;
    margin-left: 18px;
    cursor: pointer;
}
.burger span {
    width: 26px;
    height: 3.5px;
    background: #1C3E7B;
    margin: 3px 0;
    border-radius: 3px;
    transition: all .25s;
}

/* Mobile styles */
@media (max-width: 820px) {
    .header-center { margin-left: 0; }
    .nav-links {
        position: absolute;
        top: 62px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 78vw;
        min-width: 180px;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 4px 28px 0 rgba(37,99,235,0.08);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.24s;
        z-index: 1000;
        padding: 1.2rem 1rem;
    }
    .nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links li {
        margin: 1.2rem 0;
        text-align: left;
    }
    .burger {
        display: flex;
    }
}
@media (max-width: 600px) {
    nav {
        padding: 0.2rem 4vw;
    }
    .logo-title {
        font-size: 1rem;
    }
    .logo-img {
        width: 32px;
        height: 32px;
    }
    .header-center select {
        font-size: 0.95rem;
        padding: 4px 14px 4px 7px;
    }
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0.3rem 2vw;
    height: 62px;
    position: relative;
    background: #fff;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(24,119,242,0.06);
}
.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1C3E7B;
    letter-spacing: 0.02em;
}
.nav-links {
    display: flex;
    gap: 1.7rem;
    list-style: none;
    margin-left: auto;
    margin-right: 15px;
}
.nav-links li a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.17s;
    font-size: 1.09rem;
}
.nav-links li a:hover {
    color: #2563eb;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
#language-select {
    border-radius: 7px;
    border: 1px solid #e3e8f1;
    padding: 0.35rem 1.1rem 0.35rem 0.8rem;
    font-size: 1rem;
    background: #f7fafd;
    font-weight: 600;
    color: #1c3e7b;
}
#language-select:focus {
    border-color: #2563EB;
    outline: none;
}
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 7px;
    z-index: 101;
}
.burger span {
    width: 26px;
    height: 3.5px;
    background: #1C3E7B;
    margin: 3px 0;
    border-radius: 3px;
    transition: all .25s;
}
.burger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.burger.toggle span:nth-child(2) {
    opacity: 0;
}
.burger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ONLY ONE breakpoint for responsive nav: */
@media (max-width: 820px) {
    .nav-links {
        position: absolute;
        right: 2vw;
        top: 62px;
        background: #fff;
        flex-direction: column;
        min-width: 170px;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 4px 28px 0 rgba(37,99,235,0.10);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.24s;
        z-index: 500;
        padding: 1.2rem 1rem;
        margin: 0;
    }
    .nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links li {
        margin: 1.2rem 0;
        text-align: left;
    }
    .burger {
        display: flex !important;
    }
}

/* HERO */

.hero {
    background: var(--accent-light);
    padding: 4rem 0 3rem 0;
    text-align: center;
    box-shadow: 0 2px 18px 0 rgba(24,119,242,0.04);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.1rem;
    line-height: 1.2;
}

.hero p {
    color: #46556a;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.app-store-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.app-store-badges img {
    width: 160px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(24,119,242,0.09);
    transition: transform .15s;
}
.app-store-badges img:hover {
    transform: scale(1.04);
}

.cta-button {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 24px;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
    box-shadow: 0 2px 10px 0 rgba(24,119,242,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
    background: #165ac3;
    box-shadow: 0 2px 18px 0 rgba(24,119,242,0.16);
}

/* FEATURES */

.features-section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.features-section h2 {
    text-align: center;
    color: var(--accent);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--feature-bg);
    border: 1px solid var(--feature-border);
    border-radius: 14px;
    padding: 2.1rem 1.2rem 1.3rem 1.2rem;
    text-align: center;
    box-shadow: 0 2px 16px 0 rgba(24,119,242,0.05);
    transition: box-shadow 0.18s, border 0.18s;
}

.feature-card i {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 1.1rem;
}

.feature-card h3 {
    color: #212529;
    font-size: 1.16rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.feature-card p {
    color: #44506c;
    font-size: 1.07rem;
    line-height: 1.6;
}

.feature-card:hover {
    box-shadow: 0 4px 32px 0 rgba(24,119,242,0.13);
    border: 1.5px solid var(--accent);
}

/* HOW IT WORKS */

.how-section {
    background: #f5f7fb;
    padding: 3.5rem 1.5rem;
    margin-top: 3rem;
}
.how-section h2 {
    text-align: center;
    color: var(--accent);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
}
.how-grid {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.how-step {
    flex: 1 1 220px;
    min-width: 200px;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 18px 0 rgba(24,119,242,0.03);
    padding: 1.8rem 1.2rem;
    text-align: center;
    border-top: 4px solid var(--accent);
}
.how-number {
    display: inline-block;
    font-size: 1.3rem;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    width: 2.3rem;
    height: 2.3rem;
    line-height: 2.3rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}
.how-step h4 {
    margin-bottom: 0.65rem;
    color: #222;
    font-size: 1.11rem;
    font-weight: 600;
}
.how-step p {
    color: #5a6071;
    font-size: 1rem;
    line-height: 1.45;
}

/* ABOUT */

.about-section {
    background: none;
    padding: 3.5rem 1.5rem;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-content h2 {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.about-content p {
    color: #495064;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* CONTACT */

.contact-section {
    background: #fff;
    padding: 3rem 1.5rem 2rem 1.5rem;
    border-top: 1px solid #e9e9ea;
}
.contact-content {
    text-align: center;
}
.contact-content h2 {
    color: var(--accent);
    margin-bottom: 0.7rem;
}
.contact-link {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 1.17rem;
    color: var(--accent);
    text-decoration: none;
    background: #eaf3fc;
    padding: 0.55rem 1.4rem;
    border-radius: 22px;
    font-weight: 600;
    transition: background .14s;
}
.contact-link:hover {
    background: #d1e6fa;
}

/* FOOTER */
.footer-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: #374151;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  gap: 1rem;
}


.footer-company {
 color: #1C3E7B;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  margin-right: 0.25rem;
  transition: color 0.2s;
}

.footer-link:hover {
  text-decoration: underline;
  color: #1c3e7b;
}

.footer-divider {
  color: #b6bbc7;
  margin: 0 0.3rem;
  font-weight: 400;
}

.footer-social {
  color: #2563eb;
  font-size: 1.25em;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-social:hover {
  color: #1c3e7b;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.98rem;
    padding: 1.1rem 0.5rem;
  }
  .footer-right {
    margin-top: 0.3rem;
  }
}


/* RESPONSIVE */

@media (max-width: 1000px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 700px) {
    nav {
        /* flex-direction: column;
        align-items: flex-start; */
        gap: 0.8rem;
    }
    .nav-links {
        gap: 1.1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .how-grid {
        flex-direction: column;
        gap: 1.4rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.3rem;
        align-items: center;
    }
    .app-store-badges img {
        width: 128px;
        height: 38px;
    }
}


@media (max-width: 400px) {
    nav {
        padding: 0.18rem 2vw;
        height: 54px;
    }
    .logo-img {
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }
    .logo-title {
        font-size: 0.96rem;
        letter-spacing: 0.01em;
        max-width: 80px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    #language-select {
        font-size: 0.85rem;
        padding: 4px 8px 4px 5px;
        min-width: 70px;
        max-width: 80px;
    }
    .burger {
        margin-left: 4px;
        width: 25px;
        height: 25px;
    }
    .burger span {
        width: 18px;
        height: 3px;
        margin: 2.2px 0;
    }
    .nav-links {
        min-width: 120px;
        padding: 0.9rem 0.4rem;
        font-size: 1rem;
        gap: 0.7rem;
    }
    .nav-links li {
        margin: 0.7rem 0;
    }
    .hero-content {
        padding: 0 0.5rem;
    }
    .hero h1 {
        font-size: 1.3rem;
        line-height: 1.16;
        margin-bottom: 0.7rem;
        word-break: break-word;
    }
    .hero p {
        font-size: 0.98rem;
        margin-bottom: 1.2rem;
    }
    .app-store-badges img {
        width: 112px;
        height: 33px;
    }
    .cta-button {
        font-size: 1rem;
        padding: 0.65rem 1.1rem;
        margin-top: 0.4rem;
    }
    /* Adjust footer if needed */
    .footer-content {
        font-size: 0.93rem;
    }
}



.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 1.5rem;
    z-index: 999;
}
.burger span {
    width: 27px;
    height: 3.5px;
    background: #1C3E7B;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.28s;
}
@media (max-width: 800px) {
    nav {
        flex-wrap: wrap;
    }
    .nav-links {
        position: absolute;
        right: 2vw;
        top: 72px;
        background: #fff;
        flex-direction: column;
        min-width: 180px;
        border-radius: 10px;
        box-shadow: 0 6px 24px 0 rgba(24,119,242,0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s;
        z-index: 500;
        padding: 1.2rem 1rem;
    }
    .nav-links li {
        margin: 1.1rem 0;
        text-align: left;
    }
    .nav-links.nav-active {
        transform: translateY(0%);
        opacity: 1;
        pointer-events: all;
    }
    .burger {
        display: flex;
    }
}

/* Animate burger (optional) */
.burger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.burger.toggle span:nth-child(2) {
    opacity: 0;
}
.burger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Contact form styling (works with your previous button/input styles) */
.contact-form {
    margin: 2rem auto 0 auto;
    max-width: 410px;
    background: #f7fafd;
    padding: 1.4rem 1.4rem 1rem 1.4rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(24,119,242,0.05);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 7px;
    border: 1px solid #d0d7e6;
    background: #fff;
    font-size: 1rem;
    color: #232933;
    margin-bottom: 0.5rem;
    resize: none;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: #1877f2;
    outline: none;
}
.submit-button {
    background: #1877f2;
    color: #fff;
    font-size: 1.1rem;
    border: none;
    border-radius: 7px;
    padding: 0.7rem 0;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.2rem;
    transition: background .17s;
}
.submit-button:hover {
    background: #135ac1;
}
.form-success {
    margin-top: 1.1rem;
    background: #d1ffe7;
    color: #18804c;
    border-radius: 8px;
    padding: 1rem;
    font-weight: 500;
    text-align: center;
    font-size: 1.08rem;
    box-shadow: 0 2px 6px 0 rgba(24,119,242,0.07);
}
