/* Reset & base */
* {
    box-sizing: border-box;
}

/* Top white header bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 0;
    z-index: 100;
}

.story-section .hero-title {
    font-family: 'georgia', serif;
    transform: scaleY(1.1);
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1.2;
    font-weight: 900;
}

.story-section p {
    font-size: 1rem;
    font-family: 'georgia', serif;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Remove default bullets and spacing */
.story-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style each list item like a quote block */
.story-section ul li {
    position: relative;
    padding-left: 1rem;
    margin-top: 1rem;
    /* top spacing */
    margin-bottom: 1rem;
    border-left: 3px solid #6c8a8e;
    /* change color to match your site */
    font-family: 'Georgia', serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* Add a softer <hr> style */
.story-section hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
    margin: 1.5rem 0;
}


/* Left side (icon) */
.header-left {
    display: flex;
    align-items: center;
}

.app-icon {
    height: 100px;
    width: auto;
    box-shadow: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .app-icon {
        height: 70px;
        /* smaller height on mobile */
    }
}

/* Desktop nav - hidden on mobile */
.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    margin-left: 30px;
}

.desktop-nav li a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
}

/* Hamburger menu */
.hamburger {
    display: none;
    /* hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: black;
    border-radius: 2px;
}

/* Show hamburger only on smaller screens */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}


/* Mobile menu hidden by default */
.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    /* adjust depending on your header height */
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 200;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.mobile-menu li {
    padding: 10px 20px;
}

.mobile-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.mobile-menu li a:hover {
    color: #ffcc00;
    /* optional hover color */
}

/* Responsive breakpoints */
@media (min-width: 768px) {

    .hamburger,
    .mobile-menu {
        display: none;
    }

    .desktop-nav {
        display: block;
    }

    /* Shift logo to align with screenshots section
    .app-icon {
        margin-left: 60px; /* adjust based on screenshots section padding */

    /* Align logo with screenshots section */
    .top-bar {
        max-width: 1100px;
        /* same as screenshots section */
        margin: 0 auto;
        /* center the header */
        padding: 10px 0;
        /* optional: smaller padding since container is centered */
    }

    .app-icon {
        margin-left: 60px;
        /* adjust this value as needed */
        height: 100px;
    }
}

/* Hero section (below header) */
.hero {
    padding: 20px 20px;
    text-align: center;
}

.hero h1 {
    font-family: 'georgia', serif;
    transform: scaleY(1.1);
    /* 1 = normal, >1 = taller */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


@media (max-width: 600px) {
    .download-buttons img {
        height: 80px;
        width: auto;
        border-radius: 10;
        box-shadow: none;
    }

    .download-buttons a {
        min-width: 140px;
        padding: 10px 10px;
        flex: 1 1 auto;
    }
}

.download-buttons img {
    height: 60px;
    border-radius: 0;
    box-shadow: none;
}

/* Download buttons */
.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

.download-buttons a {
    /* background: #fff; */
    color: #fff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: none;
    transition: transform 0.15s ease;
    font-size: 1rem;
    min-width: 180px;
}

.download-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: relative;
    /* needed for absolute positioning inside */
}



header h1 {
    font-size: 3rem;
    margin-bottom: 12px;
    font-weight: 900;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.screenshots-section {
    background: #f4f4f4;
    padding: 40px 20px;
    border-radius: 12px;
    max-width: 1100px;
    margin: 40px auto;
}

/* Base: 1-column mobile/narrow order */
.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    grid-template-areas:
        "s1"
        "s2"
        "t1"
        "s3"
        "s4"
        "t2";
}

/* Name areas once, apply at all sizes */
#s1 {
    grid-area: s1;
}

#s2 {
    grid-area: s2;
}

#s3 {
    grid-area: s3;
}

#s4 {
    grid-area: s4;
}

#t1 {
    grid-area: t1;
}

#t2 {
    grid-area: t2;
}

/* Desktop/wide: 3 equal columns with alternating rows */
@media (min-width: 900px) {
    .screenshots-grid {
        grid-template-columns: repeat(3, minmax(260px, 1fr));
        grid-template-areas:
            "s1 s2 t1"
            "t2 s3 s4";
    }
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.text-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background: #000;
    border-radius: 8px;
    text-align: left;
}

.text-item h3 {
    text-align: center;
    color: #ffcc00;
}

.daily-question {
    font-family: 'georgia', serif;
    transform: scaleY(1.1);
    /* 1 = normal, >1 = taller */
    font-size: 0.90rem;
    line-height: 1.7;
    margin: 20px 0;
    padding-left: 10px;
    border-left: 3px solid #c9a66b;
    /* subtle decorative accent */
    color: #444;
}

.text-item p {
    color: #ddd;
}

.text-item ul {
    color: #ddd;

}

.text-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Sections */
.info-section {
    padding: 30px 24px;
    max-width: 900px;
    margin: 20px auto 0 auto;
    text-align: center;
}

.info-section h2 {
    font-family: 'georgia', serif;
    transform: scaleY(1.1);
    /* 1 = normal, >1 = taller */

    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #334422;
    font-weight: 800;
}

.info-section p {
    font-size: 1.05rem;
    text-align: left;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 0.8em;
    line-height: 1.5;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.info-container {
    margin-bottom: 100px;
    /* extra space after the last section */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    header h1 {
        font-size: 2.3rem;
    }

    .download-buttons a {
        flex: 1 1 auto;
        /* allow buttons to shrink */
        min-width: 120px;
        /* optional minimum width */
        padding: 15px 15px;
        gap: 2px;

    }

    section h2 {
        font-size: 1.75rem;
    }

    section p {
        font-size: 1rem;
    }
}

.site-footer {
    background-color: #f5f5f5;
    /* light gray background */
    text-align: center;
    padding: 20px;
    font-family: 'georgia', serif;
    font-size: 14px;
    color: #333;
}

.site-footer a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
}

.site-footer a:hover {
    text-decoration: underline;
}

.card {
    background-color: #ffff;
    /* soft white for readability */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 20px 40px 20px;
    /* top right bottom left */
    margin: 0 auto 60px auto;
    /* top 0, horizontal auto, bottom 60px */

    transition: transform 0.3s, box-shadow 0.3s;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .card {
        margin-left: 40px;
        margin-right: 40px;
        /* optional: reduce padding if needed */
        padding: 20px 20px 40px 20px;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 24px;
    color: #333;
}

.faq h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #334422;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'georgia', serif;
    transform: scaleY(1.1);
    /* 1 = normal, >1 = taller */

}

.faq p {}

.faq-item {
    background-color: #fff;
    /* soft warm card feel */
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    border: solid black;
    border-width: 0 2px 2px 0;
    padding: 4px;
    /* size of the arrow */
    display: inline-block;
    transform-origin: center;
    transition: transform 0.3s ease;
    /* Create the arrow shape */
    transform: translateY(-50%) rotate(45deg);
}

.faq-item.open .faq-question::after {
    transform: translateY(-50%) rotate(-135deg);
    /* flips it down to up */
}

.faq-answer {
    max-height: 0px;
    height: auto;
    overflow: hidden;
    padding: 0 24px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 800px;
    /* enough for most answers */
    padding: 0px 10px 20px 24px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer li {
    font-size: 15px;
    /* or whatever size matches your design */
    line-height: 1.5;
}

.blog-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 2.5rem;
}


.blog-header h1 {
    font-family: 'georgia', serif;
    transform: scaleY(1.1);
    /* 1 = normal, >1 = taller */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1.2;
    font-weight: 900;
}


.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* fixed 3 columns for large screens */
    gap: 2rem;
}

@media (max-width: 900px) {
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for medium screens */
    }
}

@media (max-width: 600px) {
    .blog-list {
        grid-template-columns: 1fr;
        /* 1 column for mobile */
    }
}

.blog-post {
    background: #fffefb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0.7, 0.8);
    display: flex;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-direction: column;
}


.blog-post:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}


.blog-post img {
    width: 100%;
    height: 200px;
    filter: grayscale(70%);
    object-fit: cover;
}

.blog-post-content {
    font-family: 'georgia', serif;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-content h2 {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 0.2rem;
}

.blog-post-content .date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.2rem 0;
}

.blog-post-content p {
    flex: 1;
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.5;
    display: -webkit-box;
    /* Required for line-clamp */
    -webkit-line-clamp: 7;
    /* Maximum number of lines */
    -webkit-box-orient: vertical;
    /* Required for line-clamp */
    overflow: hidden;
    /* Hide the rest */
    text-overflow: ellipsis;
    /* Add ... when cut off */
}

.contact-container {
    max-width: 600px;
    margin: 0 auto 3rem auto; /* top 0, right auto, bottom 3rem, left auto */
    padding: 2rem;
    background: #fffefc;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    font-family: 'Georgia', serif;
    color: #333;
    text-align: center;
}

/* .contact-container h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
    color: #334422;
} */
.contact-container h1 {
    font-family: 'georgia', serif;
    transform: scaleY(1.1);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 900;
    /* margin-bottom: 12px; */
}

.contact-container p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #555;
}

.contact-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.contact-container input,
.contact-container textarea {
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    background-color: #fffefc;
    font-family: 'Georgia', serif;
    color: #333;
}

.contact-container input:focus,
.contact-container textarea:focus {
    outline: none;
    border-color: #c9a66b;
    box-shadow: 0 0 10px rgba(201, 166, 107, 0.3);
}

.contact-container button {
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    background-color: #c9a66b;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    color: #fff;
}

.contact-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 166, 107, 0.4);
}

.support-app-links {
    margin-top: 5.5rem;
}
