* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A66B32;
    --secondary-color: #f5f8fa;
    --accent-color: #A66B32;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --light-bg: #F8F9FA;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    background-color: #A66B32;
    padding: 0.75rem 1rem;
    color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-icon img {
    height: 35px;
    width: auto;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
}

nav a:hover {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #f5f8fa 0%, #F0DDC2 100%);
    padding: 2rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 1.65rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.hero-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:active {
    background: #FF5440;
    transform: scale(0.98);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:active {
    background: var(--light-bg);
    transform: scale(0.98);
}

.hero-image {
    text-align: center;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 1.75rem 1rem;
    background-color: var(--light-bg);
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.65rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    text-align: center;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.feature-card {
    background: white;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:active {
    transform: scale(0.98);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 0.75rem;
}

.feature-icon .image-placeholder {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.85rem;
}

/* ========== DOWNLOAD SECTION ========== */
.download-cta {
    padding: 1.75rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.download-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

.download-cta-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.download-cta-text p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    opacity: 0.95;
    line-height: 1.5;
}

.btn-download {
    background: var(--accent-color);
    color: var(--text-light);
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    min-height: 44px;
}

.btn-download:active {
    background: #FFC81F;
    transform: scale(0.98);
}

.download-image {
    text-align: center;
}

.download-image .image-placeholder {
    width: 100%;
    height: 250px;
}

/* ========== SCREENSHOTS SECTION ========== */
.screenshots {
    padding: 1.75rem 1rem;
    background-color: white;
}

.screenshots-content {
    max-width: 1200px;
    margin: 0 auto;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.screenshot-card {
    text-align: center;
}

.screenshot-img {
    width: 100%;
    height: auto;
    margin-bottom: 0.6rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: contain;
    max-height: 350px;
}

.screenshot-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* ========== QR CODE SECTION ========== */
.qr-section {
    padding: 1.75rem 1rem;
    background-color: var(--light-bg);
    text-align: center;
}

.qr-content {
    max-width: 500px;
    margin: 0 auto;
}

.qr-code-box {
    background: white;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.25rem;
}

.qr-code-placeholder {
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.qr-instructions {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.qr-instructions p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ========== FOOTER ========== */
footer {
    background: var(--text-dark);
    color: white;
    padding: 1.5rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 0.6rem;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.footer-section p {
    color: #BDC3C7;
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-section a {
    color: #BDC3C7;
    text-decoration: none;
}

.footer-section a:active {
    color: white;
}

.footer-logo-container {
    text-align: center;
    margin-bottom: 0.75rem;
}

.footer-logo-placeholder {
    width: 90px;
    height: 45px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #34495E;
    color: #95A5A6;
    font-size: 0.75rem;
}

/* ========== TABLET OPTIMIZATION (600px and up) ========== */
@media (min-width: 600px) {
    .logo-text {
        font-size: 1.35rem;
    }

    .logo-icon img {
        height: 36px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-image .image-placeholder {
        height: 300px;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .screenshot-img {
        max-height: 400px;
    }
}

/* ========== TABLET OPTIMIZATION (768px and up) ========== */
@media (min-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .logo-text {
        font-size: 1.5rem;
        gap: 0.75rem;
    }

    .logo-icon img {
        height: 38px;
    }

    nav {
        gap: 0.75rem;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }

    .hero {
        padding: 2.5rem 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: left;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
        text-align: left;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
    }

    .hero-image .image-placeholder {
        height: 350px;
    }

    .features {
        padding: 2.5rem 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.75rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-icon .image-placeholder {
        width: 85px;
        height: 85px;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .download-cta {
        padding: 2.5rem 1.5rem;
    }

    .download-cta-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .download-cta-text h2 {
        font-size: 1.8rem;
    }

    .download-image .image-placeholder {
        height: 350px;
    }

    .screenshots {
        padding: 2.5rem 1.5rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.75rem;
        margin-top: 1.75rem;
    }

    .screenshot-img {
        max-height: 450px;
    }

    .qr-section {
        padding: 2.5rem 1.5rem;
    }

    .qr-code-placeholder {
        width: 190px;
        height: 190px;
    }

    footer {
        padding: 2.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.75rem;
    }

    .footer-logo-placeholder {
        width: 110px;
        height: 55px;
    }
}

/* ========== DESKTOP OPTIMIZATION (1024px and up) ========== */
@media (min-width: 1024px) {
    header {
        padding: 1.2rem 2rem;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .logo-icon img {
        height: 40px;
    }

    nav {
        gap: 1rem;
    }

    nav a {
        font-size: 0.95rem;
        padding: 0;
    }

    nav a:hover {
        background-color: transparent;
        opacity: 0.8;
    }

    .hero {
        padding: 3.5rem 2rem;
    }

    .hero-content {
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        gap: 1.25rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .hero-image {
        height: 500px;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        object-fit: cover;
    }

    .features {
        padding: 3.5rem 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .feature-icon .image-placeholder {
        width: 100px;
        height: 100px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .download-cta {
        padding: 3.5rem 2rem;
    }

    .download-cta-text h2 {
        font-size: 2.2rem;
    }

    .download-cta-text p {
        font-size: 1.1rem;
    }

    .btn-download {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .btn-download:hover {
        transform: translateY(-2px);
    }

    .download-image .image-placeholder {
        height: 400px;
    }

    .screenshots {
        padding: 3.5rem 2rem;
    }

    .screenshots-grid {
        gap: 2.5rem;
        margin-top: 2.5rem;
    }

    .screenshot-img {
        max-height: 550px;
    }

    .qr-section {
        padding: 3.5rem 2rem;
    }

    .qr-code-placeholder {
        width: 200px;
        height: 200px;
    }

    footer {
        padding: 3rem 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-logo-placeholder {
        width: 120px;
        height: 60px;
    }
    .phone-numbers {
        display: inline-block;
        margin-left: 6px; /* tweak if needed */
    }
}
