/* ==================== VARIABLES ==================== */
:root {
    --color-primary: #244b84;
    --color-secondary: #5098cb;
    --color-light: #f7f7f7;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;

    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition: all 0.3s ease;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==================== REUSABLE CLASSES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-primary);
}

.section__title--light {
    color: var(--color-white);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

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

.btn--secondary:hover {
    background-color: var(--color-light);
    transform: translateY(-2px);
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.nav__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--color-text);
    font-weight: 600;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--color-secondary);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
    margin-top: 70px;
    background-image: linear-gradient(rgba(36, 75, 132, 0.88), rgba(26, 58, 107, 0.92)), url('../wallpaper.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 80px 0;
    background-color: var(--color-light);
}

.about__intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about__lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 500;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.about__card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.about__card-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about__card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-white);
}

.about__card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about__card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* Stats */
.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    font-weight: 600;
}

/* ==================== SOLUTION SECTION ==================== */
.solution {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a6b 100%);
    color: var(--color-white);
}

.solution__header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.solution__description {
    font-size: 1.0625rem;
    opacity: 0.95;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Chart Styles */
.chart {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.chart__bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart__row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart__label {
    font-size: 0.875rem;
    font-weight: 600;
    width: 80px;
    text-align: right;
    flex-shrink: 0;
}

.chart__bar-container {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    height: 32px;
    overflow: hidden;
}

.chart__bar-fill {
    background-color: var(--color-secondary);
    height: 100%;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
    transition: width 0.7s ease;
    width: 0;
}

.chart__bar-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
    white-space: nowrap;
}

.chart__note {
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.7;
    margin-top: 0.75rem;
}

/* Solution Card */
.solution-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-card__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.solution-card__stat {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 1rem;
}

.solution-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.solution-card__text {
    font-size: 0.9375rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.btn--highlight {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-size: 1rem;
}

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

/* Icon Styles */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* ==================== DOWNLOAD SECTION ==================== */
.download {
    padding: 80px 0;
    background-color: var(--color-light);
}

.download__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.download__subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.download__list {
    margin-bottom: 2rem;
}

.download__list li {
    font-size: 1.0625rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.download__list li:last-child {
    border-bottom: none;
}

.download__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 8px;
    transition: var(--transition);
}

.store-button:hover {
    background-color: #1a3a6b;
    transform: translateY(-2px);
}

.store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.store-button__text {
    font-size: 0.75rem;
    opacity: 0.9;
}

.store-button__store {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Phone Mockup */
.download__mockup {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background-color: #333;
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background-color: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone-mockup__screen {
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-preview__header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 50px 20px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview__logo {
    height: 35px;
    width: auto;
    display: block;
}

.app-preview__content {
    flex: 1;
    padding: 20px;
    background-color: var(--color-light);
}

.app-preview__search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.app-preview__search input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.875rem;
}

.app-preview__search button {
    padding: 12px 16px;
    background-color: var(--color-secondary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview__search button svg {
    stroke: var(--color-white);
}

.app-preview__results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-card {
    height: 80px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.footer__logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.footer__tagline {
    opacity: 0.9;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__list a {
    opacity: 0.9;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer__list a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    font-size: 0.875rem;
}

/* ==================== RESPONSIVE ==================== */

/* Tablets */
@media screen and (min-width: 768px) {
    .hero__title {
        font-size: 3rem;
    }

    .section__title {
        font-size: 2.5rem;
    }

    .about__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .solution-card {
        padding: 3.5rem 3rem;
    }

    .solution-card__stat {
        font-size: 4rem;
    }

    .download__content {
        grid-template-columns: 1fr 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
    }

    .store-button {
        max-width: 300px;
    }
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .hero {
        padding: 120px 0;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .about,
    .solution,
    .download {
        padding: 100px 0;
    }
}

/* Mobile Menu */
@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 2rem;
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero__title {
        font-size: 2rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .chart__row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .chart__label {
        width: 100%;
        text-align: left;
    }

    .solution-card {
        padding: 2rem 1.5rem;
    }

    .solution-card__stat {
        font-size: 3rem;
    }
}

/* Very Small Devices */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}
