@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

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

:root {
    --bg: #f6f4ef;
    --bg-soft: #fffcf6;
    --surface: #ffffff;
    --surface-alt: #f4efe3;
    --ink: #1d1b18;
    --ink-soft: #57514a;
    --line: rgba(84, 66, 39, 0.18);
    --brand: #76542b;
    --brand-strong: #5f421f;
    --brand-soft: #e9ddc9;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-lg: 0 24px 55px rgba(73, 50, 17, 0.14);
    --shadow-md: 0 12px 28px rgba(73, 50, 17, 0.1);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background:
        radial-gradient(circle at 2% 3%, #fff2d5 0, transparent 35%),
        radial-gradient(circle at 95% 10%, #ece5d7 0, transparent 30%),
        linear-gradient(180deg, #fbf9f3 0%, #f5f1e7 100%);
    min-height: 100vh;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(252, 249, 240, 0.9);
    border-bottom: 1px solid var(--line);
    height: 94px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    height: 100%;
    padding: 10px 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.brand-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(98, 70, 30, 0.22));
}

.brand-text {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.65rem;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--brand-strong);
    background: var(--brand-soft);
}

.nav-home-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.nav-link-image {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
}

.hero {
    padding: 78px 0 62px;
}

.hero .container {
    text-align: center;
    background: linear-gradient(160deg, #fffdfa, #f9f3e9);
    border: 1px solid rgba(118, 84, 43, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 66px 28px;
    animation: rise-in 0.55s ease both;
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 16px;
    color: #2d2317;
}

.hero p {
    font-size: clamp(1rem, 1.9vw, 1.24rem);
    color: var(--ink-soft);
    max-width: 760px;
    margin: 0 auto;
}

.apps,
.newsletter,
.social {
    padding: 62px 0;
}

.apps .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: 24px;
}

.app-card {
    background: linear-gradient(170deg, #fff, #fbf8f2 65%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.app-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

.app-cover {
    width: min(170px, 52%);
    aspect-ratio: 1 / 1;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    margin-bottom: 14px;
    box-shadow: none;
    filter: drop-shadow(0 8px 20px rgba(20, 33, 61, 0.22));
}

.app-card h2 {
    font-family: 'Fraunces', serif;
    color: #2f2313;
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.app-card p {
    color: var(--ink-soft);
    margin-bottom: 16px;
    max-width: 32ch;
}

.btn {
    display: inline-block;
    padding: 11px 18px;
    margin: 6px 8px 0 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: #0a84ff;
    box-shadow: 0 8px 16px rgba(10, 132, 255, 0.3);
}

.btn-primary:hover {
    transform: none;
    background: #0077ed;
    box-shadow: 0 10px 20px rgba(10, 132, 255, 0.36);
}

.btn-secondary {
    color: var(--brand-strong);
    border: 1px solid rgba(118, 84, 43, 0.45);
    background: rgba(255, 255, 255, 0.76);
}

.btn-secondary:hover {
    background: var(--brand-soft);
}

.store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    text-decoration: none;
    color: #fff;
    background: #0a84ff;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 16px rgba(10, 132, 255, 0.3);
}

.store-link:hover {
    background: #0077ed;
    box-shadow: 0 10px 20px rgba(10, 132, 255, 0.36);
}

.appstore-logo {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.section-title {
    text-align: center;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 26px;
    color: #2f2313;
}

.app-detail {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 30px;
}

.app-detail p {
    margin-bottom: 14px;
    color: var(--ink-soft);
    font-size: 1.03rem;
}

.app-detail ul {
    margin: 6px 0 16px 20px;
}

.app-detail li {
    margin-bottom: 8px;
    color: var(--ink);
}

.btn-large {
    font-size: 1.04rem;
    padding: 12px 22px;
}

.newsletter {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 252, 246, 0.95));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.newsletter .container,
.social .container {
    text-align: center;
}

.newsletter h2,
.social h2 {
    font-family: 'Fraunces', serif;
    color: #2f2313;
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.newsletter p {
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.newsletter iframe {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.social-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.social-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    padding: 20px 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.social-card:hover {
    transform: translateY(-3px);
}

.social-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
    border: 1px solid #dbe5f5;
    box-shadow: 0 6px 14px rgba(24, 39, 75, 0.12);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: #2f2313;
}

.social-card:nth-child(1) .social-icon svg {
    fill: #111111;
}

.social-card:nth-child(2) .social-icon svg {
    fill: #1877f2;
}

.social-card:nth-child(3) .social-icon svg {
    fill: #ff0000;
}

.social-card:nth-child(4) .social-icon svg {
    fill: #e1306c;
}

.social-card p {
    font-weight: 800;
    color: var(--brand-strong);
    margin-bottom: 10px;
}

.btn-follow {
    border: 1px solid rgba(118, 84, 43, 0.3);
    color: var(--brand-strong);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 700;
    cursor: pointer;
}

footer {
    margin-top: 28px;
    background: #241d13;
    color: #e9dcc4;
    text-align: center;
    padding: 24px 0;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .navbar {
        height: auto;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        height: auto;
    }

    .brand {
        height: 64px;
    }

    .nav-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero .container {
        padding: 44px 20px;
    }

    .apps,
    .newsletter,
    .social {
        padding: 44px 0;
    }

    .app-card,
    .app-detail {
        padding: 22px;
    }

    .app-card {
        aspect-ratio: auto;
        min-height: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
