body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* shared content width */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* header */
header {
    height: 50px;
    background: #0A0A0C;
    color: white;
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: flex-start;
    /* align left */
    gap: 10px;
}

/* Logo + H3 link */
.logo-link{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:white;
}

.logo-link h3{
    margin:0;
    font-size:18px;
    font-weight:600;
}

.header-links {
    margin-left: auto;
    /* push to right */
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;

}

.header-links a:hover {
    text-decoration: underline;
}

/* container for the buttons */
.language-buttons{
  display:flex;
  gap:8px;
}

/* individual emoji buttons */
.lang-btn{
  background:#222;
  border:none;
  border-radius:6px;
  padding:0px 4px;
  cursor:pointer;
  font-size:16pt;
  color:white;
  transition: background 0.2s;
}

.lang-btn:hover{
  background:#333;
}

.appstore {
    margin-left: auto;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14pt;
}

.appstore svg {
    display: block;
}

/* sections */
.section {
    padding: 60px 0;
}

.section-content {
    display: flex;
    align-items: top;
    gap: 20px;
}

.section img {
    width: 40%;
    max-width: 300px;
}

.text {
    width: 60%;
}

.text h1 {
    font-size: 28pt;
}

.text p {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.bullet {
    display: inline-block;
    color: #2ab1ff;
    width: 20px;
}

/* alternating backgrounds */
.section:nth-of-type(odd) {
    background: #f5f5f5;
}

.section:nth-of-type(even) {
    background: #e9ecef;
}

/* reverse layout */
.reverse .section-content {
    flex-direction: row-reverse;
}

footer {
    background: #222;
    color: #ccc;
    padding: 30px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-right: 20px;
}

.footer-links a:hover {
    color: white;
}

copyright {
    color: #aaa;
}

@media (max-width:800px) {

    .section-content {
        flex-direction: column;
        text-align: center;
    }

    .reverse .section-content {
        flex-direction: column;
    }

    .section img,
    .text {
        width: 100%;
    }

}

/* mobile layout */
@media (max-width: 768px) {

    .section-content {
        flex-direction: column;
        text-align: center;
    }

    .section.reverse .section-content {
        flex-direction: column;
    }

    .section img {
        width: 100%;
        max-width: 350px;
    }

    .text {
        width: 100%;
    }

    /* center App Store button on mobile */
    .text .appstore-badge {
        margin-left: auto;
        margin-right: auto;
    }

    /* text first, image second */
    .section-content .text {
        order: 1;
    }

    .section-content img {
        order: 2;
        display: block;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }


}

/* App Store badge inside .text */
.text .appstore-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #000;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    text-decoration: none;
    margin-top: 20px;
    width: fit-content;
}

.text .appstore-badge svg {
    display: block;
    width: 35px;
    /* your desired size */
    height: 35px;
    flex-shrink: 0;
    /* prevent shrinking */
    margin-top: -6px;
    margin-left: -6px;
    /* small adjustment to align vertically */
}

.text .appstore-badge .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.text .appstore-badge small {
    font-size: 7pt;
    color: #ddd;
}

.text .appstore-badge strong {
    font-size: 14pt;
}

.text .appstore-badge:hover {
    background: #333;
}
